1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-13 19:28:12 +00:00
kontain.me/cmd/wait/test.sh
Jason Hall f95c30bdfd
use slog, refactor TF
Signed-off-by: Jason Hall <jason@chainguard.dev>
2023-11-14 21:27:18 -05:00

13 lines
258 B
Bash
Executable file

#!/usr/bin/env bash
set -euxo pipefail
exit 0 # TODO
uid=image-$(date +%s)
crane manifest wait.kontain.me/${uid} || true
sleep 11 # for good measure
time crane validate --remote=wait.kontain.me/${uid}
time crane validate --remote=wait.kontain.me/${uid}