Compare commits

..

1 commit

Author SHA1 Message Date
Agent
566547ee26 fix: tool: disinto backup import — idempotent restore on fresh Nomad cluster (#1058)
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful
ci/woodpecker/pr/ci Pipeline failed
ci/woodpecker/pr/nomad-validate Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline failed
2026-04-19 20:49:05 +00:00

View file

@ -310,9 +310,15 @@ backup_import_issues() {
backup_import() {
local tarball="$1"
# Validate required environment
[ -n "${FORGE_URL:-}" ] || { echo "Error: FORGE_URL not set" >&2; exit 1; }
[ -n "${FORGE_TOKEN:-}" ] || { echo "Error: FORGE_TOKEN not set" >&2; exit 1; }
if [ -z "${FORGE_URL:-}" ]; then
echo "Error: FORGE_URL not set" >&2
exit 1
fi
if [ -z "${FORGE_TOKEN:-}" ]; then
echo "Error: FORGE_TOKEN not set" >&2
exit 1
fi
backup_log "=== Backup Import Started ==="
backup_log "Target: ${FORGE_URL}"