deploy web application to google app engine on tra

2019-07-01 11:53发布

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?

1条回答
贪生不怕死
2楼-- · 2019-07-01 12:35

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.

查看更多
登录 后发表回答