Skip to content
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

Purge CDN on channel promote #7134

Merged
merged 1 commit into from Nov 4, 2019
Merged

Purge CDN on channel promote #7134

merged 1 commit into from Nov 4, 2019

Conversation

@smacfarlane
Copy link
Contributor

smacfarlane commented Oct 31, 2019

When we promote to a channel, we need to purge the fastly cache to ensure that clients pull the correct version.

Since the mechanism for promote-to-dev is slightly different from other channels, the method for invocation of purge-cdn.sh is also slightly different and it relies on a default value for the channel.

Signed-off-by: Scott Macfarlane smacfarlane@chef.io

@mwrock
mwrock approved these changes Oct 31, 2019
Copy link
Contributor

christophermaier left a comment

Looks OK, though I'm not an expert. I would defer to @scotthain

Signed-off-by: Scott Macfarlane <smacfarlane@chef.io>
@smacfarlane smacfarlane force-pushed the sm/purge-cdn-on-promote branch from 2b564b7 to e2e0718 Nov 4, 2019
@smacfarlane smacfarlane merged commit 5d9f93e into master Nov 4, 2019
5 checks passed
5 checks passed
DCO This commit has a DCO Signed-off-by
Details
buildkite/habitat-sh-habitat-master-verify Build #4094 passed (45 minutes, 16 seconds)
Details
buildkite/habitat-sh-habitat-master-website Build #1173 passed (42 seconds)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
expeditor/config-validation Validated your Expeditor config file
Details
@chef-expeditor chef-expeditor bot deleted the sm/purge-cdn-on-promote branch Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.