aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2019-07-02 23:45:01 +0200
committerSonarTech <sonartech@sonarsource.com>2019-07-03 20:21:14 +0200
commitc48b26e63d2842ef3bc4cf1ee77e7401cc821a22 (patch)
tree54072a01da50a7ff0fac9cc54cf2fce558ecc496 /.cirrus.yml
parent3e408f00b673089a4ec4ec22917f380630bf26d7 (diff)
downloadsonarqube-c48b26e63d2842ef3bc4cf1ee77e7401cc821a22.tar.gz
sonarqube-c48b26e63d2842ef3bc4cf1ee77e7401cc821a22.zip
Use special branch for nightly DB tests
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml17
1 files changed, 8 insertions, 9 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index d4941a0c686..9569bd0cf0c 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -79,7 +79,7 @@ deploy_docs_task:
validate_task:
depends_on: build
- only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_TAG != "nightly-build"
+ only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "nightly-build"
timeout_in: 90m
gke_container:
dockerfile: private/docker/Dockerfile-build
@@ -114,7 +114,7 @@ validate_task:
qa_task:
depends_on: build
- only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_TAG != "nightly-build"
+ only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "nightly-build"
gke_container:
dockerfile: private/docker/Dockerfile-build
builder_image_project: ci-cd-215716
@@ -172,7 +172,7 @@ promote_task:
- build
- validate
- qa
- only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_TAG != "nightly-build"
+ only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "nightly-build"
gke_container:
dockerfile: private/docker/Dockerfile-build
builder_image_project: ci-cd-215716
@@ -194,7 +194,7 @@ test_sql_mssql2017_task:
depends_on: build
# Comment the following line and commit with message "DO NOT MERGE" in order to run
# this task on your branch
- only_if: $CIRRUS_TAG == "nightly-build"
+ only_if: $CIRRUS_BRANCH == "nightly-build"
gke_container:
image: gradle:5.4.1-jdk11
cluster_name: cirrus-euw3a-cluster
@@ -225,13 +225,12 @@ test_sql_mssql2017_task:
path: "**/test-results/**/*.xml"
format: junit
-
# this is the oldest compatible version of PostgreSQL
test_sql_postgres93_task:
depends_on: build
# Comment the following line and commit with message "DO NOT MERGE" in order to run
# this task on your branch
- only_if: $CIRRUS_TAG == "nightly-build"
+ only_if: $CIRRUS_BRANCH == "nightly-build"
gke_container:
image: gradle:5.4.1-jdk11
cluster_name: cirrus-euw3a-cluster
@@ -265,7 +264,7 @@ test_sql_oracle12_task:
depends_on: build
# Comment the following line and commit with message "DO NOT MERGE" in order to run
# this task on your branch
- only_if: $CIRRUS_TAG == "nightly-build"
+ only_if: $CIRRUS_BRANCH == "nightly-build"
gke_container:
image: gradle:5.4.1-jdk11
cluster_name: cirrus-euw3a-cluster
@@ -298,7 +297,7 @@ test_upgrade_mssql2017_task:
depends_on: build
# Comment the following line and commit with message "DO NOT MERGE" in order to run
# this task on your branch
- only_if: $CIRRUS_TAG == "nightly-build"
+ only_if: $CIRRUS_BRANCH == "nightly-build"
gke_container:
dockerfile: private/docker/Dockerfile-build
builder_image_project: ci-cd-215716
@@ -343,7 +342,7 @@ test_upgrade_oracle12_task:
depends_on: build
# Comment the following line and commit with message "DO NOT MERGE" in order to run
# this task on your branch
- only_if: $CIRRUS_TAG == "nightly-build"
+ only_if: $CIRRUS_BRANCH == "nightly-build"
gke_container:
dockerfile: private/docker/Dockerfile-build
builder_image_project: ci-cd-215716