Skip to content

Commit 2cd997a

Browse files
authored
Use GHA id-token as sccache-dist auth token in CI (#663)
Authors: - Paul Taylor (https://github.com/trxcllnt) Approvers: - James Lamb (https://github.com/jameslamb) URL: #663
1 parent 0f21342 commit 2cd997a

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

.github/workflows/build-all-rapids-repos.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,11 @@ jobs:
4747
arch: '["amd64", "arm64"]'
4848
cuda: '["12.9", "13.1"]'
4949
node_type: cpu16
50-
rapids-aux-secret-1: GIST_REPO_READ_ORG_GITHUB_TOKEN
5150
timeout-minutes: 720
5251
# 1. Prohibit sccache from shutting down automatically
5352
# 2. Infinitely retry transient errors
5453
# 3. Enable debug logging to track cache misses
5554
# 4. Never fallback to locally compiling
56-
# 5. Use RAPIDS_AUX_SECRET_1 as the sccache-dist auth token
5755
env: |
5856
CONDA_ENV_CREATE_QUIET=1
5957
INCLUDE_REPOS="${{ matrix.libs }}"
@@ -62,7 +60,6 @@ jobs:
6260
SCCACHE_SERVER_LOG=sccache=debug
6361
SCCACHE_DIST_MAX_RETRIES=inf
6462
SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE=false
65-
SCCACHE_DIST_AUTH_TOKEN_VAR=RAPIDS_AUX_SECRET_1
6663
build_command: |
6764
function begin_group() {
6865
local blue="34"
@@ -100,14 +97,6 @@ jobs:
10097
return "$exit_code"
10198
}
10299
103-
if test -n "${DISABLE_SCCACHE:+x}"; then
104-
. /opt/devcontainer/bin/update-envvars.sh;
105-
for VAR in RUSTC_WRAPPER CMAKE_C_COMPILER_LAUNCHER CMAKE_CXX_COMPILER_LAUNCHER CMAKE_CUDA_COMPILER_LAUNCHER; do
106-
reset_envvar "$VAR";
107-
override_envvar "$VAR" "";
108-
done
109-
fi
110-
111100
# Clone all the repos
112101
run_command "Clone RAPIDS repositories" \
113102
clone-all -j$(nproc) -v -q --clone-upstream --depth 1 --single-branch --shallow-submodules --no-update-env;

.github/workflows/test-rapids-build-times.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,18 @@ jobs:
5454
arch: '["amd64", "arm64"]'
5555
cuda: '["12.9", "13.1"]'
5656
node_type: ${{ inputs.node_type }}
57-
rapids-aux-secret-1: GIST_REPO_READ_ORG_GITHUB_TOKEN
5857
timeout-minutes: 720
5958
# 1. Prohibit sccache from shutting down automatically
6059
# 2. Infinitely retry transient errors
6160
# 3. Enable debug logging to track cache misses
6261
# 4. Never fallback to locally compiling
63-
# 5. Use RAPIDS_AUX_SECRET_1 as the sccache-dist auth token
6462
env: |
6563
CONDA_ENV_CREATE_QUIET=1
6664
PARALLEL_LEVEL=0
6765
SCCACHE_IDLE_TIMEOUT=0
6866
SCCACHE_SERVER_LOG=sccache=debug
6967
SCCACHE_DIST_MAX_RETRIES=inf
7068
SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE=false
71-
SCCACHE_DIST_AUTH_TOKEN_VAR=RAPIDS_AUX_SECRET_1
72-
TIME=real:\t%E
7369
${{ matrix.env }}
7470
build_command: |
7571
function begin_group() {

0 commit comments

Comments
 (0)