Fix substitution names in cloudbuild-monitor-zfa (#3212)

We shouldn't have stripped the leading underscore in 84811d56. GCB
requires user-defined substitutions to begin with an underscore.
This commit is contained in:
gbrodman
2026-08-17 18:56:47 +00:00
committed by GitHub
parent a8f01d590d
commit 3dacd6c0b1
+3 -3
View File
@@ -14,12 +14,12 @@ steps:
- name: 'ubuntu'
entrypoint: '/bin/bash'
env:
- 'ZFA_SERVER_IP=${_ZFA_SERVER_IP}'
- 'TLD=${_TLD}'
- '_ZFA_SERVER_IP=${_ZFA_SERVER_IP}'
- '_TLD=${_TLD}'
args:
- -c
- |
set -e
apt-get update
apt-get install dnsutils -y
dig @"$ZFA_SERVER_IP" "$TLD" axfr | grep "Transfer failed"
dig @"$_ZFA_SERVER_IP" "$_TLD" axfr | grep "Transfer failed"