Skip to content

Commit d9a07cb

Browse files
committed
Upload Datadog average CPU usage metric in citool
1 parent 809fde3 commit d9a07cb

File tree

7 files changed

+795
-20
lines changed

7 files changed

+795
-20
lines changed

.github/workflows/ci.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,9 @@ jobs:
215215
- name: upload job metrics to DataDog
216216
if: needs.calculate_matrix.outputs.run_type != 'pr'
217217
env:
218-
DATADOG_SITE: datadoghq.com
219218
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
220219
DD_GITHUB_JOB_NAME: ${{ matrix.full_name }}
221-
run: |
222-
cd src/ci
223-
npm ci
224-
python3 scripts/upload-build-metrics.py ../../build/cpu-usage.csv
220+
run: ./src/ci/citool/target/debug/citool upload-build-metrics ../../build/cpu-usage.csv
225221

226222
# This job isused to tell bors the final status of the build, as there is no practical way to detect
227223
# when a workflow is successful listening to webhooks only in our current bors implementation (homu).

0 commit comments

Comments
 (0)