Skip to content

Commit cce6555

Browse files
committed
use GHA id-token for sccache-dist auth
1 parent 82f6065 commit cce6555

3 files changed

Lines changed: 0 additions & 20 deletions

File tree

.github/workflows/build.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
node_type: cpu8
4444
script: ci/build_cpp.sh
4545
sha: ${{ inputs.sha }}
46-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
4746
docs-build:
4847
if: github.ref_type == 'branch'
4948
needs: conda-cpp-build
@@ -81,7 +80,6 @@ jobs:
8180
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber)))
8281
package-name: libucxx
8382
package-type: cpp
84-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
8583
wheel-publish-libucxx:
8684
needs: wheel-build-libucxx
8785
secrets: inherit
@@ -106,7 +104,6 @@ jobs:
106104
script: ci/build_wheel_ucxx.sh
107105
package-name: ucxx
108106
package-type: python
109-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
110107
wheel-publish-ucxx:
111108
needs: wheel-build-ucxx
112109
secrets: inherit
@@ -131,7 +128,6 @@ jobs:
131128
package-name: distributed_ucxx
132129
package-type: python
133130
pure-wheel: true
134-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
135131
wheel-publish-distributed-ucxx:
136132
needs: [wheel-build-ucxx, wheel-build-distributed-ucxx]
137133
secrets: inherit

.github/workflows/pr.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ jobs:
153153
build_type: pull-request
154154
node_type: cpu8
155155
script: ci/build_cpp.sh
156-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
157156
docs-build:
158157
needs: [conda-cpp-build, changed-files]
159158
secrets: inherit
@@ -174,7 +173,6 @@ jobs:
174173
build_type: pull-request
175174
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
176175
script: ci/test_cpp.sh
177-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
178176
conda-python-tests:
179177
needs: [conda-cpp-build, changed-files]
180178
secrets: inherit
@@ -184,7 +182,6 @@ jobs:
184182
build_type: pull-request
185183
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
186184
script: ci/test_python.sh
187-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
188185
conda-python-distributed-tests:
189186
needs: [conda-cpp-build, changed-files]
190187
secrets: inherit
@@ -194,7 +191,6 @@ jobs:
194191
build_type: pull-request
195192
script: "ci/test_python_distributed.sh"
196193
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
197-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
198194
wheel-build-libucxx:
199195
needs: checks
200196
secrets: inherit
@@ -207,7 +203,6 @@ jobs:
207203
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber)))
208204
package-name: libucxx
209205
package-type: cpp
210-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
211206
wheel-build-ucxx:
212207
needs: wheel-build-libucxx
213208
secrets: inherit
@@ -218,7 +213,6 @@ jobs:
218213
script: ci/build_wheel_ucxx.sh
219214
package-name: ucxx
220215
package-type: python
221-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
222216
wheel-tests-ucxx:
223217
needs: [wheel-build-ucxx, changed-files]
224218
secrets: inherit
@@ -228,7 +222,6 @@ jobs:
228222
build_type: pull-request
229223
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
230224
script: ci/test_wheel_ucxx.sh
231-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
232225
wheel-build-distributed-ucxx:
233226
needs: checks
234227
secrets: inherit
@@ -239,7 +232,6 @@ jobs:
239232
script: ci/build_wheel_distributed_ucxx.sh
240233
package-name: distributed_ucxx
241234
package-type: python
242-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
243235
pure-wheel: true
244236
wheel-tests-distributed-ucxx:
245237
needs: [wheel-build-ucxx, wheel-build-distributed-ucxx, changed-files]
@@ -250,7 +242,6 @@ jobs:
250242
build_type: pull-request
251243
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
252244
script: ci/test_wheel_distributed_ucxx.sh
253-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
254245
devcontainer:
255246
secrets: inherit
256247
needs: [checks, telemetry-setup]
@@ -259,12 +250,10 @@ jobs:
259250
arch: '["amd64", "arm64"]'
260251
cuda: '["13.1"]'
261252
node_type: "cpu8"
262-
rapids-aux-secret-1: GIST_REPO_READ_ORG_GITHUB_TOKEN
263253
env: |
264254
SCCACHE_DIST_MAX_RETRIES=inf
265255
SCCACHE_SERVER_LOG=sccache=debug
266256
SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE=false
267-
SCCACHE_DIST_AUTH_TOKEN_VAR=RAPIDS_AUX_SECRET_1
268257
build_command: |
269258
sccache --zero-stats;
270259
build-all -j0 --verbose 2>&1 | tee telemetry-artifacts/build.log;

.github/workflows/test.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
script: ci/test_cpp.sh
3434
sha: ${{ inputs.sha }}
3535
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
36-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
3736
conda-python-tests:
3837
secrets: inherit
3938
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main
@@ -44,7 +43,6 @@ jobs:
4443
script: ci/test_python.sh
4544
sha: ${{ inputs.sha }}
4645
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
47-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
4846
conda-python-distributed-tests:
4947
secrets: inherit
5048
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main
@@ -55,7 +53,6 @@ jobs:
5553
date: ${{ inputs.date }}
5654
sha: ${{ inputs.sha }}
5755
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
58-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
5956
wheel-tests-ucxx:
6057
secrets: inherit
6158
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main
@@ -66,7 +63,6 @@ jobs:
6663
sha: ${{ inputs.sha }}
6764
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
6865
script: ci/test_wheel_ucxx.sh
69-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN
7066
wheel-tests-distributed-ucxx:
7167
secrets: inherit
7268
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main
@@ -77,4 +73,3 @@ jobs:
7773
sha: ${{ inputs.sha }}
7874
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
7975
script: ci/test_wheel_distributed_ucxx.sh
80-
sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN

0 commit comments

Comments
 (0)