fix test deploy files

This commit is contained in:
Robert Brennan
2020-03-06 16:46:54 +00:00
parent 2a0ed94d0d
commit 33d4192871
2 changed files with 4 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
sed -ri "s|'(quay.io/fairwinds/polaris:).+'|'\1${CIRCLE_SHA1}'|" ./deploy/dashboard.yaml
# TODO: remove this after 1.0 is released
sed -i "s/--dashboard/dashboard/" ./deploy/dashboard.yaml
function check_dashboard_is_ready() {

View File

@@ -3,6 +3,8 @@ set -e
#sed is replacing the polaris version with this commit sha so we are testing exactly this verison.
sed -ri "s|'(quay.io/fairwinds/polaris:).+'|'\1${CIRCLE_SHA1}'|" ./deploy/webhook.yaml
# TODO: remove this after 1.0 is released
sed -i "s/--webhook/webhook/" ./deploy/webhook.yaml
# Testing to ensure that the webhook starts up, allows a correct deployment to pass,
# and prevents a incorrectly formatted deployment.