summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-03-14 22:18:41 +0100
committerJakub Beránek <berykubik@gmail.com>2025-03-15 09:24:42 +0100
commit301c384262522d0c4b5577ffbd10642ee9bee24f (patch)
treef2fd39edb3f04caa8e070369507093adb63333e7 /.github
parent899eed15adfbcda55e0eb300c037fe8d444f188d (diff)
downloadrust-301c384262522d0c4b5577ffbd10642ee9bee24f.tar.gz
rust-301c384262522d0c4b5577ffbd10642ee9bee24f.zip
Do not fail the build if metrics postprocessing or DataDog upload fails
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 47ee02ab00e..01008d70b65 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -239,6 +239,9 @@ jobs:
         if: github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1'
 
       - name: postprocess metrics into the summary
+        # This step is not critical, and if some I/O problem happens, we don't want
+        # to cancel the build.
+        continue-on-error: true
         run: |
           if [ -f build/metrics.json ]; then
             METRICS=build/metrics.json  
@@ -253,6 +256,9 @@ jobs:
               ${METRICS} ${GITHUB_STEP_SUMMARY}
 
       - name: upload job metrics to DataDog
+        # This step is not critical, and if some I/O problem happens, we don't want
+        # to cancel the build.
+        continue-on-error: true
         if: needs.calculate_matrix.outputs.run_type != 'pr'
         env:
           DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}