summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a7db392593..f786960aab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,6 +8,10 @@ variables:
CI_REGISTRY_IMAGE: registry.gitlab.isc.org/isc-projects/images/bind9
+# Disabled warnings:
+# SC2039 - complains about local var: In POSIX sh, 'local' is undefined.
+ SHELLCHECK_OPTS: "--exclude=SC2039"
+
stages:
- test
@@ -18,4 +22,4 @@ shellcheck:
- sudo apt-get -y install shellcheck
script:
- SCRIPTS="src/bin/keactrl/keactrl.in src/bin/admin/kea-admin.in src/bin/admin/admin-utils.sh"
- - shellcheck ${SCRIPTS}
+ - shellcheck ${SCRIPTS} ${SHELLCHECK_OPTS}