chore: flush DNS caches on agents
Some checks failed
build / fmt (push) Successful in 4s
build / check (push) Successful in 2m8s
build / clippy (push) Successful in 2m8s
build / test (push) Successful in 2m16s
images / check-act-runner (push) Successful in 6s
images / build-ubuntu-24.04 (push) Failing after 2s
images / build-rust-ubuntu (push) Has been skipped
images / build-deb (push) Has been skipped
images / build-fedora-43 (push) Successful in 2m58s
images / build-fedora-44 (push) Successful in 3m0s
images / build-infra (push) Successful in 4m39s
images / build-rust (push) Successful in 11m51s
images / build-rpm (push) Failing after 8s
images / build-rust-gtk3 (push) Successful in 2m30s
images / build-ffmpeg (push) Successful in 8m18s
images / build-cuda-13.0 (push) Successful in 28m5s

This commit is contained in:
2026-06-30 19:41:16 +03:00
parent 46c2be080c
commit 89195e92e0

6
script/runner/flush-cache.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
for h in $(ssh magrathea.kosherinata.internal "sudo -u postgres psql -d gongfoo -At -c 'SELECT hostname FROM hosts WHERE NOT is_drained'"); do
echo "== $h";
ssh "$h" 'sudo resolvectl flush-caches'
done