aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2019-01-14 08:48:27 +0100
committersonartech <sonartech@sonarsource.com>2019-01-16 09:43:15 +0100
commitc2216c7ddc86153f6fd9bd757336d7227766b364 (patch)
treed1e469421f1ee861e803ee918ce638d442ebf643 /.cirrus.yml
parent5957bd9620616dfb371df401619f3121338d3b9d (diff)
downloadsonarqube-c2216c7ddc86153f6fd9bd757336d7227766b364.tar.gz
sonarqube-c2216c7ddc86153f6fd9bd757336d7227766b364.zip
Use Dockerfile-build in Cirrus
That avoids maintaining and releasing the Dockerfile-build from another repository (SonarSource/vms)
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml20
1 files changed, 15 insertions, 5 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 0de17b9a25d..ccbecef967e 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -34,7 +34,9 @@ build_task:
only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master"
timeout_in: 90m
gke_container:
- image: gradle:4.10.1-jdk8
+ dockerfile: private/docker/Dockerfile-build
+ builder_image_project: ci-cd-215716
+ builder_image_name: docker-builder-v1
cluster_name: cirrus-euw3a-cluster
zone: europe-west3-a
namespace: default
@@ -53,7 +55,9 @@ deploy_docs_task:
depends_on: build
only_if: $CIRRUS_BRANCH == 'dogfood-on-next'
gke_container:
- image: gcr.io/ci-cd-215716/sonar-enterprise-bash:0.0.1
+ dockerfile: private/docker/Dockerfile-build
+ builder_image_project: ci-cd-215716
+ builder_image_name: docker-builder-v1
cluster_name: cirrus-euw3a-cluster
zone: europe-west3-a
namespace: default
@@ -69,7 +73,9 @@ validate_task:
only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master"
timeout_in: 90m
gke_container:
- image: gcr.io/ci-cd-215716/sonar-enterprise-build:0.0.3
+ dockerfile: private/docker/Dockerfile-build
+ builder_image_project: ci-cd-215716
+ builder_image_name: docker-builder-v1
cluster_name: cirrus-euw3a-cluster
zone: europe-west3-a
namespace: default
@@ -97,7 +103,9 @@ qa_task:
depends_on: build
only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master"
gke_container:
- image: gcr.io/ci-cd-215716/sonar-enterprise-qa:0.0.2
+ dockerfile: private/docker/Dockerfile-build
+ builder_image_project: ci-cd-215716
+ builder_image_name: docker-builder-v1
cluster_name: cirrus-euw3a-cluster
zone: europe-west3-a
namespace: default
@@ -142,7 +150,9 @@ promote_task:
- qa
only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master"
gke_container:
- image: gcr.io/ci-cd-215716/sonar-enterprise-bash:0.0.1
+ dockerfile: private/docker/Dockerfile-build
+ builder_image_project: ci-cd-215716
+ builder_image_name: docker-builder-v1
cluster_name: cirrus-euw3a-cluster
zone: europe-west3-a
namespace: default