Skip to content

Commit b0367bd

Browse files
committed
set benchmarking jobs to be interruptible outside master
1 parent 4596de2 commit b0367bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitlab/benchmarks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
- if: '$CI_COMMIT_TAG =~ /^v?[0-9]+\.[0-9]+\.[0-9]+$/'
1212
when: manual
1313
allow_failure: true
14+
- if: '$CI_COMMIT_BRANCH == "master"'
15+
when: on_success
16+
interruptible: false
1417
- when: on_success
18+
interruptible: true
1519
script:
1620
- export ARTIFACTS_DIR="$(pwd)/reports" && mkdir -p "${ARTIFACTS_DIR}"
1721
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/".insteadOf "https://github.com/DataDog/"

0 commit comments

Comments
 (0)