aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2020-01-17 14:42:35 +0100
committerSonarTech <sonartech@sonarsource.com>2020-02-20 20:46:15 +0100
commit86c1985fc650d5b5d30d8afa2a32e599b136f847 (patch)
treeaada57c292cdc1547d484c89749fef7595c4d860 /.cirrus.yml
parentaccb6a680a3f6d5bd6925067ba4e9f09dd3d1a57 (diff)
downloadsonarqube-86c1985fc650d5b5d30d8afa2a32e599b136f847.tar.gz
sonarqube-86c1985fc650d5b5d30d8afa2a32e599b136f847.zip
enable back HA QA axis on all builds
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml45
1 files changed, 1 insertions, 44 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 184fa143d80..dc93d7ced69 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -143,6 +143,7 @@ qa_task:
QA_CATEGORY: License
QA_CATEGORY: Branch
QA_CATEGORY: Upgrade
+ QA_CATEGORY: HA
script:
- ./private/cirrus/cirrus-qa.sh postgres106
on_failure:
@@ -154,50 +155,6 @@ qa_task:
path: "**/test-results/**/*.xml"
format: junit
-qa_ha_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_BRANCH == "branch-nightly-build"
- gke_container:
- dockerfile: private/docker/Dockerfile-build
- builder_image_project: ci-cd-215716
- builder_image_name: docker-builder-v1
- cluster_name: cirrus-uscentral1a-cluster
- zone: us-central1-a
- namespace: default
- cpu: 2.4
- memory: 10Gb
- additional_containers:
- - name: postgres
- image: postgres:12.1
- port: 5432
- cpu: 1
- memory: 1Gb
- env:
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: postgres
- env:
- # No need to clone the full history.
- # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
- # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
- CIRRUS_CLONE_DEPTH: 50
- QA_CATEGORY: HA
- gradle_cache:
- folder: ~/.gradle/caches
- script:
- - ./private/cirrus/cirrus-qa.sh postgres106
- cleanup_before_cache_script:
- - ./private/cirrus/cleanup-gradle-cache.sh
- on_failure:
- reports_artifacts:
- path: "**/build/reports/**/*"
- screenshots_artifacts:
- path: "**/build/screenshots/**/*"
- junit_artifacts:
- path: "**/test-results/**/*.xml"
- format: junit
-
# SAML QA is executed in a dedicated task in order to not slow down the pipeline, as a Keycloak server docker image is required.
qa_saml_task:
depends_on: build