Reputation: 58
I'm trying to have Travis-CI upload my GAE app to GAE after the tests succeed. I've figured that I have to:
before_script
.after-script
, run appcfg.py update
.According to GAE's documentation (https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Uploading_the_App), though, it says that you cannot enter the password as a command-line option.
Is there a way I can configure Travis-CI to enter my password when prompted for it by appcfg.py
? I am aware of Travis-CI's ability to store and pass secure environment variables (http://about.travis-ci.org/docs/user/build-configuration/#Secure-environment-variables)
Thank you!
Upvotes: 1
Views: 527
Reputation: 31928
Instad of using user/password use the OAuth option and provide a token in your travis script.
Upvotes: 1