WIP: test CI
This commit is contained in:
parent
353836a2a8
commit
7be4224f8e
|
@ -49,7 +49,8 @@ jobs:
|
|||
steps:
|
||||
- name: Reload bind
|
||||
shell: bash
|
||||
run: sudo systemctl reload bind9.service
|
||||
run: |
|
||||
sudo systemctl reload bind9.service
|
||||
- name: Check bind
|
||||
shell: bash
|
||||
run: |
|
||||
|
@ -59,9 +60,9 @@ jobs:
|
|||
count=$(cat /var/cache/bind/.modified | wc -l)
|
||||
linecount=$(( count * 5 + 3))
|
||||
|
||||
- echo "Vérification des zones $files..."
|
||||
- sudo grep named /var/log/syslog | tail -n $linecount | grep "reloading configuration succeeded" || exit 4
|
||||
- sudo grep named /var/log/syslog | tail -n $linecount | grep "reloading zones succeeded" || exit 5
|
||||
- sudo grep named /var/log/syslog | tail -n $linecount | grep "all zones loaded" || exit 6
|
||||
- sudo grep named /var/log/syslog | tail -n $linecount | grep "running" || exit 7
|
||||
- echo "Déploiement terminé."
|
||||
echo "Vérification des zones $files..."
|
||||
sudo grep named /var/log/syslog | tail -n $linecount | grep "reloading configuration succeeded" || exit 4
|
||||
sudo grep named /var/log/syslog | tail -n $linecount | grep "reloading zones succeeded" || exit 5
|
||||
sudo grep named /var/log/syslog | tail -n $linecount | grep "all zones loaded" || exit 6
|
||||
sudo grep named /var/log/syslog | tail -n $linecount | grep "running" || exit 7
|
||||
echo "Déploiement terminé."
|
||||
|
|
Loading…
Reference in New Issue