Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion .devcontainer/cuda12.9-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"CUDA": "12.9",
"PYTHON_PACKAGE_MANAGER": "conda",
"BASE": "rapidsai/devcontainers:26.08-cpp-mambaforge"
}
},
"cacheFrom": [
"ghcr.io/rapidsai/devcontainers/devcontainer:26.08-cuda12.9-conda"
]
},
"runArgs": [
"--rm",
Expand Down
5 changes: 4 additions & 1 deletion .devcontainer/cuda12.9-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"CUDA": "12.9",
"PYTHON_PACKAGE_MANAGER": "pip",
"BASE": "rapidsai/devcontainers:26.08-cpp-cuda12.9-ucx1.19.0-openmpi5.0.10"
}
},
"cacheFrom": [
"ghcr.io/rapidsai/devcontainers/devcontainer:26.08-cuda12.9-pip"
]
},
"runArgs": [
"--rm",
Expand Down
112 changes: 0 additions & 112 deletions .devcontainer/cuda13.0-conda/devcontainer.json

This file was deleted.

1 change: 0 additions & 1 deletion .devcontainer/cuda13.0-conda/features

This file was deleted.

99 changes: 0 additions & 99 deletions .devcontainer/cuda13.0-pip/devcontainer.json

This file was deleted.

1 change: 0 additions & 1 deletion .devcontainer/cuda13.0-pip/features

This file was deleted.

5 changes: 4 additions & 1 deletion .devcontainer/cuda13.2-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"CUDA": "13.2",
"PYTHON_PACKAGE_MANAGER": "conda",
"BASE": "rapidsai/devcontainers:26.08-cpp-mambaforge"
}
},
"cacheFrom": [
"ghcr.io/rapidsai/devcontainers/devcontainer:26.08-cuda13.1-conda"
]
},
"runArgs": [
"--rm",
Expand Down
5 changes: 4 additions & 1 deletion .devcontainer/cuda13.2-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"CUDA": "13.2",
"PYTHON_PACKAGE_MANAGER": "pip",
"BASE": "rapidsai/devcontainers:26.08-cpp-cuda13.2-ucx1.19.0-openmpi5.0.10"
}
},
"cacheFrom": [
"ghcr.io/rapidsai/devcontainers/devcontainer:26.08-cuda13.2-pip"
]
},
"runArgs": [
"--rm",
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-linux-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
if test "${push}" = true; then
outputs+=(--output "type=image,compression=zstd,force-compression=true,oci-mediatypes=true,push=true,push-by-digest=true,name=${repo}");
# HACK: remove the `-t` arg from the `docker buildx build` command generated by `devcontainer build`
sed -i 's/,t.map(v=>l.push("-t",v))//g' "$(npm list -g | head -n1)"/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js;
sed -i 's/,t.map(G=>l.push("-t",G))//g' "$(npm list -g | head -n1)"/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js;
fi

until devcontainer build \
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/install-devcontainers-cli/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ runs:
using: composite
steps:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'
node-version: '24'
- name: Install devcontainers CLI
shell: bash
run: |
sudo apt update;
sudo apt install -y --no-install-recommends build-essential;
npm install -g @devcontainers/cli@v0.80.2;
npm install -g @devcontainers/cli@v0.85.0;
10 changes: 5 additions & 5 deletions .github/actions/setup-runner-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,28 @@ runs:

- if: runner.environment == 'self-hosted'
name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '20'
node-version: '24'

- if: runner.environment != 'self-hosted'
name: Set up QEMU
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4

- name: Create docker context
shell: bash
run: docker context create builder

- if: runner.environment != 'self-hosted'
name: Setup docker buildx on github-hosted runners
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
with:
buildkitd-flags: --debug
endpoint: builder

- if: runner.environment == 'self-hosted'
name: Setup docker buildx on self-hosted runners
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
with:
buildkitd-flags: --debug --config /etc/buildkit/buildkitd.toml
endpoint: builder
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
arch: [amd64, arm64]
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Login to Docker Hub
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
with:
username: ${{ secrets.GPUCIBOT_DOCKERHUB_USER || vars.DOCKERHUB_USER }}
password: ${{ secrets.GPUCIBOT_DOCKERHUB_TOKEN || secrets.DOCKERHUB_TOKEN }}
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/build-devcontainers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Build devcontainers

concurrency:
group: build-devcontainers-from-${{ github.ref_name }}
cancel-in-progress: true

on:
workflow_call:
inputs:
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.9-pip/' and '.devcontainer/cuda13.2-pip/',
'["12.9", "13.2"]' could be passed here to build both of those devcontainers in CI.
type: string
default: '["12.9", "13.2"]'
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"]'
push:
type: string
default: true
workflow_dispatch:
inputs:
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.9-pip/' and '.devcontainer/cuda13.2-pip/',
'["12.9", "13.2"]' could be passed here to build both of those devcontainers in CI.
type: string
default: '["12.9", "13.2"]'
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"]'
push:
type: boolean
default: true

jobs:
build:
name: Build devcontainers
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/build-devcontainers.yaml@main # zizmor: ignore[unpinned-uses]
permissions:
packages: write
with:
cuda: "${{ inputs.cuda }}"
python_package_manager: "${{ inputs.python_package_manager }}"
push: ${{ inputs.push }}
Loading
Loading