Skip to content

Commit 8db54df

Browse files
authored
docs-build: switch to RTX Pro 6000 (#229)
Contributes to rapidsai/build-planning#333 Updates to hopefully reduce the risk of `docs-build` jobs getting stuck waiting for CI runners. * switches those jobs to RTX Pro 6000 runners * uses shared `docs-build` matrix to set job details Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Bradley Dice (https://github.com/bdice) URL: #229
1 parent bc6ad26 commit 8db54df

2 files changed

Lines changed: 29 additions & 7 deletions

File tree

.github/workflows/build.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,28 @@ concurrency:
3333
cancel-in-progress: true
3434
permissions: {}
3535
jobs:
36+
docs-build-matrix:
37+
permissions:
38+
contents: read
39+
uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
40+
with:
41+
build_type: ${{ inputs.build_type || 'branch' }}
42+
matrix_name: docs-build
3643
docs-build:
44+
needs: [docs-build-matrix]
3745
if: github.ref_type == 'branch'
3846
secrets: inherit # zizmor: ignore[secrets-inherit]
3947
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
48+
strategy:
49+
fail-fast: false
50+
matrix: ${{ fromJSON(needs.docs-build-matrix.outputs.matrix) }}
4051
with:
41-
arch: "amd64"
52+
arch: "${{ matrix.arch }}"
4253
branch: ${{ inputs.branch }}
4354
build_type: ${{ inputs.build_type || 'branch' }}
44-
container_image: "rapidsai/ci-conda:26.12-latest"
55+
container_image: "rapidsai/ci-conda:26.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
4556
date: ${{ inputs.date }}
46-
node_type: "gpu-l4-latest-1"
57+
node_type: "gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1"
4758
script: "ci/build_docs.sh"
4859
sha: ${{ inputs.sha }}
4960
permissions:

.github/workflows/pr.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- telemetry-setup
1616
- checks
1717
- docs-build
18+
- docs-build-matrix
1819
- publish-api-docs
1920
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@main
2021
if: always()
@@ -38,15 +39,25 @@ jobs:
3839
ignored_pr_jobs: "telemetry-summarize"
3940
permissions:
4041
contents: read
42+
docs-build-matrix:
43+
permissions:
44+
contents: read
45+
uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
46+
with:
47+
build_type: pull-request
48+
matrix_name: docs-build
4149
docs-build:
42-
needs: checks
50+
needs: [docs-build-matrix, checks]
4351
secrets: inherit # zizmor: ignore[secrets-inherit]
4452
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
53+
strategy:
54+
fail-fast: false
55+
matrix: ${{ fromJSON(needs.docs-build-matrix.outputs.matrix) }}
4556
with:
4657
build_type: pull-request
47-
node_type: "gpu-l4-latest-1"
48-
arch: "amd64"
49-
container_image: "rapidsai/ci-conda:26.12-latest"
58+
node_type: "gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1"
59+
arch: "${{ matrix.arch }}"
60+
container_image: "rapidsai/ci-conda:26.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
5061
script: "ci/build_docs.sh"
5162
permissions:
5263
actions: read

0 commit comments

Comments
 (0)