chore(ops): Clean up old GCP infrastructure files
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>
This commit is contained in:
parent
d3f9cb0ec3
commit
dc07977866
34 changed files with 0 additions and 648 deletions
11
users/tazjin/cloud-dns/import
Executable file
11
users/tazjin/cloud-dns/import
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/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}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue