Add clean-checkout version-one regression gate
This commit is contained in:
parent
728abdbbf1
commit
8be285c57f
2 changed files with 41 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: test check-dependencies check-fixture-lib check-kind-matrix check-storage-foundation check-auth check-app check-streaming check-idempotency check-recovery check-protocol check-product check-runtime app-up app-down test-frontend check-frontend build-frontend
|
.PHONY: test check-dependencies check-fixture-lib check-kind-matrix check-storage-foundation check-auth check-app check-streaming check-idempotency check-recovery check-protocol check-product check-runtime check-v1 app-up app-down test-frontend check-frontend build-frontend
|
||||||
|
|
||||||
test:
|
test:
|
||||||
./tests/run-host-tests.sh
|
./tests/run-host-tests.sh
|
||||||
|
|
@ -40,6 +40,9 @@ check-runtime: test check-recovery
|
||||||
./tests/runtime-static.sh
|
./tests/runtime-static.sh
|
||||||
./tests/kind/wp12-run.sh
|
./tests/kind/wp12-run.sh
|
||||||
|
|
||||||
|
check-v1:
|
||||||
|
./tests/check-v1.sh
|
||||||
|
|
||||||
app-up:
|
app-up:
|
||||||
NUTHATCH_APP_INTERACTIVE=1 ./tests/kind/wp05-run.sh
|
NUTHATCH_APP_INTERACTIVE=1 ./tests/kind/wp05-run.sh
|
||||||
|
|
||||||
|
|
|
||||||
37
tests/check-v1.sh
Executable file
37
tests/check-v1.sh
Executable file
|
|
@ -0,0 +1,37 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
||||||
|
|
||||||
|
if ! git diff --quiet || ! git diff --cached --quiet || [[ -n "$(git ls-files --others --exclude-standard)" ]]; then
|
||||||
|
echo "check-v1 requires a clean checkout" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
unset NUTHATCH_APP_INTERACTIVE
|
||||||
|
unset NUTHATCH_PRODUCT_GATE
|
||||||
|
unset NUTHATCH_WP07_LANE
|
||||||
|
unset NUTHATCH_WP07_FIRST_LANE_ONLY
|
||||||
|
unset NUTHATCH_WP08_LANE
|
||||||
|
unset NUTHATCH_WP08_FIRST_LANE_ONLY
|
||||||
|
unset NUTHATCH_WP09_TARGET
|
||||||
|
unset NUTHATCH_WP10_TARGET
|
||||||
|
|
||||||
|
targets=(
|
||||||
|
test
|
||||||
|
check-dependencies
|
||||||
|
check-fixture-lib
|
||||||
|
check-kind-matrix
|
||||||
|
check-storage-foundation
|
||||||
|
check-auth
|
||||||
|
check-streaming
|
||||||
|
check-idempotency
|
||||||
|
check-recovery
|
||||||
|
check-protocol
|
||||||
|
check-product
|
||||||
|
check-runtime
|
||||||
|
)
|
||||||
|
|
||||||
|
for target in "${targets[@]}"; do
|
||||||
|
make "$target"
|
||||||
|
done
|
||||||
Loading…
Reference in a new issue