From b5bf1b66d55f40862ece83ef013793fb303acca7 Mon Sep 17 00:00:00 2001 From: Joe Guo Date: Wed, 29 May 2019 15:35:08 +1200 Subject: [PATCH] .gitlab-ci.yml: avoid using != to compare variables to support old versions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit `!=` 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 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dfa1f6423d3..65d7ad659b9 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 -- 2.34.1