Files
plex-playlist/scripts/gitea-actions/check_runner_images.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

19 lines
630 B
Plaintext

hosts = [
"kankali.darkhelm.lan",
"zhokq.darkhelm.lan",
"urtzul.darkhelm.lan",
"pi-desktop.darkhelm.lan",
]
# Check both upstream and mirrored tags on each runner host.
remote_script = """
r = !(docker image inspect ghcr.io/catthehacker/ubuntu:act-latest > /dev/null 2> /dev/null)
print("GHCR:present" if r.returncode == 0 else "GHCR:missing")
r = !(docker image inspect kankali.darkhelm.lan:3001/darkhelm.org/act-ubuntu:act-latest > /dev/null 2> /dev/null)
print("MIRROR:present" if r.returncode == 0 else "MIRROR:missing")
"""
for host in hosts:
print(f"\n=== {host} ===")
ssh @(host) @(remote_script)