inspec/.expeditor/purge-cdn.sh
Seth Chisamore 7be16359f2
Automatically publish release notes and announce releases
This change updates InSpec begin using the streamlined release notes
process we are already using on Automate and Chef Workstation. More
details on this new process can be found on the following epic:
https://github.com/chef/release-engineering/issues/692

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-07-17 17:57:59 -04:00

6 lines
297 B
Bash
Executable file

#!/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"