-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'branch-23.08' into test-libxml2.11
- Loading branch information
Showing
13 changed files
with
244 additions
and
86 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
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
|
@@ -44,6 +44,8 @@ permissions: | |
security-events: none | ||
statuses: none | ||
|
||
env: | ||
GHA_TOOLS_DIR: /home/rapids/.local/bin # Workaround for https://github.com/actions/runner/issues/2411 | ||
|
||
jobs: | ||
test: | ||
|
@@ -65,11 +67,12 @@ jobs: | |
steps: | ||
- name: Install gha-tools | ||
run: | | ||
mkdir -p /tmp/gha-tools | ||
curl -s -L 'https://github.com/rapidsai/gha-tools/releases/latest/download/tools.tar.gz' | tar -xz -C /tmp/gha-tools | ||
echo "/tmp/gha-tools" >> "${GITHUB_PATH}" | ||
mkdir -p "$GHA_TOOLS_DIR" | ||
curl -s -L 'https://github.com/rapidsai/gha-tools/releases/latest/download/tools.tar.gz' | tar -xz -C "$GHA_TOOLS_DIR" | ||
- name: Install git | ||
run: rapids-mamba-retry install -n base --freeze-installed git | ||
run: | | ||
PATH="$PATH:$GHA_TOOLS_DIR" | ||
rapids-mamba-retry install -n base --freeze-installed git | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -79,20 +82,25 @@ jobs: | |
uses: rapidsai/shared-action-workflows/[email protected] | ||
- name: Print environment | ||
run: | | ||
PATH="$PATH:$GHA_TOOLS_DIR" | ||
rapids-print-env | ||
rapids-logger "nvidia-smi" | ||
nvidia-smi | ||
- name: Test notebooks | ||
run: /home/rapids/test_notebooks.py -i /home/rapids/notebooks -o /home/rapids/notebooks_output | ||
- name: Install awscli | ||
if: '!cancelled()' | ||
run: rapids-mamba-retry install -n base awscli | ||
- uses: aws-actions/configure-aws-credentials@v1-node16 | ||
run: | | ||
PATH="$PATH:$GHA_TOOLS_DIR" | ||
rapids-mamba-retry install -n base awscli | ||
- uses: aws-actions/configure-aws-credentials@v2 | ||
if: '!cancelled()' | ||
with: | ||
role-to-assume: ${{ vars.AWS_ROLE_ARN }} | ||
aws-region: ${{ vars.AWS_REGION }} | ||
role-duration-seconds: 1800 # 30m | ||
- name: Upload notebook test outputs | ||
if: '!cancelled()' | ||
run: rapids-upload-to-s3 test_notebooks_output_${{ inputs.ARCH }}_cuda${{ inputs.CUDA_VER }}_py${{ inputs.PYTHON_VER }}_${{ inputs.GPU }}-${{ inputs.DRIVER }}.tar.gz /home/rapids/notebooks_output | ||
run: | | ||
PATH="$PATH:$GHA_TOOLS_DIR" | ||
rapids-upload-to-s3 test_notebooks_output_${{ inputs.ARCH }}_cuda${{ inputs.CUDA_VER }}_py${{ inputs.PYTHON_VER }}_${{ inputs.GPU }}-${{ inputs.DRIVER }}.tar.gz /home/rapids/notebooks_output |
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 |
---|---|---|
|
@@ -11,16 +11,18 @@ on: | |
jobs: | ||
update-dask-sql: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rapidsai/ci:latest | ||
if: github.repository == 'rapidsai/docker' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Get current dask-sql version | ||
id: current_version | ||
uses: the-coding-turtle/[email protected] | ||
with: | ||
file: matrix.yaml | ||
run: | | ||
DASK_SQL_VER="$(yq -r '.DASK_SQL_VER.[0]' matrix.yaml)" | ||
echo "DASK_SQL_VER=${DASK_SQL_VER}" | tee -a ${GITHUB_OUTPUT} | ||
- name: Get new dask-sql version | ||
id: new_version | ||
|
@@ -35,8 +37,8 @@ jobs: | |
FULL_VER: ${{ steps.current_version.outputs.DASK_SQL_VER }} | ||
FULL_NEW_VER: ${{ steps.new_version.outputs.version }} | ||
run: | | ||
echo SHORT_VER=${FULL_VER::-2} >> $GITHUB_ENV | ||
echo SHORT_NEW_VER=${FULL_NEW_VER::-2} >> $GITHUB_ENV | ||
echo SHORT_VER=${FULL_VER%.*} >> $GITHUB_ENV | ||
echo SHORT_NEW_VER=${FULL_NEW_VER%.*} >> $GITHUB_ENV | ||
- name: Find and replace full dask-sql version | ||
uses: jacobtomlinson/gha-find-replace@v3 | ||
|
@@ -54,8 +56,8 @@ jobs: | |
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: Update `STABLE_DASK_SQL_VERSION` to `${{ steps.new_version.outputs.version }}` | ||
title: Update `STABLE_DASK_SQL_VERSION` to `${{ steps.new_version.outputs.version }}` | ||
commit-message: Update `DASK_SQL_VERSION` to `${{ steps.new_version.outputs.version }}` | ||
title: Update `DASK_SQL_VERSION` to `${{ steps.new_version.outputs.version }}` | ||
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | ||
branch: "upgrade-dask-sql" | ||
body: | | ||
|
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
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
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
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
Oops, something went wrong.