diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-02-13 17:23:44 +0100 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-03-05 12:13:29 +0100 |
| commit | 6130b3da18530c0b735d9dd631df1ddb66319430 (patch) | |
| tree | 61439ec413549dc50588afa53a086886654f11e0 /.github | |
| parent | 26e42de17c57e79a176da5782d6d92e6ae17a410 (diff) | |
| download | rust-6130b3da18530c0b735d9dd631df1ddb66319430.tar.gz rust-6130b3da18530c0b735d9dd631df1ddb66319430.zip | |
Upload Datadog average CPU usage metric in citool
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be4919ce1a3..f166e0c0b41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -183,7 +183,7 @@ jobs: run: src/ci/scripts/dump-environment.sh # Pre-build citool before the following step uninstalls rustup - # Build is into the build directory, to avoid modifying sources + # Build it into the build directory, to avoid modifying sources - name: build citool run: | cd src/ci/citool @@ -238,13 +238,9 @@ jobs: - name: upload job metrics to DataDog if: needs.calculate_matrix.outputs.run_type != 'pr' env: - DATADOG_SITE: datadoghq.com DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }} DD_GITHUB_JOB_NAME: ${{ matrix.full_name }} - run: | - cd src/ci - npm ci - python3 scripts/upload-build-metrics.py ../../build/cpu-usage.csv + run: ./build/citool/debug/citool upload-build-metrics build/cpu-usage.csv # This job isused to tell bors the final status of the build, as there is no practical way to detect # when a workflow is successful listening to webhooks only in our current bors implementation (homu). |
