From a77fe2b49aa9c03b3d7c630cb4ff517f6d1b7504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Berthaud-M=C3=BCller?= Date: Thu, 29 Jul 2021 23:47:21 +0200 Subject: [PATCH] simplify ci --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8555d22..ef119bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: debian:stable-slim before_script: - apt-get update - - apt-get install -y ssh-client git knot + - apt-get install -y ssh-client knot # from https://docs.gitlab.com/ee/ci/ssh_keys/ - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - @@ -16,6 +16,7 @@ deploy: - | for zonefile in zones/*; do zone=$(basename $zonefile .zone) + echo "Checking zone $zone..." kzonecheck -v -o $zone $zonefile echo $(echo -n $zone | sha1sum | cut -f1 -d' ').zones 0 IN PTR $zone. >> catalog-zones/dns-witch-catalog.zone done