script/.gitlab-ci.yml: do not run o3 jobs if coverage enabled
authorJoe Guo <joeg@catalyst.net.nz>
Mon, 6 May 2019 23:49:46 +0000 (11:49 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 May 2019 08:19:17 +0000 (08:19 +0000)
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
.gitlab-ci.yml

index 1971f84..fbf3291 100644 (file)
@@ -233,6 +233,10 @@ pages:
   extends: .shared_template
   variables:
     AUTOBUILD_JOB_NAME: samba-o3
+  only:
+    variables:
+      # do not run o3 for coverage since they are using different images
+      - $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE != "--enable-coverage"
 
 ubuntu1804-samba-o3:
   extends: .samba-o3-template