Files
sow-tools/tests/promote-sow-tools-contract.sh
T
Westgate Agent 7589c5f220
build-binaries / build-binaries (pull_request) Successful in 2m10s
test-image / build-image (pull_request) Successful in 38s
test / test (pull_request) Failing after 57s
feat: add crucible image and sow-tools binary channel promote
2026-06-27 18:15:08 +02:00

11 lines
634 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
fail() { echo "FAIL: $*" >&2; exit 1; }
promote="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/scripts/promote-sow-tools.sh"
[[ -f "$promote" ]] || fail "promote-sow-tools.sh missing"
grep -q 'STREAM_NAME=sow-tools' "$promote" || fail "STREAM_NAME not sow-tools"
grep -q 'STREAM_TIER=service' "$promote" || fail "STREAM_TIER not service"
grep -q 'api/v1/repos' "$promote" || fail "require_release must use Gitea releases API"
grep -qv 'skopeo' "$promote" || fail "should not use skopeo (no registry images)"
echo "promote-sow-tools-contract: OK"