variables: # Not normally needed, but may be if some script uses `apt-get install`. DEBIAN_FRONTEND: noninteractive # Locale settings do not affect the build, but might affect tests. LC_ALL: C 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 shellcheck: stage: test image: "$CI_REGISTRY_IMAGE:debian-stretch-amd64" before_script: - sudo apt-get -y install shellcheck script: - SCRIPTS="src/bin/keactrl/keactrl.in " - SCRIPTS+="src/bin/admin/kea-admin.in " - SCRIPTS+="src/bin/admin/admin-utils.sh " - SCRIPTS+="tools/cql_config " - SCRIPTS+="tools/sysrepo_config " - shellcheck ${SCRIPTS} ${SHELLCHECK_OPTS}