about summary refs log tree commit diff
path: root/users/tazjin/cloud-dns/import
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-04-14T15·20+0200
committertazjin <mail@tazj.in>2021-04-14T15·23+0000
commit605302091d6f35f6c6cd56170fde1c932cdb28ee (patch)
tree90cef542b09b8fd5cabcec71936198ae2a342e18 /users/tazjin/cloud-dns/import
parentb2c0b747442db4dd6d28091a4cd5ceb0ca2a159f (diff)
refactor(tazjin/dns): Add zone validity checks in CI r/2510
Same as //ops/dns

Change-Id: I0399efd2e48956ec91833386adff27d94d08ef1e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3013
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin/cloud-dns/import')
-rwxr-xr-xusers/tazjin/cloud-dns/import11
1 files changed, 0 insertions, 11 deletions
diff --git a/users/tazjin/cloud-dns/import b/users/tazjin/cloud-dns/import
deleted file mode 100755
index e79e426b5553..000000000000
--- a/users/tazjin/cloud-dns/import
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-set -ue
-
-# Imports a zone file into a Google Cloud DNS zone of the same name
-readonly ZONE="${1}"
-
-gcloud dns record-sets import "${ZONE}" \
-       --project composite-watch-759 \
-       --zone-file-format \
-       --delete-all-existing \
-       --zone "${ZONE}"