There was an error while loading. Please reload this page.
2 parents 2d7dab0 + d0d926e commit 33998ecCopy full SHA for 33998ec
1 file changed
test/scripts/run_playbook.sh
@@ -51,7 +51,7 @@ CONTAINER_EXIT_CODE=$(docker inspect "$CONTAINER_NAME" --format='{{.State.ExitCo
51
if [ "$CONTAINER_EXIT_CODE" -ne 0 ]; then
52
LOG_DUMP=$(mktemp -d)
53
docker cp "$CONTAINER_NAME:/tmp/setup" "$LOG_DUMP"
54
- gsutil -m cp -r "$LOG_DUMP" "gs://$TF_BACKEND_BUCKET/ansible_run_log/$GIT_COMMIT_SHORT_ID"
+ gcloud storage cp --recursive "$LOG_DUMP" "gs://$TF_BACKEND_BUCKET/ansible_run_log/$GIT_COMMIT_SHORT_ID"
55
exit 1
56
fi
57
docker rm "$CONTAINER_NAME" || exit 0
0 commit comments