Skip to content
Merged
24 changes: 13 additions & 11 deletions .github/workflows/conda-cpp-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ on:
required: false
type: string
default: "-e _NOOP"
build_workflow_name:
description: |
Name of a workflow file that produced artifacts to be downloaded in this run.
If not set (the default), artifact-handling scripts use RAPIDS-conventional defaults (like "build.yaml" when "build_type == nightly").
required: false
type: string

defaults:
run:
Expand Down Expand Up @@ -157,17 +163,13 @@ jobs:
extra_attributes: "rapids.PACKAGER=conda,rapids.CUDA_VER=${{ matrix.CUDA_VER }},rapids.PY_VER=${{ matrix.PY_VER }},rapids.ARCH=${{ matrix.ARCH }},rapids.LINUX_VER=${{ matrix.LINUX_VER }},rapids.GPU=${{ matrix.GPU }},rapids.DRIVER=${{ matrix.DRIVER }},rapids.DEPENDENCIES=${{ matrix.DEPENDENCIES }}"

- name: Standardize repository information
env:
RAPIDS_REPOSITORY: ${{ inputs.repo || github.repository }}
RAPIDS_REF_NAME: ${{ inputs.branch || github.ref_name }}
RAPIDS_NIGHTLY_DATE: ${{ inputs.date }}
run: |
{
echo "RAPIDS_REPOSITORY=${RAPIDS_REPOSITORY}"
echo "RAPIDS_SHA=$(git rev-parse HEAD)"
echo "RAPIDS_REF_NAME=${RAPIDS_REF_NAME}"
echo "RAPIDS_NIGHTLY_DATE=${RAPIDS_NIGHTLY_DATE}"
} >> "${GITHUB_ENV}"
uses: rapidsai/shared-actions/rapids-github-info@main
with:
repo: ${{ inputs.repo }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
build_workflow_name: ${{ inputs.build_workflow_name }}

- name: Setup proxy cache
uses: nv-gha-runners/setup-proxy-cache@main
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/conda-python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ on:
required: false
type: string
default: "-e _NOOP"
build_workflow_name:
description: |
Name of a workflow file that produced artifacts to be downloaded in this run.
If not set (the default), artifact-handling scripts use RAPIDS-conventional defaults (like "build.yaml" when "build_type == nightly").
required: false
type: string

defaults:
run:
Expand Down Expand Up @@ -153,17 +159,13 @@ jobs:
fetch-depth: 0

- name: Standardize repository information
env:
RAPIDS_REPOSITORY: ${{ inputs.repo || github.repository }}
RAPIDS_REF_NAME: ${{ inputs.branch || github.ref_name }}
RAPIDS_NIGHTLY_DATE: ${{ inputs.date }}
run: |
{
echo "RAPIDS_REPOSITORY=${RAPIDS_REPOSITORY}"
echo "RAPIDS_SHA=$(git rev-parse HEAD)"
echo "RAPIDS_REF_NAME=${RAPIDS_REF_NAME}"
echo "RAPIDS_NIGHTLY_DATE=${RAPIDS_NIGHTLY_DATE}"
} >> "${GITHUB_ENV}"
uses: rapidsai/shared-actions/rapids-github-info@main
with:
repo: ${{ inputs.repo }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
build_workflow_name: ${{ inputs.build_workflow_name }}

# This has to be AFTER the checkout step. It creates a telemetry-artifacts directory,
# and the checkout step would destroy it.
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/custom-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ on:
type: boolean
required: false
default: false
build_workflow_name:
description: |
Name of a workflow file that produced artifacts to be downloaded in this run.
If not set (the default), artifact-handling scripts use RAPIDS-conventional defaults (like "build.yaml" when "build_type == nightly").
required: false
type: string

defaults:
run:
Expand Down Expand Up @@ -88,17 +94,13 @@ jobs:
run: |
echo "RAPIDS_BASE_BRANCH=${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.ref }}" >> "${GITHUB_ENV}"
- name: Standardize repository information
env:
RAPIDS_REPOSITORY: ${{ inputs.repo || github.repository }}
RAPIDS_REF_NAME: ${{ inputs.branch || github.ref_name }}
RAPIDS_NIGHTLY_DATE: ${{ inputs.date }}
run: |
{
echo "RAPIDS_REPOSITORY=${RAPIDS_REPOSITORY}"
echo "RAPIDS_SHA=$(git rev-parse HEAD)"
echo "RAPIDS_REF_NAME=${RAPIDS_REF_NAME}"
echo "RAPIDS_NIGHTLY_DATE=${RAPIDS_NIGHTLY_DATE}"
} >> "${GITHUB_ENV}"
uses: rapidsai/shared-actions/rapids-github-info@main
with:
repo: ${{ inputs.repo }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
build_workflow_name: ${{ inputs.build_workflow_name }}
# Per the docs at https://docs.github.com/en/rest/rate-limit/rate-limit?apiVersion=2022-11-28#get-rate-limit-status-for-the-authenticated-user,
# checking '/rate_limit | jq .' should not itself count against any rate limits.
- name: Check GitHub API rate limits
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/wheels-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ on:
required: false
type: string
default: ''
build_workflow_name:
description: |
Name of a workflow file that produced artifacts to be downloaded in this run.
If not set (the default), artifact-handling scripts use RAPIDS-conventional defaults (like "build.yaml" when "build_type == nightly").
required: false
type: string

defaults:
run:
Expand Down Expand Up @@ -176,6 +182,7 @@ jobs:
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
build_workflow_name: ${{ inputs.build_workflow_name }}

- name: Setup proxy cache
uses: nv-gha-runners/setup-proxy-cache@main
Expand Down