Skip to content

Commit 4586236

Browse files
Merge pull request #11562 from rabbitmq/actions-extra-bucket
Actions: use a secondary cache bucket for mixed versions tests.
2 parents 34d3f94 + ef7de9c commit 4586236

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/templates/test-mixed-versions.template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ jobs:
106106
if: env.exists != 'true'
107107
working-directory: secondary-umbrella
108108
run: |
109-
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME }}" ]; then
109+
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}" ]; then
110110
cat << EOF >> user.bazelrc
111-
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME }}
111+
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}
112112
build --google_default_credentials
113113
114114
build --remote_download_toplevel

.github/workflows/test-mixed-versions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ jobs:
8484
if: env.exists != 'true'
8585
working-directory: secondary-umbrella
8686
run: |
87-
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME }}" ]; then
87+
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}" ]; then
8888
cat << EOF >> user.bazelrc
89-
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME }}
89+
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}
9090
build --google_default_credentials
9191
9292
build --remote_download_toplevel

.github/workflows/test-plugin-mixed.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
default: 1
1616
type: number
1717
secrets:
18-
REMOTE_CACHE_BUCKET_NAME:
18+
REMOTE_CACHE_BUCKET_NAME_MIXED:
1919
required: true
2020
REMOTE_CACHE_CREDENTIALS_JSON:
2121
required: true
@@ -56,9 +56,9 @@ jobs:
5656
credentials_json: ${{ secrets.REMOTE_CACHE_CREDENTIALS_JSON }}
5757
- name: CONFIGURE BAZEL
5858
run: |
59-
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME }}" ]; then
59+
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}" ]; then
6060
cat << EOF >> user.bazelrc
61-
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME }}
61+
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}
6262
build --google_default_credentials
6363
6464
build --experimental_guard_against_concurrent_changes

0 commit comments

Comments
 (0)