Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ccf7479

Browse files
authored
chore(ci): set benchmarking jobs to be interruptible outside main (#1356)
set benchmarking jobs to be interruptible outside main trigger ci Merge branch 'main' into augusto.deoliveira/apmsp-2369.ensure-correct-interrupt-policy Co-authored-by: augusto.deoliveira <[email protected]>
1 parent 3e9119a commit ccf7479

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.gitlab/benchmarks.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ benchmarks:
88
needs: []
99
image:
1010
name: $BASE_CI_IMAGE
11-
interruptible: true
11+
rules:
12+
- if: $CI_COMMIT_BRANCH == "main"
13+
interruptible: false
14+
- interruptible: true
1215
timeout: 1h
1316
script:
1417
- export ARTIFACTS_DIR="$(pwd)/reports" && (mkdir "${ARTIFACTS_DIR}" || :)

0 commit comments

Comments
 (0)