2021-08-15 06:02:09 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-02-21 23:33:39 +00:00
|
|
|
cd "$(dirname $(realpath "$0"))"
|
|
|
|
|
2024-08-09 05:16:57 +00:00
|
|
|
[ ! -f ./config.yml ] && op inject --in-file ./config.yml.in --out-file ./config.yml
|
2024-05-14 04:31:23 +00:00
|
|
|
|
|
|
|
exec bazel run //projects/public_dns:updater -- \
|
2021-08-15 06:02:09 +00:00
|
|
|
--config $(realpath ./config.yml) \
|
|
|
|
--templates $(realpath src/resources/zonefiles)
|