File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,28 @@ jobs:
17
17
- conda-python-tests
18
18
- wheel-build
19
19
- wheel-tests
20
+ - telemetry-setup
20
21
secrets : inherit
21
22
uses : rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@nvks-runners
23
+ with :
24
+ needs : ${{ toJSON(needs) }}
25
+ telemetry-setup :
26
+ runs-on : ubuntu-latest
27
+ continue-on-error : true
28
+ env :
29
+ OTEL_SERVICE_NAME : " pr-ucx-py"
30
+ steps :
31
+ - name : Telemetry setup
32
+ # This gate is here and not at the job level because we need the job to not be skipped,
33
+ # since other jobs depend on it.
34
+ if : ${{ vars.TELEMETRY_ENABLED == 'true' }}
35
+ uses : rapidsai/shared-actions/telemetry-dispatch-stash-base-env-vars@main
22
36
checks :
23
37
secrets : inherit
38
+ needs : telemetry-setup
24
39
uses : rapidsai/shared-workflows/.github/workflows/checks.yaml@nvks-runners
40
+ with :
41
+ ignored_pr_jobs : telemetry-summarize
25
42
conda-python-build :
26
43
needs : checks
27
44
secrets : inherit
50
67
build_type : pull-request
51
68
script : ci/test_wheel.sh
52
69
container-options : " --cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
70
+ telemetry-summarize :
71
+ # This job must use a self-hosted runner to record telemetry traces.
72
+ runs-on : linux-amd64-cpu4
73
+ needs : pr-builder
74
+ if : ${{ vars.TELEMETRY_ENABLED == 'true' && !cancelled() }}
75
+ continue-on-error : true
76
+ steps :
77
+ - name : Telemetry summarize
78
+ uses : rapidsai/shared-actions/telemetry-dispatch-summarize@main
You can’t perform that action at this time.
0 commit comments