-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GPU CI updating workflow to parse information from/update GHA …
…workflow
- Loading branch information
1 parent
23e9fd9
commit 200bfc1
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,19 +13,23 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Parse current axis YAML | ||
- name: Fetch current RAPIDS versions from build matrix | ||
id: parse_yaml | ||
uses: the-coding-turtle/[email protected] | ||
with: | ||
file: ci/axis/dask.yaml | ||
export_to_envs: true | ||
return_to_outputs: false | ||
file: .github/workflows/build.yml | ||
export_to_envs: false | ||
return_to_outputs: true | ||
|
||
- name: Get old RAPIDS / UCX-Py versions | ||
env: | ||
OLD_RAPIDS_VER: ${{ steps.parse_yaml.outputs.jobs_docker_strategy_matrix_rapids_0 }} | ||
RAPIDS_VER: ${{ steps.parse_yaml.outputs.jobs_docker_strategy_matrix_rapids_1 }} | ||
run: | | ||
echo OLD_RAPIDS_VER=$RAPIDS_VER_0 >> $GITHUB_ENV | ||
echo OLD_UCX_PY_VER=$(curl -sL https://version.gpuci.io/rapids/$RAPIDS_VER_0) >> $GITHUB_ENV | ||
echo RAPIDS_VER=$RAPIDS_VER_1 >> $GITHUB_ENV | ||
echo UCX_PY_VER=$(curl -sL https://version.gpuci.io/rapids/$RAPIDS_VER_1) >> $GITHUB_ENV | ||
echo OLD_RAPIDS_VER=$OLD_RAPIDS_VER >> $GITHUB_ENV | ||
echo OLD_UCX_PY_VER=$(curl -sL https://version.gpuci.io/rapids/$OLD_RAPIDS_VER) >> $GITHUB_ENV | ||
echo RAPIDS_VER=$RAPIDS_VER >> $GITHUB_ENV | ||
echo UCX_PY_VER=$(curl -sL https://version.gpuci.io/rapids/$RAPIDS_VER) >> $GITHUB_ENV | ||
- name: Get latest cuDF nightly version | ||
id: cudf_latest | ||
|
@@ -54,31 +58,27 @@ jobs: | |
- name: Update new RAPIDS versions | ||
uses: jacobtomlinson/gha-find-replace@v2 | ||
with: | ||
include: 'ci/**' | ||
find: "${{ env.RAPIDS_VER }}" | ||
replace: "${{ env.NEW_RAPIDS_VER }}" | ||
regex: false | ||
|
||
- name: Update old RAPIDS versions | ||
uses: jacobtomlinson/gha-find-replace@v3 | ||
with: | ||
include: 'ci/**' | ||
find: "${{ env.OLD_RAPIDS_VER }}" | ||
replace: "${{ env.RAPIDS_VER }}" | ||
regex: false | ||
|
||
- name: Update new UCX-Py versions | ||
uses: jacobtomlinson/gha-find-replace@v3 | ||
with: | ||
include: 'ci/**' | ||
find: "${{ env.UCX_PY_VER }}" | ||
replace: "${{ env.NEW_UCX_PY_VER }}" | ||
regex: false | ||
|
||
- name: Update old UCX-Py versions | ||
uses: jacobtomlinson/gha-find-replace@v3 | ||
with: | ||
include: 'ci/**' | ||
find: "${{ env.OLD_UCX_PY_VER }}" | ||
replace: "${{ env.UCX_PY_VER }}" | ||
regex: false | ||
|