Do not try to deploy to fastly-staging in deploy-webapp.groovy. #234
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
That's too late! This script doesn't get run until after you say
sun: set default
. The whole point of the staging environment is tobe available before you say
sun: set default
, when you're doingthe manual testing.
Sadly, doing this in build-webapp.groovy isn't right either, since
many of those get run in parallel, and there's only one fastly-staging
service. If we really wanted to cram this logic in, we'd have to do
it in buildmaster, before showing the "time to set default" message to
the user. But that's a really awkward place to put it.
We'll have to think more about what the right thing to do here. The
whole fastly-staging thing isn't as useful as it might be, since it
doesn't work for first smoke tests, znd's, or any number of other
things we might want it to. Perhaps fixing that problem will make it
obvious where this logic should move to (probably
build-webapp.groovy).
Issue: none
Test plan:
Noticing https://jenkins.khanacademy.org/job/deploy/job/deploy-webapp/20552/console