Files
plex-playlist/scripts/gitea-actions/repair_runner_mirror.xsh
copilotcoder fb5bfd0f30
Some checks failed
CICD Start / Sanity and Base Decision (pull_request) Failing after 12m34s
More CICD fixes again
Signed-off-by: copilotcoder <copilotcoder@darkhelm.org>
2026-06-02 11:09:02 -04:00

22 lines
701 B
Plaintext

hosts = [
"kankali.darkhelm.lan",
"zhokq.darkhelm.lan",
"urtzul.darkhelm.lan",
"pi-desktop.darkhelm.lan",
]
# Pull upstream tag, retag/push to local registry mirror, verify mirror tag.
remote_code = """
$(docker pull ghcr.io/catthehacker/ubuntu:act-latest)
$(docker tag ghcr.io/catthehacker/ubuntu:act-latest kankali.darkhelm.lan:3001/darkhelm.org/act-ubuntu:act-latest)
$(docker push kankali.darkhelm.lan:3001/darkhelm.org/act-ubuntu:act-latest)
if $(docker image inspect kankali.darkhelm.lan:3001/darkhelm.org/act-ubuntu:act-latest):
print("MIRROR_PRESENT")
else:
print("MIRROR_MISSING")
"""
for host in hosts:
print(f"\n=== {host} ===")
ssh @(host) @(remote_code)