Skip to content

Commit 9a4e718

Browse files
Configure cache domain for GHA
1 parent 54b7d45 commit 9a4e718

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
CI_JOB_NAME: "${{ matrix.name }}"
3535
SCCACHE_BUCKET: rust-lang-gha-caches
3636
TOOLSTATE_REPO: "https://github.com/pietroalbini/rust-toolstate"
37+
CACHE_DOMAIN: ci-caches-gha.rust-lang.org
3738
if: "github.event_name == 'pull_request'"
3839
strategy:
3940
matrix:
@@ -146,6 +147,7 @@ jobs:
146147
TOOLSTATE_PUBLISH: 1
147148
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
148149
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
150+
CACHE_DOMAIN: ci-caches-gha.rust-lang.org
149151
if: "github.event_name == 'push' && github.ref == 'refs/heads/try' && github.repository == 'rust-lang-ci/rust'"
150152
strategy:
151153
matrix:
@@ -255,6 +257,7 @@ jobs:
255257
TOOLSTATE_PUBLISH: 1
256258
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
257259
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
260+
CACHE_DOMAIN: ci-caches-gha.rust-lang.org
258261
if: "github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
259262
strategy:
260263
matrix:
@@ -606,6 +609,7 @@ jobs:
606609
TOOLSTATE_PUBLISH: 1
607610
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
608611
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
612+
CACHE_DOMAIN: ci-caches-gha.rust-lang.org
609613
if: "github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'"
610614
steps:
611615
- name: checkout the source code

src/ci/github-actions/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ x--expand-yaml-anchors--remove:
3737
- &public-variables
3838
SCCACHE_BUCKET: rust-lang-gha-caches
3939
TOOLSTATE_REPO: https://github.com/pietroalbini/rust-toolstate
40+
CACHE_DOMAIN: ci-caches-gha.rust-lang.org
4041

4142
- &prod-variables
4243
SCCACHE_BUCKET: rust-lang-gha-caches
@@ -51,6 +52,7 @@ x--expand-yaml-anchors--remove:
5152
# (caches, artifacts...).
5253
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
5354
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
55+
CACHE_DOMAIN: ci-caches-gha.rust-lang.org
5456

5557
- &base-job
5658
env: {}

0 commit comments

Comments
 (0)