mirror of
https://github.com/google/nomulus
synced 2026-08-18 05:06:16 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user