diff --git a/.gitlab/benchmarks.yml b/.gitlab/benchmarks.yml index a0bf1dbb015..a47eae03dff 100644 --- a/.gitlab/benchmarks.yml +++ b/.gitlab/benchmarks.yml @@ -9,7 +9,10 @@ variables: .benchmarks: stage: benchmarks needs: [ ] - when: on_success + rules: + - if: '$CI_COMMIT_REF_NAME =~ /^graphite-base\/.*$/' + when: never + - when: on_success tags: ["runner:apm-k8s-m7i-metal"] image: $MICROBENCHMARKS_CI_IMAGE rules: @@ -38,7 +41,10 @@ variables: benchmarks-pr-comment: stage: benchmarks-pr-comment needs: [ benchmark, benchmark-serverless ] - when: on_success + rules: + - if: '$CI_COMMIT_REF_NAME =~ /^graphite-base\/.*$/' + when: never + - when: on_success tags: ["arch:amd64"] image: $MICROBENCHMARKS_CI_IMAGE script: @@ -49,7 +55,10 @@ benchmarks-pr-comment: check-big-regressions: stage: benchmarks-pr-comment needs: [ benchmark, benchmark-serverless ] - when: on_success + rules: + - if: '$CI_COMMIT_REF_NAME =~ /^graphite-base\/.*$/' + when: never + - when: on_success tags: ["arch:amd64"] image: $MICROBENCHMARKS_CI_IMAGE script: diff --git a/.gitlab/macrobenchmarks.yml b/.gitlab/macrobenchmarks.yml index ec0cc663915..7a930766339 100644 --- a/.gitlab/macrobenchmarks.yml +++ b/.gitlab/macrobenchmarks.yml @@ -8,6 +8,8 @@ include: stage: macrobenchmarks when: always rules: + - if: '$CI_COMMIT_REF_NAME =~ /^graphite-base\/.*$/' + when: never - if: $CI_COMMIT_BRANCH == 'master' interruptible: false - interruptible: true