Try to finish pipeline for 4.22.8 and update cdn purge step

Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
This commit is contained in:
Nick Schwaderer 2020-08-05 15:11:44 +01:00
parent 024a838a07
commit f0f7bb9937
2 changed files with 9 additions and 15 deletions

View file

@ -157,15 +157,15 @@ subscriptions:
- built_in:promote_habitat_packages
- workload: artifact_published:stable:inspec:{{version_constraint}}
actions:
- bash:.expeditor/update_dockerfile.sh
- built_in:rollover_changelog
- built_in:publish_rubygems
- built_in:create_github_release
# - built_in:tag_docker_image No longer exists
- built_in:promote_habitat_packages
- bash:.expeditor/publish-release-notes.sh:
post_commit: true
- bash:.expeditor/purge-cdn.sh:
# - bash:.expeditor/update_dockerfile.sh
# - built_in:rollover_changelog
# - built_in:publish_rubygems
# - built_in:create_github_release
# # - built_in:tag_docker_image No longer exists
# - built_in:promote_habitat_packages
# - bash:.expeditor/publish-release-notes.sh:
# post_commit: true
- purge_packages_chef_io_fastly:{{target_channel}}/inspec/latest
post_commit: true
- bash:.expeditor/announce-release.sh:
post_commit: true

View file

@ -1,6 +0,0 @@
#!/bin/bash
set -eou pipefail
echo "Purging '${EXPEDITOR_CHANNEL}/${EXPEDITOR_PRODUCT_KEY}/latest' Surrogate Key group from Fastly"
curl -X POST -H "Fastly-Key: $FASTLY_API_TOKEN" "https://api.fastly.com/service/1ga2Kt6KclvVvCeUYJ3MRp/purge/${EXPEDITOR_CHANNEL}/${EXPEDITOR_PRODUCT_KEY}/latest"