Skip to content

Commit e94b8de

Browse files
authored
use 'rapids-init-pip' in wheel CI, other CI changes (#1136)
Proposes a batch of small, mostly-unrelated changes to building and packaging. These are all part of RAPIDS-wide efforts to make it easier to reproduce CI locally and to use artifacts from one project's CI in another project's CI. Contributes to rapidsai/shared-workflows#356 * explicitly provides an input for `script` to workflows using it, instead of relying on a default value coming from the workflow file Contributes to rapidsai/build-planning#179 * adds a call to `rapids-init-pip` near the beginning of all CI scripts that use `pip` Contributes to rapidsai/gha-tools#145 * confirmed that `rapids-configure-conda-channels` is not used in any builds scripts using `rattler-build` Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Bradley Dice (https://github.com/bdice) URL: #1136
1 parent 789ce12 commit e94b8de

File tree

5 files changed

+7
-1
lines changed

5 files changed

+7
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
build_type: ${{ inputs.build_type || 'branch' }}
3434
branch: ${{ inputs.branch }}
3535
date: ${{ inputs.date }}
36+
script: ci/build_python.sh
3637
sha: ${{ inputs.sha }}
3738
upload-conda:
3839
needs: [conda-python-build]

.github/workflows/pr.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,15 @@ jobs:
4545
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
4646
with:
4747
build_type: pull-request
48+
script: ci/build_python.sh
4849
conda-python-tests:
4950
needs: conda-python-build
5051
secrets: inherit
5152
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
5253
with:
5354
build_type: pull-request
5455
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
56+
script: ci/test_python.sh
5557
wheel-build:
5658
needs: checks
5759
secrets: inherit

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
build_type: ${{ inputs.build_type }}
2525
branch: ${{ inputs.branch }}
2626
date: ${{ inputs.date }}
27+
script: ci/test_python.sh
2728
sha: ${{ inputs.sha }}
2829
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
2930
wheel-tests:

ci/build_wheel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
set -euo pipefail
55

66
source rapids-date-string
7+
source rapids-init-pip
78

89
rapids-generate-version > ./VERSION
910

ci/test_wheel.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
set -eoxu pipefail
55

6-
mkdir -p ./dist
6+
source rapids-init-pip
7+
78
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
89
PYTHON_WHEELHOUSE=$(RAPIDS_PY_WHEEL_NAME="ucx_py_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-github python)
910

0 commit comments

Comments
 (0)