From: Joe Guo Date: Wed, 29 May 2019 03:35:08 +0000 (+1200) Subject: .gitlab-ci.yml: avoid using != to compare variables to support old versions X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=b5bf1b66d55f40862ece83ef013793fb303acca7 .gitlab-ci.yml: avoid using != to compare variables to support old versions `!=` 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 Reviewed-by: Ralph Boehme Reviewed-by: Andrew Bartlett Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Fri May 31 09:48:37 UTC 2019 on sn-devel-184 --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dfa1f6423d33..65d7ad659b98 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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