Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
635221d
Add GitHub workflow for RAPIDS high-level project tracking
jarmak-nv Feb 27, 2025
6b33ff7
Add project automation documentation and GraphQL helper script
jarmak-nv Feb 28, 2025
89ce393
Update project automation documentation with improved diagram
jarmak-nv Feb 28, 2025
48c4c3f
Update mermaid to LR from TD
jarmak-nv Feb 28, 2025
87817a6
Update GitHub Note Syntax
jarmak-nv Feb 28, 2025
1d7d605
Use stage names instead of IDs, multi-issue-pr readme update
jarmak-nv Mar 3, 2025
4846340
Add Python 3.13
bdice Mar 5, 2025
9de8f9e
DOC v25.06 Updates [skip ci]
raydouglass Mar 13, 2025
2321fa5
Merge pull request #298 from rapidsai/branch-25.04
GPUtester Mar 14, 2025
c27417b
Merge pull request #300 from rapidsai/branch-25.04
GPUtester Mar 15, 2025
3a11eaa
Merge pull request #305 from rapidsai/branch-25.04
GPUtester Mar 17, 2025
0b3d104
Merge pull request #307 from rapidsai/branch-25.04
GPUtester Mar 17, 2025
d74a031
Merge pull request #310 from rapidsai/branch-25.04
GPUtester Mar 18, 2025
955cfa5
Merge pull request #313 from rapidsai/branch-25.04
GPUtester Mar 18, 2025
b47e7a8
Merge pull request #316 from rapidsai/branch-25.04
GPUtester Mar 18, 2025
1b1d509
Merge pull request #317 from rapidsai/branch-25.04
GPUtester Mar 19, 2025
1e16c46
Merge pull request #319 from rapidsai/branch-25.04
GPUtester Mar 19, 2025
cd262fc
Merge pull request #322 from rapidsai/branch-25.04
GPUtester Mar 19, 2025
db60c52
Optional Input for CUDA suffix in wheel name (#323)
jayavenkatesh19 Mar 24, 2025
a5e578b
Enable proxy cache on NVKS V100 nodes. (#325)
bdice Apr 2, 2025
a315db2
make `RAPIDS_AUX_SECRET_1` be an input variable secret name, not the …
trxcllnt Apr 8, 2025
2718e88
Add pipefail to devcontainer builds.
bdice Apr 14, 2025
c924c79
Merge pull request #326 from bdice/pipefail-in-devcontainer-builds
bdice Apr 14, 2025
b0d5386
added descriptions to new variables in wheel build (#327)
jayavenkatesh19 Apr 16, 2025
92cc267
add mkdir -p to devcontainer setup (#328)
msarahan Apr 16, 2025
824abcc
add env and timeout-minutes inputs
trxcllnt Apr 17, 2025
1fdd8cf
Use the variable `package-name` for Distribution name in wheel builds…
jayavenkatesh19 Apr 18, 2025
18279ec
Merge pull request #329 from rapidsai/fea/devcontainers-job-timeout
bdice Apr 30, 2025
b29e79c
DOC v25.08 Updates [skip ci]
raydouglass Apr 30, 2025
005b4b0
Drop CUDA 11 builds/tests
bdice May 1, 2025
d1e2676
Merge pull request #333 from rapidsai/drop-cuda-11
bdice May 1, 2025
bcedb56
Merge branch 'branch-25.06' into python-3.13
gforsyth May 1, 2025
16b9c81
Update to CUDA 12.9.
bdice May 7, 2025
070a5c3
make artifact uploads optional (#340)
jameslamb May 7, 2025
647eefa
Merge pull request #341 from rapidsai/branch-25.06
GPUtester May 7, 2025
73b3dcb
Fix type mismatch for graphQL on single selects (#343)
jarmak-nv May 8, 2025
abe1d37
Merge pull request #344 from rapidsai/branch-25.06
GPUtester May 8, 2025
6237c4c
Update step-security/changed-files action to v46 (#342)
renovate[bot] May 12, 2025
f8f95f8
Merge pull request #345 from rapidsai/branch-25.06
GPUtester May 12, 2025
83fd623
Add Python 3.13 (#268)
bdice May 12, 2025
6c9d5a6
Merge branch 'branch-25.06' into cuda-12.9.0
jakirkham May 12, 2025
1ddf097
use GitHub Actions artifacts in conda-cpp-post-build-checks (#347)
jameslamb May 13, 2025
35e0ffc
make input validation, upload logic in build workflows stricter (#348)
jameslamb May 14, 2025
8a31d8e
Merge branch 'branch-25.06' into cuda-12.9.0
jameslamb May 14, 2025
67ed206
Enable pre-commit rules.
bdice May 14, 2025
22ed31a
Sort vars
bdice May 14, 2025
a3a4206
Merge pull request #349 from rapidsai/enable-pre-commit
bdice May 14, 2025
ae58caa
Merge remote-tracking branch 'upstream/branch-25.06' into cuda-12.9.0
bdice May 14, 2025
258ca04
Build with 12.8, test with 12.9.
bdice May 14, 2025
14724d8
Merge pull request #339 from rapidsai/cuda-12.9.0
bdice May 15, 2025
0e76dc4
Replace all `-F` usage with `-f` (#350)
jarmak-nv May 15, 2025
fd30b9c
Merge branch-25.06 into branch-25.08
bdice May 16, 2025
f6c596c
Forward-merge branch-25.06 into branch-25.08 (#352)
AyodeAwe May 18, 2025
2521df5
Add back CUDA 11 jobs
vyasr May 19, 2025
082830c
Add back Python 3.13
vyasr May 19, 2025
8a1d3b1
Switch to 25.06 matrices
vyasr May 19, 2025
86a2846
Merge pull request #354 from rapidsai/fix/revert_cuda11_drop
bdice May 20, 2025
2f858a6
[pre-commit.ci] pre-commit autoupdate (#353)
pre-commit-ci[bot] May 20, 2025
8ab71d5
Merge pull request #355 from rapidsai/branch-25.06
GPUtester May 20, 2025
be881c8
custom-job: deprecate 'run_script' input, in favor of 'script' (#357)
jameslamb May 20, 2025
e6c9fa4
Merge pull request #358 from rapidsai/branch-25.06
GPUtester May 20, 2025
0760c7d
fix: update jq command to remove `exit 4` errors when there is no lin…
jarmak-nv May 21, 2025
e27829e
Merge pull request #360 from rapidsai/branch-25.06
GPUtester May 21, 2025
efdb3a9
make 'script' input required (#362)
jameslamb May 23, 2025
2b9a63d
Merge pull request #365 from rapidsai/branch-25.06
GPUtester May 23, 2025
50eec39
print GitHub API rate limit information to logs (#366)
jameslamb May 23, 2025
a7de8b8
Merge pull request #367 from rapidsai/branch-25.06
GPUtester May 23, 2025
4bf9444
remove 'run_script' input from custom-job (#363)
jameslamb May 27, 2025
566a949
Merge pull request #369 from rapidsai/branch-25.06
GPUtester May 27, 2025
e62a069
Use GitHub Actions artifacts in Anaconda uploads (#364)
jameslamb May 27, 2025
449b517
[pre-commit.ci] pre-commit autoupdate (#368)
pre-commit-ci[bot] May 28, 2025
cff1b66
Add 'build_workflow_name' input, to allow overriding where scripts lo…
jayavenkatesh19 May 28, 2025
2534057
Drop CUDA 11 (#371)
vyasr May 29, 2025
03ca803
Allow use of a different GitHub token from repo secrets (#370)
jameslamb May 30, 2025
c802825
[pre-commit.ci] pre-commit autoupdate (#373)
pre-commit-ci[bot] Jun 2, 2025
361a295
Drop Ubuntu 20.04
bdice Jun 4, 2025
adaf71e
Merge pull request #375 from rapidsai/drop-ubuntu-20.04
bdice Jun 5, 2025
2ab9090
obviate telemetry download (#372)
msarahan Jun 6, 2025
4938edb
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jun 9, 2025
7f9d364
Merge pull request #381 from rapidsai/pre-commit-ci-update-config
bdice Jun 10, 2025
b776780
add input descriptions: branch, date, sha, repo (#380)
jameslamb Jun 10, 2025
732dd1f
Version CI images.
bdice Jun 17, 2025
1e3b13e
Missed citestwheel
bdice Jun 17, 2025
2aec271
Update update-version.sh
bdice Jun 17, 2025
6815442
Merge pull request #384 from rapidsai/version-ci-imgs
bdice Jun 18, 2025
52812af
Update to CUDA 12.9.1. (#385)
bdice Jun 24, 2025
d329cd0
[pre-commit.ci] pre-commit autoupdate (#383)
pre-commit-ci[bot] Jun 24, 2025
d8f8b86
remove ruff (#386)
jameslamb Jun 24, 2025
86c81b1
conda-cpp-post-build-checks: switch to always running by default, add…
jameslamb Jun 25, 2025
69caa94
Upload sccache client logs (#389)
trxcllnt Jul 2, 2025
eb193cf
conda-cpp-post-build-checks: remove input 'enable_check_symbols' (#391)
jameslamb Jul 2, 2025
a8fe84c
Add descriptions on all inputs (#387)
jameslamb Jul 3, 2025
7a5f711
feat: add zizmor static action checks (#390)
gforsyth Jul 16, 2025
5973ed6
custom-job: make artifact name customizable (#393)
jameslamb Jul 16, 2025
2905048
DOC v25.10 Updates [skip ci]
AyodeAwe Jul 17, 2025
5492c01
ci: prevent renovate from incorrectly bumping rapidsai docker images …
gforsyth Jul 21, 2025
cea6b2b
Merge pull request #397 from rapidsai/branch-25.08
GPUtester Jul 21, 2025
c08ddac
[pre-commit.ci] pre-commit autoupdate (#398)
pre-commit-ci[bot] Jul 21, 2025
a8bad1e
Merge pull request #399 from rapidsai/branch-25.08
GPUtester Jul 21, 2025
93f2835
Always upload sccache logs in `build-in-devcontainer.yaml`
trxcllnt Jul 21, 2025
4ea1416
fix zizmor comment
trxcllnt Jul 22, 2025
175bfcc
Merge pull request #400 from rapidsai/fea/always-upload-sccache-logs
bdice Jul 22, 2025
85c680a
Merge pull request #402 from rapidsai/branch-25.08
GPUtester Jul 22, 2025
e2d45d7
disable zizmor for build-in-devcontainer.yaml
trxcllnt Jul 22, 2025
0df0037
Merge pull request #403 from rapidsai/fix/disable-zizmor-on-devcontai…
bdice Jul 22, 2025
d87850d
Merge pull request #404 from rapidsai/branch-25.08
GPUtester Jul 22, 2025
01f7a15
allow customizing build workflow name in conda-upload-packages and wh…
jameslamb Aug 1, 2025
a2832ab
Cache sccache preprocessor and toolchain dirs across runs (#408)
trxcllnt Aug 11, 2025
1fb221d
[pre-commit.ci] pre-commit autoupdate (#410)
pre-commit-ci[bot] Aug 12, 2025
c3a888b
Update preprocessor cache dir in `build-in-devcontainer.yaml` (#411)
trxcllnt Aug 15, 2025
e6b2ffd
[pre-commit.ci] pre-commit autoupdate (#414)
pre-commit-ci[bot] Aug 18, 2025
2e117c4
chore(deps): update aws-actions/configure-aws-credentials action to v…
renovate[bot] Aug 18, 2025
ef0784d
Merge branch 'rapidsai:branch-25.10' into high-level-tracker
jarmak-nv Aug 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Configuration related to self-hosted runners.
self-hosted-runner:
# Labels of self-hosted runner in array of strings.
labels:
- linux-amd64-*
- linux-arm64-*

# Configuration variables in array of strings defined in your repository or organization.
config-variables:
- AWS_REGION
- AWS_ROLE_ARN
- TELEMETRY_ENABLED
64 changes: 37 additions & 27 deletions .github/workflows/breaking-change-alert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,23 @@ jobs:
echo "$1" | jq ${flag} -c . | grep -E '^".*"$' | awk '{print substr($0, 2, length($0) - 2)}' && [ "${PIPESTATUS[2]}" -eq 0 ]
}

# Escape all input variables
echo "sender_login=$(escape_json "${SENDER_LOGIN}")" >> $GITHUB_OUTPUT
echo "sender_avatar=$(escape_json "${SENDER_AVATAR}")" >> $GITHUB_OUTPUT
echo "repo=$(escape_json "${REPO}")" >> $GITHUB_OUTPUT
echo "pr_number=${PR_NUMBER}" >> $GITHUB_OUTPUT
echo "pr_title=$(escape_json "${PR_TITLE}")" >> $GITHUB_OUTPUT
echo "pr_body=$(escape_json "${PR_BODY}" slurp)" >> $GITHUB_OUTPUT
echo "pr_base_ref=$(escape_json "${PR_BASE_REF}")" >> $GITHUB_OUTPUT
echo "pr_author=$(escape_json "${PR_AUTHOR}")" >> $GITHUB_OUTPUT
{
# Escape all input variables
echo "sender_login=$(escape_json "${SENDER_LOGIN}")"
echo "sender_avatar=$(escape_json "${SENDER_AVATAR}")"
echo "repo=$(escape_json "${REPO}")"
echo "pr_number=${PR_NUMBER}"
echo "pr_title=$(escape_json "${PR_TITLE}")"
echo "pr_body=$(escape_json "${PR_BODY}" slurp)"
echo "pr_base_ref=$(escape_json "${PR_BASE_REF}")"
echo "pr_author=$(escape_json "${PR_AUTHOR}")"

# Create escaped URLs
echo "repo_url=$(escape_json "https://github.com/${REPO}")" >> $GITHUB_OUTPUT
echo "pr_url=$(escape_json "https://github.com/${REPO}/pull/${PR_NUMBER}")" >> $GITHUB_OUTPUT
echo "branch_url=$(escape_json "https://github.com/${REPO}/tree/${PR_BASE_REF}")" >> $GITHUB_OUTPUT
echo "author_url=$(escape_json "https://github.com/${PR_AUTHOR}")" >> $GITHUB_OUTPUT
# Create escaped URLs
echo "repo_url=$(escape_json "https://github.com/${REPO}")"
echo "pr_url=$(escape_json "https://github.com/${REPO}/pull/${PR_NUMBER}")"
echo "branch_url=$(escape_json "https://github.com/${REPO}/tree/${PR_BASE_REF}")"
echo "author_url=$(escape_json "https://github.com/${PR_AUTHOR}")"
} >> "${GITHUB_OUTPUT}"

- name: Determine notification parameters
id: notification
Expand All @@ -96,25 +98,33 @@ jobs:
PR_MERGED: ${{ inputs.pr_merged }}
run: |
if [[ "$EVENT_ACTION" == "closed" && "$PR_MERGED" == "true" ]]; then
echo "action=Merged" >> $GITHUB_OUTPUT
echo "color=#D00000" >> $GITHUB_OUTPUT
echo "icon=:rocket:" >> $GITHUB_OUTPUT
{
echo "action=Merged"
echo "color=#D00000"
echo "icon=:rocket:"
} >> "${GITHUB_OUTPUT}"
elif [[ "$EVENT_ACTION" == "closed" ]]; then
echo "action=Closed" >> $GITHUB_OUTPUT
echo "color=#1d9bd1" >> $GITHUB_OUTPUT
echo "icon=:information_source:" >> $GITHUB_OUTPUT
{
echo "action=Closed"
echo "color=#1d9bd1"
echo "icon=:information_source:"
} >> "${GITHUB_OUTPUT}"
elif [[ "$EVENT_ACTION" == "reopened" ]]; then
echo "action=Reopened" >> $GITHUB_OUTPUT
echo "color=warning" >> $GITHUB_OUTPUT
echo "icon=:warning:" >> $GITHUB_OUTPUT
{
echo "action=Reopened"
echo "color=warning"
echo "icon=:warning:"
} >> "${GITHUB_OUTPUT}"
else
echo "action=Modified" >> $GITHUB_OUTPUT
echo "color=good" >> $GITHUB_OUTPUT
echo "icon=:information_source:" >> $GITHUB_OUTPUT
{
echo "action=Modified"
echo "color=good"
echo "icon=:information_source:"
} >> "${GITHUB_OUTPUT}"
fi

- name: Send Slack notification
uses: slackapi/[email protected]
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
with:
payload: |
{
Expand Down
146 changes: 118 additions & 28 deletions .github/workflows/build-in-devcontainer.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,76 @@
on:
workflow_call:
inputs:
env:
description: |
Additional environment variables to be set inside the devcontainer.
Should be a space-delimited string in the form "KEY=value".
type: string
sha:
description: "Full git commit SHA to check out"
type: string
arch:
description: "One of [amd64, arm64]. CPU architecture to run on."
type: string
default: '["amd64"]'
cuda:
description: |
Stringified JSON array of CUDA versions to run this workflow for.
This is used to select .devcontainer/ directories local to wherever this workflow is invoked from.
For example, if a repository has directories '.devcontainer/cuda12.0-pip/' and '.devcontainer/cuda12.8-pip/',
'["12.0", "12.8"]' could be passed here to build both of those devcontainers in CI.
type: string
default: '["12.0"]'
python_package_manager:
description: |
Stringified JSON array of Python package managers to run devcontainer builds for.
One of: '["conda"]', '["pip"]', '["conda", "pip"]'.
type: string
default: '["conda", "pip"]'
repo:
description: "Git repo to check out, in '{org}/{repo}' form, e.g. 'rapidsai/cudf'"
type: string
timeout-minutes:
description: "Maximum time (in minutes) allowed for a run of this workflow."
type: number
default: 360
node_type:
description: |
Suffix, without leading '-', indicating the type of machine to run jobs on (e.g., 'cpu4' or 'gpu-l4-latest-1').
Runner labels are of the form '{operating_system}-{arch}-{node_type}'.
See https://github.com/nv-gha-runners/enterprise-runner-configuration/blob/main/docs/runner-groups.md for a list
of valid values.
type: string
default: "cpu8"
build_command:
description: |
Shell commands to run inside the devcontainer after it's built and started.
This is almost always some form of 'build-all --verbose;'.
See https://github.com/rapidsai/devcontainers for details.
type: string
required: true
# Note that this is the _name_ of a secret containing the key, not the key itself.
extra-repo-deploy-key:
description: |
The NAME (not value) of a GitHub secret in the calling repo, containing a repo deploy key.
This is here to allow the use of additional private repos in runs of this workflow.
required: false
type: string
default: ''
# Note that this is the _name_ of a secret containing the key, not the key itself.
extra-repo-deploy-key-2:
description: |
The NAME (not value) of a GitHub secret in the calling repo, containing a repo deploy key.
This is here to allow the use of additional private repos in runs of this workflow.
required: false
type: string
default: ''
# the use of secrets in shared-workflows is discouraged, especially for public repositories.
# these values were added for situations where the use of secrets is unavoidable.
secrets:
RAPIDS_AUX_SECRET_1:
rapids-aux-secret-1:
description: |
The NAME (not value) of a GitHub secret in the calling repo.
This allows callers of the workflow to make a single secret available in the devcontainer's
environment, via environment variable `RAPIDS_AUX_SECRET_1`.
required: false
type: string
default: ''

permissions:
actions: read
Expand All @@ -53,6 +89,7 @@ permissions:

jobs:
build:
timeout-minutes: ${{ inputs.timeout-minutes }}
strategy:
fail-fast: false
matrix:
Expand All @@ -67,69 +104,102 @@ jobs:
repository: ${{ inputs.repo }}
ref: ${{ inputs.sha }}
fetch-depth: 0
path: repo
persist-credentials: true

# This provides an initial set of metadata tags. Jobs are free to add to the RAPIDS_JOB_ATTRIBUTES
# environment variable as they see fit - but remember to export the variable to ${GITHUB_ENV}
- name: Telemetry setup
uses: rapidsai/shared-actions/telemetry-dispatch-setup@main
continue-on-error: true
if: ${{ vars.TELEMETRY_ENABLED == 'true' && github.run_attempt == '1' }}
if: ${{ vars.TELEMETRY_ENABLED == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
with:
extra_attributes: "rapids.PACKAGER=${{ matrix.PACKAGER }},rapids.CUDA_VER=${{ matrix.CUDA_VER }},rapids.ARCH=${{ matrix.ARCH }}"
extra_attributes: "rapids.PACKAGER=${{ matrix.PACKAGER }},rapids.CUDA_VER=${{ matrix.CUDA_VER }},rapids.ARCH=${{ matrix.ARCH }}"

- name: Check if repo has devcontainer
env:
ARCH: ${{ matrix.ARCH }}
CUDA_VER: ${{ matrix.CUDA_VER }}
PACKAGER: ${{ matrix.PACKAGER }}
RUN_ID: ${{ github.run_id }}
RUN_ATTEMPT: ${{ github.run_attempt }}
run: |
echo "REPOSITORY=$(basename $(pwd))" | tee -a "${GITHUB_ENV}";
if test -f .devcontainer/cuda${{ matrix.CUDA_VER }}-${{ matrix.PACKAGER }}/devcontainer.json; then
echo "HAS_DEVCONTAINER=true" >> "${GITHUB_ENV}";
else
echo "HAS_DEVCONTAINER=false" >> "${GITHUB_ENV}";
HAS_DEVCONTAINER=false
if test -f "repo/.devcontainer/cuda${CUDA_VER}-${PACKAGER}/devcontainer.json"; then
HAS_DEVCONTAINER=true
fi
cat <<EOF | tee -a "${GITHUB_ENV}"
ARTIFACT_SLUG=${RUN_ID}-${RUN_ATTEMPT}-$RANDOM
BUILD_SLUG=cuda${CUDA_VER}-${PACKAGER}-${ARCH}
HAS_DEVCONTAINER=$HAS_DEVCONTAINER
REPOSITORY=$(basename "$(pwd)")
EOF

- if: ${{ env.HAS_DEVCONTAINER == 'true' }}
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
with:
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
role-duration-seconds: 43200 # 12h

- if: ${{ env.HAS_DEVCONTAINER == 'true' }}
name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '22'

- name: Setup proxy cache
- if: ${{ env.HAS_DEVCONTAINER == 'true' }}
name: Setup proxy cache
uses: nv-gha-runners/setup-proxy-cache@main
continue-on-error: true

- id: sccache-preprocessor-cache
if: ${{ env.HAS_DEVCONTAINER == 'true' }}
name: Setup sccache preprocessor cache
uses: actions/cache@v4
with:
path: .cache/sccache/preprocessor
restore-keys: sccache-preprocessor-cache-${{ runner.os }}-${{ env.BUILD_SLUG }}
key: sccache-preprocessor-cache-${{ runner.os }}-${{ env.BUILD_SLUG }}-${{ env.ARTIFACT_SLUG }}

- id: sccache-dist-toolchains-cache
if: ${{ env.HAS_DEVCONTAINER == 'true' }}
name: Setup sccache-dist client toolchains cache
uses: actions/cache@v4
with:
path: .cache/sccache-dist-client
restore-keys: sccache-toolchains-cache-${{ runner.os }}-${{ env.BUILD_SLUG }}
key: sccache-toolchains-cache-${{ runner.os }}-${{ env.BUILD_SLUG }}-${{ env.ARTIFACT_SLUG }}

- if: ${{ env.HAS_DEVCONTAINER == 'true' }}
name: Run build in devcontainer
uses: devcontainers/[email protected]
uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.1900000417
with:
push: never
checkoutPath: repo
imageTag: "cuda${{ matrix.CUDA_VER }}-${{ matrix.PACKAGER }}"
imageName: "docker.io/rapidsai/${{ env.REPOSITORY }}-devcontainer"
configFile: .devcontainer/cuda${{ matrix.CUDA_VER }}-${{ matrix.PACKAGER }}/devcontainer.json
# Env vars are NOT automatically passed from our current env into the devcontainer.
# We have to pass them in explicitly.
env: |
REPOSITORY=${{ env.REPOSITORY }}
SCCACHE_REGION=${{ vars.AWS_REGION }}
SCCACHE_ERROR_LOG=/home/coder/${{ env.REPOSITORY }}/sccache.log
AWS_ACCESS_KEY_ID=${{ env.AWS_ACCESS_KEY_ID }}
AWS_SESSION_TOKEN=${{ env.AWS_SESSION_TOKEN }}
AWS_SECRET_ACCESS_KEY=${{ env.AWS_SECRET_ACCESS_KEY }}
RAPIDS_AUX_SECRET_1=${{ secrets.RAPIDS_AUX_SECRET_1 }}
RAPIDS_AUX_SECRET_1=${{ inputs.rapids-aux-secret-1 != '' && secrets[inputs.rapids-aux-secret-1] || '' }}
TRACEPARENT=${{ env.TRACEPARENT }}
OTEL_SERVICE_NAME=${{ env.OTEL_SERVICE_NAME }}
OTEL_EXPORTER_OTLP_ENDPOINT=${{ env.OTEL_EXPORTER_OTLP_ENDPOINT }}
OTEL_EXPORTER_OTLP_PROTOCOL=${{ env.OTEL_EXPORTER_OTLP_PROTOCOL }}
OTEL_RESOURCE_ATTRIBUTES=${{ env.OTEL_RESOURCE_ATTRIBUTES }}
${{ inputs.env }}
runCmd: |
set -e;
mkdir -p ~/.config/pip/;
cat <<EOF >> ~/.config/pip/pip.conf
[global]
extra-index-url = https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
EOF

rapids-make-${PYTHON_PACKAGE_MANAGER}-env;
set -euo pipefail;

if test -n '${{ inputs.extra-repo-deploy-key }}' \
|| test -n '${{ inputs.extra-repo-deploy-key-2 }}'; then
Expand All @@ -143,9 +213,29 @@ jobs:
devcontainer-utils-init-ssh-deploy-keys || true;
fi

mkdir -p ~/.config/pip/;
cat <<EOF >> ~/.config/pip/pip.conf
[global]
extra-index-url = https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
EOF

rapids-make-${PYTHON_PACKAGE_MANAGER}-env;

cd ~/"${REPOSITORY}";
mkdir -p telemetry-artifacts;
${{ inputs.build_command }}
- name: Telemetry upload attributes

- if: ${{ !cancelled() && env.HAS_DEVCONTAINER == 'true' }}
name: Upload sccache logs
uses: actions/upload-artifact@v4
with:
name: sccache-client-logs-${{ env.BUILD_SLUG }}-${{ env.ARTIFACT_SLUG }}
path: repo/sccache*.log
compression-level: 9

- if: ${{ always() && vars.TELEMETRY_ENABLED == 'true' }}
name: Telemetry upload attributes
uses: rapidsai/shared-actions/telemetry-dispatch-stash-job-artifacts@main
continue-on-error: true
if: ${{ vars.TELEMETRY_ENABLED == 'true' && github.run_attempt == '1' }}
env:
GH_TOKEN: ${{ github.token }}
Loading