Skip to content

Commit

Permalink
add fc- prefix to bucket ID returned by check_terra_env
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Dec 13, 2024
1 parent 998b6b5 commit 3b8062b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
- created

concurrency:
# Group jobs by the branch or tag ref to ensure only one job runs for a ref at a time
# Group jobs by the branch or tag ref to ensure only one job runs for a ref at a time.
# for pull requests, github.ref is the branch being merged into
# for pushes, github.ref is the name of the branch to which the commit/push was made
group: ${{ github.ref }}
# Cancel any in-progress jobs for the same group
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion pipes/WDL/tasks/tasks_terra.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ task check_terra_env {
WORKSPACE_NAME="$(jq -cr '.workspace.name | select (.!=null)' workspace_info.json | tee workspace_name.txt)"
WORKSPACE_NAME_URL_ENCODED="$(jq -rn --arg x "${WORKSPACE_NAME}" '$x|@uri')"
WORKSPACE_NAMESPACE="$(jq -cr '.workspace.namespace | select (.!=null)' workspace_info.json | tee workspace_namespace.txt)"
WORKSPACE_BUCKET="$(echo "gs://${WORKSPACE_ID}" | tee workspace_bucket_path.txt)"
WORKSPACE_BUCKET="$(echo "gs://fc-${WORKSPACE_ID}" | tee workspace_bucket_path.txt)"

echo "WORKSPACE_NAME: ${WORKSPACE_NAME}"
echo "WORKSPACE_NAMESPACE: ${WORKSPACE_NAMESPACE}"
Expand Down

0 comments on commit 3b8062b

Please sign in to comment.