aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2018-09-20 21:04:34 +0200
committerSonarTech <sonartech@sonarsource.com>2018-09-21 20:20:54 +0200
commitee5ca0ec3de7132ce2ab29df13d1049b84a18e92 (patch)
treebdeb2a8a498813102389af3eaa2c7c1279a477ed /.cirrus.yml
parent8123665684c3ea60147c3288e60378ecae65aacc (diff)
downloadsonarqube-ee5ca0ec3de7132ce2ab29df13d1049b84a18e92.tar.gz
sonarqube-ee5ca0ec3de7132ce2ab29df13d1049b84a18e92.zip
Fix ITs
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index c05638ccb1c..29353ee69ef 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -33,6 +33,7 @@ env:
build_task:
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
cluster_name: cirrus-cluster
@@ -50,6 +51,7 @@ build_task:
deploy_docs_task:
depends_on: build
only_if: $CIRRUS_BRANCH == 'dogfood-on-next'
+ 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
cluster_name: cirrus-cluster
@@ -63,12 +65,13 @@ deploy_docs_task:
validate_task:
depends_on: build
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
cluster_name: cirrus-cluster
zone: us-central1-a
namespace: default
- cpu: 3
+ cpu: 2
memory: 10Gb
additional_containers:
- name: postgres
@@ -89,6 +92,7 @@ validate_task:
qa_task:
depends_on: build
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
cluster_name: cirrus-cluster
@@ -116,6 +120,9 @@ qa_task:
QA_CATEGORY: Developer
QA_CATEGORY: Plugins
QA_CATEGORY: Upgrade
+ QA_CATEGORY: Governance
+ QA_CATEGORY: Billing
+ #QA_CATEGORY: Branch
gradle_cache:
folder: ~/.gradle/caches
script:
@@ -129,6 +136,7 @@ promote_task:
- validate
- qa
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
cluster_name: cirrus-cluster