a-lec.org.zone: testing CI
/ deploy_script (push) Failing after 2s
Details
/ deploy_script (push) Failing after 2s
Details
This commit is contained in:
parent
0ddd512453
commit
166e9e34a0
|
@ -31,22 +31,20 @@ jobs:
|
||||||
if [ ! -z $CURRENT_ZONE ]; then
|
if [ ! -z $CURRENT_ZONE ]; then
|
||||||
if [[ $line == -* ]]; then # Enregistrement supprimé
|
if [[ $line == -* ]]; then # Enregistrement supprimé
|
||||||
RECORD=$(echo "$line" | sed 's/^-//')
|
RECORD=$(echo "$line" | sed 's/^-//')
|
||||||
echo "- $RECORD"
|
echo "update delete $RECORD"
|
||||||
# nsupdate -k $TSIG_KEY <<EOF
|
nsupdate -k $TSIG_KEY <<EOF
|
||||||
# server $DNS_SERVER
|
server $DNS_SERVER
|
||||||
# zone $CURRENT_ZONE
|
update delete $RECORD
|
||||||
# update delete $RECORD
|
send
|
||||||
# send
|
EOF
|
||||||
# EOF
|
|
||||||
elif [[ $line == +* ]]; then # Enregistrement ajouté
|
elif [[ $line == +* ]]; then # Enregistrement ajouté
|
||||||
RECORD=$(echo "$line" | sed 's/^+//')
|
RECORD=$(echo "$line" | sed 's/^+//')
|
||||||
echo "+ $RECORD"
|
echo "+ $RECORD"
|
||||||
# nsupdate -k $TSIG_KEY <<EOF
|
nsupdate -k $TSIG_KEY <<EOF
|
||||||
# server $DNS_SERVER
|
server $DNS_SERVER
|
||||||
# zone $CURRENT_ZONE
|
update add $RECORD
|
||||||
# update add $RECORD
|
send
|
||||||
# send
|
EOF
|
||||||
# EOF
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue