aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-09-23 11:27:23 +0200
committerSonarTech <sonartech@sonarsource.com>2019-09-23 20:21:07 +0200
commit26a7d44c9cce85b62e6d3f2043aa3eddc500a54e (patch)
tree408f3083c793979e1756e54ba6bb979cdcc1e541 /.cirrus.yml
parentc8d43ec36a4a541406da2dbbaa74c6f033226dcd (diff)
downloadsonarqube-26a7d44c9cce85b62e6d3f2043aa3eddc500a54e.tar.gz
sonarqube-26a7d44c9cce85b62e6d3f2043aa3eddc500a54e.zip
dogfood_docker_builder task must depend on promote_task task
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml21
1 files changed, 12 insertions, 9 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 80cafb20e0a..837a7670f59 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -57,15 +57,6 @@ build_task:
reports_artifacts:
path: "**/build/reports/**/*"
-dogfood_docker_builder:
- name: build docker
- only_if: $CIRRUS_BRANCH == 'dogfood-on-next'
- depends_on: validate
- env:
- CIRRUS_CLONE_DEPTH: 50
- script:
- - ./private/cirrus/cirrus-build-dogfood-docker.sh
-
deploy_docs_task:
depends_on: build
only_if: $CIRRUS_BRANCH == 'dogfood-on-next'
@@ -198,6 +189,18 @@ promote_task:
script:
- ./private/cirrus/cirrus-promote.sh
+dogfood_docker_builder:
+ name: build docker
+ only_if: $CIRRUS_BRANCH == 'dogfood-on-next'
+ depends_on:
+ - build
+ - validate
+ - promote
+ env:
+ CIRRUS_CLONE_DEPTH: 50
+ script:
+ - ./private/cirrus/cirrus-build-dogfood-docker.sh
+
sql_mssql2017_task:
depends_on: build
# Comment the following line and commit with message "DO NOT MERGE" in order to run