Skip to content

Commit

Permalink
fix delegation test
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Simmons <[email protected]>
  • Loading branch information
crsimmons committed Sep 6, 2019
1 parent 77b04eb commit a615978
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions ci/tasks/system-test-zone-delegation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@ setDeploymentName del
# Create empty array of args that is used in sourced setup functions
args=()
# shellcheck disable=SC1091
source control-tower/ci/tasks/lib/assert-iaas.sh

# shellcheck disable=SC1091
[ "$IAAS" = "AWS" ] && { source control-tower/ci/tasks/lib/destroy.sh; }

source control-tower/ci/tasks/lib/letsencrypt.sh
# shellcheck disable=SC1091
[ "$IAAS" = "GCP" ] && { source control-tower/ci/tasks/lib/gcp-destroy.sh; }
source control-tower/ci/tasks/lib/assert-iaas.sh

cp "$BINARY_PATH" ./cup
chmod +x ./cup
Expand All @@ -41,8 +37,7 @@ sleep 60
assertConcoursePresent
assertGrafanaPresent

recordDeployedState
echo "Tests passed"

echo "non-interactive destroy"
./cup --non-interactive destroy "$deployment" -iaas "$IAAS"
sleep 180
assertEverythingDeleted

0 comments on commit a615978

Please sign in to comment.