github.env.TEMPO_HOST -> env.TEMPO_HOST #1840
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
name: pr | ||
on: | ||
push: | ||
branches: | ||
- "pull-request/[0-9]+" | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
env: | ||
TEMPO_HOST: https://136.49.91.190:4318 | ||
jobs: | ||
telemetry-setup: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
traceparent: ${{ steps.telemetry-setup.outputs.traceparent }} | ||
steps: | ||
# Temporary until ci-imgs build with | ||
# https://github.com/rapidsai/gha-tools/commit/8bd8fca71b5fae38b1493c547d15e73da40b32e1#diff-f1f054b2906bfd36ad706ed2fa6aa028fa529e65b25167e4ca7ca45546d59ed8R14 | ||
# is available. The PR is merged, but at time of writing, no ci-imgs builds have been released to pick it up. | ||
- name: Download gha-tools with git clone | ||
run: | | ||
git clone https://github.com/rapidsai/gha-tools.git /tmp/gha-tools | ||
echo "/tmp/gha-tools/tools" >> "${GITHUB_PATH}" | ||
- name: Telemetry setup | ||
id: telemetry-setup | ||
uses: rapidsai/shared-actions/telemetry-traceparent@add-telemetry | ||
pr-builder: | ||
needs: | ||
- changed-files | ||
- checks | ||
- telemetry-setup | ||
- conda-cpp-build | ||
- conda-cpp-tests | ||
- conda-python-build | ||
- conda-python-tests | ||
- docs-build | ||
- wheel-build-cpp | ||
- wheel-build-python | ||
- wheel-tests | ||
- devcontainer | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@add-telemetry | ||
if: always() | ||
with: | ||
needs: ${{ toJSON(needs) }} | ||
changed-files: | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/changed-files.yaml@add-telemetry | ||
with: | ||
files_yaml: | | ||
test_cpp: | ||
- '**' | ||
- '!.devcontainer/**' | ||
- '!.pre-commit-config.yaml' | ||
- '!CONTRIBUTING.md' | ||
- '!README.md' | ||
- '!img/**' | ||
- '!python/**' | ||
test_python: | ||
- '**' | ||
- '!.devcontainer/**' | ||
- '!.pre-commit-config.yaml' | ||
- '!CONTRIBUTING.md' | ||
- '!README.md' | ||
- '!img/**' | ||
checks: | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@add-telemetry | ||
with: | ||
enable_check_generated_files: false | ||
conda-cpp-build: | ||
needs: | ||
- telemetry-setup | ||
- checks | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@add-telemetry | ||
with: | ||
build_type: pull-request | ||
traceparent: ${{ needs.telemetry-setup.outputs.traceparent }} | ||
default_endpoint: ${{ env.TEMPO_HOST }} | ||
Check failure on line 84 in .github/workflows/pr.yaml GitHub Actions / prInvalid workflow file
|
||
conda-cpp-tests: | ||
needs: [conda-cpp-build, changed-files] | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@add-telemetry | ||
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp | ||
with: | ||
build_type: pull-request | ||
conda-python-build: | ||
needs: | ||
- conda-cpp-build | ||
- telemetry-setup | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@add-telemetry | ||
with: | ||
build_type: pull-request | ||
traceparent: ${{ needs.telemetry-setup.outputs.traceparent }} | ||
default_endpoint: ${{ env.TEMPO_HOST }} | ||
conda-python-tests: | ||
needs: [conda-python-build, changed-files] | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@add-telemetry | ||
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python | ||
with: | ||
build_type: pull-request | ||
docs-build: | ||
needs: | ||
- conda-python-build | ||
- telemetry-setup | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@add-telemetry | ||
with: | ||
build_type: pull-request | ||
node_type: "gpu-v100-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: "ci/build_docs.sh" | ||
traceparent: ${{ needs.telemetry-setup.outputs.traceparent }} | ||
default_endpoint: ${{ env.TEMPO_HOST }} | ||
wheel-build-cpp: | ||
needs: | ||
- checks | ||
- telemetry-setup | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@add-telemetry | ||
with: | ||
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber))) | ||
build_type: pull-request | ||
script: ci/build_wheel_cpp.sh | ||
traceparent: ${{ needs.telemetry-setup.outputs.traceparent }} | ||
default_endpoint: ${{ env.TEMPO_HOST }} | ||
wheel-build-python: | ||
needs: | ||
- wheel-build-cpp | ||
- telemetry-setup | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@add-telemetry | ||
with: | ||
build_type: pull-request | ||
script: ci/build_wheel_python.sh | ||
traceparent: ${{ needs.telemetry-setup.outputs.traceparent }} | ||
default_endpoint: ${{ env.TEMPO_HOST }} | ||
wheel-tests: | ||
needs: [wheel-build-python, changed-files] | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@add-telemetry | ||
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python | ||
with: | ||
build_type: pull-request | ||
script: ci/test_wheel.sh | ||
devcontainer: | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/build-in-devcontainer.yaml@add-telemetry | ||
needs: | ||
- telemetry-setup | ||
with: | ||
arch: '["amd64"]' | ||
cuda: '["12.5"]' | ||
traceparent: ${{ needs.telemetry-setup.outputs.traceparent }} | ||
default_endpoint: ${{ env.TEMPO_HOST }} | ||
build_command: | | ||
sccache -z; | ||
build-all -DBUILD_BENCHMARKS=ON --verbose; | ||
sccache -s; |