diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 699efc636..63948c666 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -9,6 +9,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +env: + SHARED_ACTIONS_REF: better-download-error-handling + jobs: pr-builder: needs: @@ -40,7 +43,7 @@ jobs: # This gate is here and not at the job level because we need the job to not be skipped, # since other jobs depend on it. if: ${{ vars.TELEMETRY_ENABLED == 'true' }} - uses: rapidsai/shared-actions/telemetry-dispatch-stash-base-env-vars@main + uses: rapidsai/shared-actions/telemetry-dispatch-stash-base-env-vars@better-download-error-handling check-nightly-ci: # Switch to ubuntu-latest once it defaults to a version of Ubuntu that # provides at least Python 3.11 (see @@ -57,7 +60,7 @@ jobs: needs: - telemetry-setup secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/changed-files.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/changed-files.yaml@github-token-attr-split with: files_yaml: | test_cpp: @@ -79,40 +82,40 @@ jobs: secrets: inherit needs: - telemetry-setup - uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@github-token-attr-split with: enable_check_generated_files: false ignored_pr_jobs: telemetry-summarize - conda-cpp-build: + conda-cpp-build: needs: checks secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@github-token-attr-split with: build_type: pull-request conda-cpp-tests: needs: [conda-cpp-build, changed-files] secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@github-token-attr-split if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp with: build_type: pull-request conda-python-build: needs: conda-cpp-build secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@github-token-attr-split with: build_type: pull-request conda-python-tests: needs: [conda-python-build, changed-files] secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@github-token-attr-split if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python with: build_type: pull-request docs-build: needs: conda-python-build secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@github-token-attr-split with: build_type: pull-request node_type: "gpu-l4-latest-1" @@ -122,7 +125,7 @@ jobs: wheel-build-cpp: needs: checks secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@github-token-attr-split with: matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber))) build_type: pull-request @@ -130,14 +133,14 @@ jobs: wheel-build-python: needs: wheel-build-cpp secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@github-token-attr-split with: build_type: pull-request script: ci/build_wheel_python.sh wheel-tests: needs: [wheel-build-python, changed-files] secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@github-token-attr-split if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python with: build_type: pull-request @@ -146,7 +149,7 @@ jobs: secrets: inherit needs: - telemetry-setup - uses: rapidsai/shared-workflows/.github/workflows/build-in-devcontainer.yaml@nvks-runners + uses: rapidsai/shared-workflows/.github/workflows/build-in-devcontainer.yaml@github-token-attr-split with: arch: '["amd64"]' cuda: '["12.8"]' @@ -163,4 +166,6 @@ jobs: continue-on-error: true steps: - name: Telemetry summarize - uses: rapidsai/shared-actions/telemetry-dispatch-summarize@main + uses: rapidsai/shared-actions/telemetry-dispatch-summarize@better-download-error-handling + with: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/ci/build_cpp.sh b/ci/build_cpp.sh index 1ab555bc0..bf4b55f21 100755 --- a/ci/build_cpp.sh +++ b/ci/build_cpp.sh @@ -19,6 +19,6 @@ sccache --zero-stats # This calls mambabuild when boa is installed (as is the case in the CI images) RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) rapids-conda-retry mambabuild conda/recipes/librmm -sccache --show-adv-stats +sccache --show-adv-stats | tee telemetry-artifacts/sccache-stats.txt rapids-upload-conda-to-s3 cpp diff --git a/ci/build_python.sh b/ci/build_python.sh index 98f57c34b..1b25e1541 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -23,6 +23,6 @@ sccache --zero-stats # This calls mambabuild when boa is installed (as is the case in the CI images) RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry mambabuild -c "${CPP_CHANNEL}" conda/recipes/rmm -sccache --show-adv-stats +sccache --show-adv-stats | tee telemetry-artifacts/sccache-stats.txt rapids-upload-conda-to-s3 python diff --git a/ci/build_wheel_cpp.sh b/ci/build_wheel_cpp.sh index 9396e9cc5..d1c31a7f2 100755 --- a/ci/build_wheel_cpp.sh +++ b/ci/build_wheel_cpp.sh @@ -18,7 +18,7 @@ sccache --zero-stats rapids-pip-retry wheel . -w dist -v --no-deps --disable-pip-version-check -sccache --show-adv-stats +sccache --show-adv-stats | tee telemetry-artifacts/sccache-stats.txt python -m wheel tags --platform any dist/* --remove diff --git a/ci/build_wheel_python.sh b/ci/build_wheel_python.sh index c61397fe2..e3a604b4b 100755 --- a/ci/build_wheel_python.sh +++ b/ci/build_wheel_python.sh @@ -27,7 +27,7 @@ sccache --zero-stats PIP_CONSTRAINT="${PWD}/build-constraints.txt" \ rapids-pip-retry wheel . -w dist -v --no-deps --disable-pip-version-check -sccache --show-adv-stats +sccache --show-adv-stats | tee telemetry-artifacts/sccache-stats.txt mkdir -p final_dist python -m auditwheel repair -w final_dist dist/*