Skip to content

Commit 733b9ba

Browse files
committed
Actions: use a secondary cache bucket for mixed versions tests.
To hopefully reduce the amount of write limiting seen in ci.
1 parent 34d3f94 commit 733b9ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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

0 commit comments

Comments
 (0)