]> source.dussan.org Git - sonarqube.git/commitdiff
dogfood_docker_builder task must depend on promote_task task
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Mon, 23 Sep 2019 09:27:23 +0000 (11:27 +0200)
committerSonarTech <sonartech@sonarsource.com>
Mon, 23 Sep 2019 18:21:07 +0000 (20:21 +0200)
.cirrus.yml

index 80cafb20e0ab06b8533307fca72461a55c10f919..837a7670f59ee70401611412d0e84040baecc791 100644 (file)
@@ -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