找到你要的答案

Q:deploy web application to google app engine on travis-ci - travis is asking for a password

Q:在特拉维斯CI上部署Web应用程序到谷歌应用程序引擎-特拉维斯要求密码

I´m trying to deploy a web application to google app engine after successful build(I´m using maven on my project) and travis-ci is asking for my password. How can I input my password or specify somewhere else?

我´正在部署一个Web应用,谷歌应用程序引擎编译成功后(我´M使用Maven在我项目)和特拉维斯词是问我密码。我如何输入密码或指定其他地方?

answer1: 回答1:

Based on the limited information you are giving us, I am guessing this is happening during the gcloud preview app deploy call.

Typically the docker TLS Verification will need a local public key for a Cert and this requires a passcode response. This situation can be avoided by providing the cert using the travis encrypt-file api and calling gcloud auth activate-service-account during the build. see gloud cli here

Please see the travis yml here for a full example As always, post questions either here or github for additional walk-through questions.

基于有限的信息,你们所给予我们的,我猜这是预览应用程序部署调用发生在Gcloud。

通常,Docker TLS验证需要一个证书,这就需要一个密码响应当地的公共密钥。这种情况可以通过使用特拉维斯加密文件API调用GCloud奥特在生成激活服务帐户提供的证书无效。看到这里gloud CLI

Please see the travis yml here for a full example As always, post questions either here or github for additional walk-through questions.

google-app-engine  travis-ci