Compare commits

..

1 commit

Author SHA1 Message Date
Agent
da30209ff1 fix: tool: disinto backup import — idempotent restore on fresh Nomad cluster (#1058)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/nomad-validate Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful
2026-04-19 20:59:28 +00:00

View file

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