Skip to content

Commit

Permalink
update complex flow
Browse files Browse the repository at this point in the history
  • Loading branch information
jyang-broad committed Jun 24, 2024
1 parent 24575d4 commit 930982a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion automation/complex-prod-workflow-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,17 @@ else
echo "Starting complex workflow test in Production"
fi

JSON_CREDS=$(gcloud secrets versions access latest --project broad-dsde-dev --secret firecloud-sa | jq .)

DOCKER_ARGS=(
"run"
"--rm"
"-v ${HOME}/.config/gcloud:/root/.config/gcloud"
"google/cloud-sdk"
)

SECRET_ACCESS_ACCOUNT=jenkins-firecloud@broad-dsp-techops.iam.gserviceaccount.com
# Expand the array of args and pass them to `docker`
JSON_CREDS=$(docker ${DOCKER_ARGS[*]} /bin/bash -c "gcloud config set account ${SECRET_ACCESS_ACCOUNT} && gcloud secrets versions access latest --project broad-dsde-dev --secret firecloud-sa")

users=(
dumbledore.admin@test.firecloud.org
Expand Down

0 comments on commit 930982a

Please sign in to comment.