Skip to content

Commit d960676

Browse files
authored
Disable bazel remote cache on self-hosted runners (#12145)
* Disable bazel cache on self-hosted runners * revert to using 6 shards for gui checks * cargo fmt * remove wasm-pack action from most jobs
1 parent 79da040 commit d960676

16 files changed

+17
-468
lines changed

.github/workflows/changelog.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,7 @@ jobs:
2323
- name: Setup bazel environment
2424
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
2525
with:
26-
bazelisk-cache: true
27-
disk-cache: true
2826
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
29-
repository-cache: true
30-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
31-
name: Installing wasm-pack
32-
uses: jetli/[email protected]
33-
with:
34-
version: v0.12.1
3527
- name: Expose Artifact API and context information.
3628
uses: actions/github-script@v7
3729
with:

.github/workflows/engine-benchmark.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,7 @@ jobs:
2525
- name: Setup bazel environment
2626
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
2727
with:
28-
bazelisk-cache: true
29-
disk-cache: true
3028
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
31-
repository-cache: true
32-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
33-
name: Installing wasm-pack
34-
uses: jetli/[email protected]
35-
with:
36-
version: v0.12.1
3729
- name: Expose Artifact API and context information.
3830
uses: actions/github-script@v7
3931
with:

.github/workflows/engine-checks-nightly.yml

Lines changed: 0 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,7 @@ jobs:
2626
- name: Setup bazel environment
2727
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
2828
with:
29-
bazelisk-cache: true
30-
disk-cache: true
3129
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
32-
repository-cache: true
33-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
34-
name: Installing wasm-pack
35-
uses: jetli/[email protected]
36-
with:
37-
version: v0.12.1
3830
- name: Expose Artifact API and context information.
3931
uses: actions/github-script@v7
4032
with:
@@ -83,15 +75,7 @@ jobs:
8375
- name: Setup bazel environment
8476
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
8577
with:
86-
bazelisk-cache: true
87-
disk-cache: true
8878
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
89-
repository-cache: true
90-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
91-
name: Installing wasm-pack
92-
uses: jetli/[email protected]
93-
with:
94-
version: v0.12.1
9579
- name: Expose Artifact API and context information.
9680
uses: actions/github-script@v7
9781
with:
@@ -138,15 +122,7 @@ jobs:
138122
- name: Setup bazel environment
139123
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
140124
with:
141-
bazelisk-cache: true
142-
disk-cache: true
143125
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
144-
repository-cache: true
145-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
146-
name: Installing wasm-pack
147-
uses: jetli/[email protected]
148-
with:
149-
version: v0.12.1
150126
- name: Expose Artifact API and context information.
151127
uses: actions/github-script@v7
152128
with:
@@ -194,15 +170,7 @@ jobs:
194170
- name: Setup bazel environment
195171
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
196172
with:
197-
bazelisk-cache: true
198-
disk-cache: true
199173
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
200-
repository-cache: true
201-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
202-
name: Installing wasm-pack
203-
uses: jetli/[email protected]
204-
with:
205-
version: v0.12.1
206174
- name: Expose Artifact API and context information.
207175
uses: actions/github-script@v7
208176
with:
@@ -250,15 +218,7 @@ jobs:
250218
- name: Setup bazel environment
251219
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
252220
with:
253-
bazelisk-cache: true
254-
disk-cache: true
255221
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
256-
repository-cache: true
257-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
258-
name: Installing wasm-pack
259-
uses: jetli/[email protected]
260-
with:
261-
version: v0.12.1
262222
- name: Expose Artifact API and context information.
263223
uses: actions/github-script@v7
264224
with:
@@ -306,15 +266,7 @@ jobs:
306266
- name: Setup bazel environment
307267
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
308268
with:
309-
bazelisk-cache: true
310-
disk-cache: true
311269
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
312-
repository-cache: true
313-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
314-
name: Installing wasm-pack
315-
uses: jetli/[email protected]
316-
with:
317-
version: v0.12.1
318270
- name: Expose Artifact API and context information.
319271
uses: actions/github-script@v7
320272
with:
@@ -374,15 +326,7 @@ jobs:
374326
- name: Setup bazel environment
375327
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
376328
with:
377-
bazelisk-cache: true
378-
disk-cache: true
379329
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
380-
repository-cache: true
381-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
382-
name: Installing wasm-pack
383-
uses: jetli/[email protected]
384-
with:
385-
version: v0.12.1
386330
- name: Expose Artifact API and context information.
387331
uses: actions/github-script@v7
388332
with:
@@ -440,15 +384,7 @@ jobs:
440384
- name: Setup bazel environment
441385
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
442386
with:
443-
bazelisk-cache: true
444-
disk-cache: true
445387
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
446-
repository-cache: true
447-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
448-
name: Installing wasm-pack
449-
uses: jetli/[email protected]
450-
with:
451-
version: v0.12.1
452388
- name: Expose Artifact API and context information.
453389
uses: actions/github-script@v7
454390
with:
@@ -507,15 +443,7 @@ jobs:
507443
- name: Setup bazel environment
508444
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
509445
with:
510-
bazelisk-cache: true
511-
disk-cache: true
512446
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
513-
repository-cache: true
514-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
515-
name: Installing wasm-pack
516-
uses: jetli/[email protected]
517-
with:
518-
version: v0.12.1
519447
- name: Expose Artifact API and context information.
520448
uses: actions/github-script@v7
521449
with:
@@ -574,15 +502,7 @@ jobs:
574502
- name: Setup bazel environment
575503
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
576504
with:
577-
bazelisk-cache: true
578-
disk-cache: true
579505
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
580-
repository-cache: true
581-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
582-
name: Installing wasm-pack
583-
uses: jetli/[email protected]
584-
with:
585-
version: v0.12.1
586506
- name: Expose Artifact API and context information.
587507
uses: actions/github-script@v7
588508
with:
@@ -641,15 +561,7 @@ jobs:
641561
- name: Setup bazel environment
642562
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
643563
with:
644-
bazelisk-cache: true
645-
disk-cache: true
646564
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
647-
repository-cache: true
648-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
649-
name: Installing wasm-pack
650-
uses: jetli/[email protected]
651-
with:
652-
version: v0.12.1
653565
- name: Expose Artifact API and context information.
654566
uses: actions/github-script@v7
655567
with:
@@ -712,15 +624,7 @@ jobs:
712624
- name: Setup bazel environment
713625
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
714626
with:
715-
bazelisk-cache: true
716-
disk-cache: true
717627
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
718-
repository-cache: true
719-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
720-
name: Installing wasm-pack
721-
uses: jetli/[email protected]
722-
with:
723-
version: v0.12.1
724628
- name: Expose Artifact API and context information.
725629
uses: actions/github-script@v7
726630
with:
@@ -781,15 +685,7 @@ jobs:
781685
- name: Setup bazel environment
782686
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
783687
with:
784-
bazelisk-cache: true
785-
disk-cache: true
786688
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
787-
repository-cache: true
788-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
789-
name: Installing wasm-pack
790-
uses: jetli/[email protected]
791-
with:
792-
version: v0.12.1
793689
- name: Expose Artifact API and context information.
794690
uses: actions/github-script@v7
795691
with:
@@ -851,15 +747,7 @@ jobs:
851747
- name: Setup bazel environment
852748
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
853749
with:
854-
bazelisk-cache: true
855-
disk-cache: true
856750
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
857-
repository-cache: true
858-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
859-
name: Installing wasm-pack
860-
uses: jetli/[email protected]
861-
with:
862-
version: v0.12.1
863751
- name: Expose Artifact API and context information.
864752
uses: actions/github-script@v7
865753
with:
@@ -921,15 +809,7 @@ jobs:
921809
- name: Setup bazel environment
922810
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
923811
with:
924-
bazelisk-cache: true
925-
disk-cache: true
926812
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
927-
repository-cache: true
928-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
929-
name: Installing wasm-pack
930-
uses: jetli/[email protected]
931-
with:
932-
version: v0.12.1
933813
- name: Expose Artifact API and context information.
934814
uses: actions/github-script@v7
935815
with:

.github/workflows/engine-checks-optional.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,7 @@ jobs:
2828
- name: Setup bazel environment
2929
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
3030
with:
31-
bazelisk-cache: true
32-
disk-cache: true
3331
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
34-
repository-cache: true
35-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
36-
name: Installing wasm-pack
37-
uses: jetli/[email protected]
38-
with:
39-
version: v0.12.1
4032
- name: Expose Artifact API and context information.
4133
uses: actions/github-script@v7
4234
with:
@@ -84,15 +76,7 @@ jobs:
8476
- name: Setup bazel environment
8577
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
8678
with:
87-
bazelisk-cache: true
88-
disk-cache: true
8979
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
90-
repository-cache: true
91-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
92-
name: Installing wasm-pack
93-
uses: jetli/[email protected]
94-
with:
95-
version: v0.12.1
9680
- name: Expose Artifact API and context information.
9781
uses: actions/github-script@v7
9882
with:
@@ -151,15 +135,7 @@ jobs:
151135
- name: Setup bazel environment
152136
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
153137
with:
154-
bazelisk-cache: true
155-
disk-cache: true
156138
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
157-
repository-cache: true
158-
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
159-
name: Installing wasm-pack
160-
uses: jetli/[email protected]
161-
with:
162-
version: v0.12.1
163139
- name: Expose Artifact API and context information.
164140
uses: actions/github-script@v7
165141
with:

0 commit comments

Comments
 (0)