feat: add crucible image and sow-tools binary channel promote
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user