Actions: use a secondary cache bucket for mixed versions tests.
To hopefully reduce the amount of write limiting seen in ci.
This commit is contained in:
parent
34d3f94374
commit
ef7de9cbcc
|
@ -106,9 +106,9 @@ jobs:
|
||||||
if: env.exists != 'true'
|
if: env.exists != 'true'
|
||||||
working-directory: secondary-umbrella
|
working-directory: secondary-umbrella
|
||||||
run: |
|
run: |
|
||||||
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME }}" ]; then
|
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}" ]; then
|
||||||
cat << EOF >> user.bazelrc
|
cat << EOF >> user.bazelrc
|
||||||
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME }}
|
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}
|
||||||
build --google_default_credentials
|
build --google_default_credentials
|
||||||
|
|
||||||
build --remote_download_toplevel
|
build --remote_download_toplevel
|
||||||
|
|
|
@ -84,9 +84,9 @@ jobs:
|
||||||
if: env.exists != 'true'
|
if: env.exists != 'true'
|
||||||
working-directory: secondary-umbrella
|
working-directory: secondary-umbrella
|
||||||
run: |
|
run: |
|
||||||
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME }}" ]; then
|
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}" ]; then
|
||||||
cat << EOF >> user.bazelrc
|
cat << EOF >> user.bazelrc
|
||||||
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME }}
|
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}
|
||||||
build --google_default_credentials
|
build --google_default_credentials
|
||||||
|
|
||||||
build --remote_download_toplevel
|
build --remote_download_toplevel
|
||||||
|
|
|
@ -15,7 +15,7 @@ on:
|
||||||
default: 1
|
default: 1
|
||||||
type: number
|
type: number
|
||||||
secrets:
|
secrets:
|
||||||
REMOTE_CACHE_BUCKET_NAME:
|
REMOTE_CACHE_BUCKET_NAME_MIXED:
|
||||||
required: true
|
required: true
|
||||||
REMOTE_CACHE_CREDENTIALS_JSON:
|
REMOTE_CACHE_CREDENTIALS_JSON:
|
||||||
required: true
|
required: true
|
||||||
|
@ -56,9 +56,9 @@ jobs:
|
||||||
credentials_json: ${{ secrets.REMOTE_CACHE_CREDENTIALS_JSON }}
|
credentials_json: ${{ secrets.REMOTE_CACHE_CREDENTIALS_JSON }}
|
||||||
- name: CONFIGURE BAZEL
|
- name: CONFIGURE BAZEL
|
||||||
run: |
|
run: |
|
||||||
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME }}" ]; then
|
if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}" ]; then
|
||||||
cat << EOF >> user.bazelrc
|
cat << EOF >> user.bazelrc
|
||||||
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME }}
|
build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME_MIXED }}
|
||||||
build --google_default_credentials
|
build --google_default_credentials
|
||||||
|
|
||||||
build --experimental_guard_against_concurrent_changes
|
build --experimental_guard_against_concurrent_changes
|
||||||
|
|
Loading…
Reference in New Issue