Update .gitlab-ci.yml file
This commit is contained in:
parent
ec2fa70583
commit
f150e49fed
|
@ -34,6 +34,12 @@ test-job: # This job runs in the test stage.
|
|||
if [[ "$files" =~ .*"zone".* ]]
|
||||
then
|
||||
echo "Test des zones $files."
|
||||
|
||||
for file in $files
|
||||
do
|
||||
domain=$(echo $file | sed "s/.zone//g")
|
||||
/usr/sbin/named-checkzone "$domain" "$file"
|
||||
done
|
||||
else
|
||||
echo "Pas de fichier de zone à tester"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue