summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2019-02-26 19:50:56 +0100
committerTomek Mrugalski <tomek@isc.org>2019-03-06 15:15:28 +0100
commit58322459b78031817aa12dc4147018a5b7ef4651 (patch)
tree69720c7dd8c75ff9ad73de6b29c2724081a3e9fd /.gitlab-ci.yml
parent[#480,!245] Attempt #4 (diff)
downloadkea-58322459b78031817aa12dc4147018a5b7ef4651.tar.xz
kea-58322459b78031817aa12dc4147018a5b7ef4651.zip
attempt #5
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml15
1 files changed, 5 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 09a70da39f..f0e246c6f1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,5 @@
+
+
variables:
# Not normally needed, but may be if some script uses `apt-get install`.
DEBIAN_FRONTEND: noninteractive
@@ -6,27 +8,20 @@ variables:
CI_REGISTRY_IMAGE: registry.gitlab.isc.org/isc-projects/images/bind9
-.linux-amd64: &linux_amd64
- tags:
- - linux
- - amd64
-
-.debian-stretch-amd64: &debian_stretch_amd64_image
- image: "$CI_REGISTRY_IMAGE:debian-stretch-amd64"
- <<: *linux_amd64
-
stages:
- setup
- test
ci-setup:
stage: setup
+ image: "$CI_REGISTRY_IMAGE:debian-stretch-amd64"
script:
- - echo $CI_REGISTRY_NAME
+ - echo $CI_REGISTRY_IMAGE
- cat /etc/motd
- sudo apt install shellcheck
shellcheck:
+ image: "$CI_REGISTRY_IMAGE:debian-stretch-amd64"
script:
- SCRIPTS="src/bin/keactrl/keactrl.in src/bin/admin/kea-admin.in src/bin/admin/admin-utils.sh"
- shellcheck ${SCRIPTS}