aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-09-24 17:16:30 +0200
committerSonarTech <sonartech@sonarsource.com>2018-09-24 20:20:59 +0200
commit90c9dee7d1cd167658bb6be1a7554f9883d9b0c0 (patch)
treef47e47a7f04f20466277cd5a8395919897d7b665 /.cirrus.yml
parent4aebb15d2085d22ac3b8b1818f0ffcb7a1c1047a (diff)
downloadsonarqube-90c9dee7d1cd167658bb6be1a7554f9883d9b0c0.tar.gz
sonarqube-90c9dee7d1cd167658bb6be1a7554f9883d9b0c0.zip
Do not execute Cirrus tasks on dogfood feature branches
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 8a643c2c48b..738f5a5499a 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -32,7 +32,7 @@ env:
CI_ENV: cirrus
build_task:
- only_if: $CIRRUS_BRANCH !=~ "dogfood/*" && $CIRRUS_BRANCH != "public_master"
+ only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master"
auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'branch.*' && $CIRRUS_BRANCH != 'dogfood-on-next'
gke_container:
image: gradle:4.10.1-jdk8
@@ -64,7 +64,7 @@ deploy_docs_task:
validate_task:
depends_on: build
- only_if: $CIRRUS_BRANCH !=~ "dogfood/*" && $CIRRUS_BRANCH != "public_master"
+ only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master"
auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'branch.*' && $CIRRUS_BRANCH != 'dogfood-on-next'
gke_container:
image: gcr.io/ci-cd-215716/sonar-enterprise-build:0.0.2
@@ -91,7 +91,7 @@ validate_task:
qa_task:
depends_on: build
- only_if: $CIRRUS_BRANCH !=~ "dogfood/*" && $CIRRUS_BRANCH != "public_master"
+ only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master"
auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'branch.*' && $CIRRUS_BRANCH != 'dogfood-on-next'
gke_container:
image: gcr.io/ci-cd-215716/sonar-enterprise-qa:0.0.1
@@ -136,7 +136,7 @@ promote_task:
- build
- validate
- qa
- only_if: $CIRRUS_BRANCH !=~ "dogfood/*" && $CIRRUS_BRANCH != "public_master"
+ only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master"
auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'branch.*' && $CIRRUS_BRANCH != 'dogfood-on-next'
gke_container:
image: gcr.io/ci-cd-215716/sonar-enterprise-bash:0.0.1