Skip to content

Commit 3767871

Browse files
committed
set benchmarking jobs to be interruptible outside main
1 parent e7120b3 commit 3767871

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.gitlab/benchmarks.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ benchmarks:
66
when: on_success
77
tags: ["runner:apm-k8s-tweaked-metal"]
88
image: $BENCHMARKS_CI_IMAGE
9-
interruptible: true
9+
rules:
10+
- if: $CI_COMMIT_BRANCH == "main"
11+
interruptible: false
12+
- interruptible: true
1013
timeout: 15m
1114
script:
1215
- export ARTIFACTS_DIR="$(pwd)/reports" && (mkdir "${ARTIFACTS_DIR}" || :)
@@ -38,6 +41,10 @@ check-big-regressions:
3841
stage: benchmarks-report
3942
needs: [ benchmarks ]
4043
when: on_success
44+
rules:
45+
- if: $CI_COMMIT_BRANCH == "main"
46+
interruptible: false
47+
- interruptible: true
4148
allow_failure: false
4249
tags: ["arch:amd64"]
4350
image: $BENCHMARKS_CI_IMAGE

0 commit comments

Comments
 (0)