Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ci/cloudbuild/builds/managed-workload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export CXX=clang++

PROJECT_ID="${GOOGLE_CLOUD_PROJECT:-cloud-cpp-testing-resources}"
REGION="${GOOGLE_CLOUD_CPP_TEST_REGION:-us-central1}"
NETWORK="${GOOGLE_CLOUD_CPP_TEST_NETWORK:-directpath-net-ipv6}"
SUBNET="${GOOGLE_CLOUD_CPP_TEST_SUBNET:-directpath-subnet-ipv6}"
# integration-tests-config.sh exports GOOGLE_CLOUD_CPP_STORAGE_TEST_BUCKET_NAME (without UBLA).
# Agent Identity bearer tokens require Uniform Bucket-Level Access (UBLA).
BUCKET_NAME="cloud-cpp-wif-test-bucket"
Expand Down Expand Up @@ -105,6 +107,9 @@ gcloud alpha run jobs create "${JOB_NAME}" \
--functional-type=agent \
--identity-type=agent-identity \
--identity-certificate \
--network="${NETWORK}" \
--subnet="${SUBNET}" \
--vpc-egress=all-traffic \
--set-env-vars="GOOGLE_CLOUD_PROJECT=${PROJECT_ID},GOOGLE_CLOUD_CPP_STORAGE_TEST_BUCKET_NAME=${BUCKET_NAME}" \
--max-retries=0 \
--task-timeout=5m \
Expand Down
Loading