dc07977866
This removes almost all of the GCP-infrastructure leftovers from my previous setup. The DNS configuration is retained, but moves to my user folder instead. Change-Id: I1867acd379443882f11a3c645846c9902eadd5b0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/782 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: isomer <isomer@tvl.fyi>
11 lines
273 B
Bash
Executable file
11 lines
273 B
Bash
Executable file
#!/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}"
|