aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorMalena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com>2021-07-15 15:07:17 +0200
committersonartech <sonartech@sonarsource.com>2021-07-20 20:03:17 +0000
commit283f188f68095ae4ab1ea47b9ab6572fc5836f4b (patch)
tree7f2f377ed7e9bcfc6c7a3d1b4f5f6fcb8e51617d /.cirrus.yml
parentb12a5c39856d183c9e6f1af07089dfde536fb59a (diff)
downloadsonarqube-283f188f68095ae4ab1ea47b9ab6572fc5836f4b.tar.gz
sonarqube-283f188f68095ae4ab1ea47b9ab6572fc5836f4b.zip
BUILD-1091 BUILD-1092 Build docker image of datacenter edition
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index ced5f84d9e2..58bb12a2e9d 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -423,6 +423,25 @@ deploy_docs_task:
script:
- ./private/cirrus/cirrus-trigger-deploy-docs.sh
+package_docker_task:
+ depends_on: promote
+ only_if: $CIRRUS_BRANCH == 'dogfood-on-next'
+ gce_instance:
+ image_project: sonarqube-team
+ image_family: docker-builder
+ zone: us-central1-a
+ disk: 10
+ cpu: 4
+ memory: 8G
+ env:
+ CIRRUS_CLONE_DEPTH: '1'
+ install_tooling_script: |
+ export DEBIAN_FRONTEND=noninteractive
+ apt-get update
+ apt-get install -yq openjdk-11-jdk-headless
+ package_script:
+ - ./private/cirrus/cirrus-package-docker.sh
+
sql_mssql2017_task:
<<: *ONLY_NIGHTLY_DEPENDING_ON_BUILD_TEMPLATE
gke_container: