update branch for shared-actions and gha-tools to main #1830
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]+" | |
env: | |
OTEL_SERVICE_NAME: rmm-pr | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
telemetry-setup: | |
runs-on: ubuntu-latest | |
outputs: | |
traceparent: ${{ steps.top-level-traceparent.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: top-level-traceparent | |
uses: rapidsai/shared-actions/telemetry-traceparent@main | |
pr-builder: | |
needs: | |
- telemetry-setup | |
- conda-cpp-build | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
if: always() | |
with: | |
needs: ${{ toJSON(needs) }} | |
conda-cpp-build: | |
needs: | |
- telemetry-setup | |
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: "https://136.49.91.190:4318" |