1- .PHONY : help build clean install test release
1+ .PHONY : help build clean install test test-integration test-integration-local test-clean test-list release
22
33help :
44 @echo " ShipNode Build System"
55 @echo " "
66 @echo " Available targets:"
7- @echo " make build - Build distributable installer"
8- @echo " make clean - Remove dist directory"
9- @echo " make install - Install locally from source"
10- @echo " make test - Test the installer"
11- @echo " make release - Create and publish a new release"
7+ @echo " make build - Build distributable installer"
8+ @echo " make clean - Remove dist directory"
9+ @echo " make install - Install locally from source"
10+ @echo " make test - Test the installer"
11+ @echo " make test-integration - Run integration tests with Docker"
12+ @echo " make test-integration-local - Run local tests only (no container)"
13+ @echo " make test-clean - Clean up leftover test containers"
14+ @echo " make test-list - List available integration test phases"
15+ @echo " make release - Create and publish a new release"
1216
1317build :
1418 @./build-dist.sh
@@ -26,6 +30,22 @@ test: build
2630 @echo " Testing installer..."
2731 @bash dist/shipnode-installer.sh
2832
33+ test-integration : build
34+ @echo " Running integration tests with Docker..."
35+ @./scripts/test-docker.sh --phases 1,2,3,4,5,6,7,8 2>&1
36+
37+ test-integration-local : build
38+ @echo " Running local integration tests (no container required)..."
39+ @./scripts/test-docker.sh --local
40+
41+ test-clean :
42+ @echo " Cleaning up test containers..."
43+ @docker ps -a --format ' {{.Names}}' | grep " ^shipnode-test-" | xargs -r docker rm -f 2> /dev/null || true
44+ @echo " ✓ Test environments cleaned up"
45+
46+ test-list :
47+ @./scripts/test-docker.sh --list
48+
2949release :
3050 @echo " Creating release..."
3151 @# Extract version from lib/core.sh
0 commit comments