gitlab-ci: Use new needs: keyword
authorMichel Dänzer <michel@daenzer.net>
Tue, 27 Aug 2019 09:57:13 +0000 (11:57 +0200)
committerMichel Dänzer <michel@daenzer.net>
Fri, 30 Aug 2019 09:27:00 +0000 (11:27 +0200)
This way, the test jobs can start running before all build+test jobs
have finished, once the meson-main job has.

Idea suggested by Daniel Stone on IRC.

See https://docs.gitlab.com/ce/ci/directed_acyclic_graph/ and
https://docs.gitlab.com/ce/ci/yaml/README.html#needs for details.

v2:
* Improve commit log (Daniel Stone, Eric Engestrom)

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
.gitlab-ci.yml

index fd80edb37d77b11d2af50a3fb95ca883586b7cd8..6a5dde86ed357376a69e5306afd10a0aa275177d 100644 (file)
@@ -353,6 +353,7 @@ test-llvmpipe-gles2:
   extends: .deqp-test
   dependencies:
     - meson-main
+  needs: [meson-main]
 
 test-softpipe-gles2:
   parallel: 4
@@ -365,6 +366,7 @@ test-softpipe-gles2:
   extends: .deqp-test
   dependencies:
     - meson-main
+  needs: [meson-main]
 
 # The GLES2 CTS run takes about 8 minutes of CPU time, while GLES3 is
 # 25 minutes.  Until we can get its runtime down, just do a partial
@@ -381,3 +383,4 @@ test-softpipe-gles3-limited:
   extends: .deqp-test
   dependencies:
     - meson-main
+  needs: [meson-main]