revert: drop redundant utility channel promote
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
fail() { echo "FAIL: $*" >&2; exit 1; }
|
||||
promote="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/scripts/promote-crucible.sh"
|
||||
[[ -f "$promote" ]] || fail "promote-crucible.sh missing"
|
||||
grep -q 'STREAM_NAME=crucible' "$promote" || fail "STREAM_NAME not crucible"
|
||||
grep -q 'STREAM_TIER=service' "$promote" || fail "STREAM_TIER not service"
|
||||
grep -q 'skopeo inspect' "$promote" || fail "require_release must use skopeo"
|
||||
grep -q 'deployment/crucible' "$promote" || fail "wrong image path in skopeo"
|
||||
echo "promote-crucible-contract: OK"
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/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