-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check for more preconditions before deploying #4606
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -533,6 +533,9 @@ def execute(args): | |||
_enforce_tests_pass() | |||
_enforce_safe_day_to_deploy() | |||
|
|||
# Needed for some subsequent steps. | |||
common.execute('gcloud auth application-default login') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm...We don't use the gcb deploy so much but I'm not sure this works there. Also does it force me to login each deploy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would force you to log in on each deploy, yes. That was required to deploy to appengine when I tried - the culprit was python butler.py run setup
on line 438.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave this out please. It might save you some time but it will break out GCB deploy and make things more annoying for me to deploy (particularly because I SSH into the machine I deploy from).
Specifically:
kubectl
andterraform
are in thePATH