Skip to content

Commit 3f88e54

Browse files
committed
Make the cluster names unique per run
1 parent 1114b6f commit 3f88e54

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ on:
2121

2222
env:
2323
# Names must be unique in parallel running tests.
24-
TPU_CLUSTER_NAME: build-xpk-2-v4-8-nodepools
24+
TPU_CLUSTER_NAME: build-xpk-2-v4-8-nodepools-${{ github.run_attempt }}
2525
WORKLOAD_NAME: xpktest-build-${{ github.run_attempt }}
2626
PATHWAYS_WORKLOAD_NAME: xpkpw-build-${{ github.run_attempt }}
2727

2828
jobs:
2929
tpu-cluster-workload-workflow:
3030
runs-on: [ubuntu-20.04]
31-
concurrency: # We support one build or nightly test to run at a time currently.
31+
concurrency: # We support one build test to run at a time currently.
3232
group: build-test-cluster-group
3333
cancel-in-progress: false
3434
steps:

.github/workflows/nightly_tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ on:
2121

2222
env:
2323
# Names must be unique in parallel running tests.
24-
EMPTY_CLUSTER_NAME: nightly-xpk-zero-nodepools
25-
TPU_CLUSTER_NAME: nightly-xpk-2-v4-8-nodepools
26-
PATHWAYS_TPU_CLUSTER_NAME: pw-nightly-test-2-v4-8-nodepools
24+
EMPTY_CLUSTER_NAME: nightly-xpk-zero-nodepools-${{ github.run_attempt }}
25+
TPU_CLUSTER_NAME: nightly-xpk-2-v4-8-nodepools-${{ github.run_attempt }}
26+
PATHWAYS_TPU_CLUSTER_NAME: pw-nightly-test-2-v4-8-nodepools-${{ github.run_attempt }}
2727
AUTOPROVISION_CLUSTER_NAME: autoprovision-nightly-test
2828
WORKLOAD_NAME: xpktest-nightly-${{ github.run_attempt }}
2929
PATHWAYS_WORKLOAD_NAME: xpkpw-nightly-${{ github.run_attempt }}

0 commit comments

Comments
 (0)