install gha-tools until new scripts are merged #1829
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: | |
- name: Download gha-tools with git clone | |
run: | | |
git clone https://github.com/msarahan/gha-tools.git -b add-telemetry-traceparent-scripts /tmp/gha-tools | |
echo "/tmp/gha-tools/tools" >> "${GITHUB_PATH}" | |
- name: Telemetry setup | |
id: top-level-traceparent | |
uses: rapidsai/shared-actions/telemetry-traceparent@add-telemetry | |
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" |