.gitlab-ci.yml: avoid using != to compare variables to support old versions
authorJoe Guo <joeg@catalyst.net.nz>
Wed, 29 May 2019 03:35:08 +0000 (15:35 +1200)
committerRalph Boehme <slow@samba.org>
Fri, 31 May 2019 09:48:37 +0000 (09:48 +0000)
`!=` was only introduced after 11.11, according to doc at:

https://docs.gitlab.com/ee/ci/variables/README.html#environment-variables-expressions

For private gitlab instance, the version may not be new enough.
Use `==` to make it backward compatible.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri May 31 09:48:37 UTC 2019 on sn-devel-184

.gitlab-ci.yml

index dfa1f6423d3383a4d4fcf6982293244690008917..65d7ad659b98131ef9934e61ba0fa9a3ee9b52de 100644 (file)
@@ -238,7 +238,7 @@ pages:
   only:
     variables:
       # do not run o3 for coverage since they are using different images
-      - $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE != "--enable-coverage"
+      - $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE == ""
 
 ubuntu1804-samba-o3:
   extends: .samba-o3-template