Skip to content

Commit 39ef7b7

Browse files
committed
Add tests actions for each versions
1 parent fbb7358 commit 39ef7b7

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Makefile

+10-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ blueprint: ## Generate all blueprints file
55

66
test-latest: test-20 ## Test the latest build only
77

8-
test-20: blueprint ## Test node 20 build only
9-
BRANCH=master VARIANT=20-bullseye TAG=v2-20-bullseye ./build-and-test.sh || (notify-send -u critical "Tests failed" && exit 1)
10-
BRANCH=master VARIANT=20-apache-bullseye TAG=v2-20-apache-bullseye ./build-and-test.sh || (notify-send -u critical "Tests failed" && exit 1)
11-
notify-send -u critical "Tests passed with success"
8+
test-14: ## Test node 14 build only
9+
test-16: ## Test node 16 build only
10+
test-18: ## Test node 18 build only
11+
test-20: ## Test node 20 build only
12+
test-%: blueprint ## Test node X build
13+
BRANCH=master VARIANT=$(*)-bullseye TAG=v2-$(*)-bullseye ./build-and-test.sh || (notify-send -u critical "Tests failed" && exit 1)
14+
BRANCH=master VARIANT=$(*)-bullseye-build TAG=v2-$(*)-bullseye-build ./build-and-test.sh || (notify-send -u critical "Tests failed" && exit 1)
15+
BRANCH=master VARIANT=$(*)-apache-bullseye TAG=v2-$(*)-apache-bullseye ./build-and-test.sh || (notify-send -u critical "Tests failed" && exit 1)
16+
BRANCH=master VARIANT=$(*)-apache-bullseye-build TAG=v2-$(*)-apache-bullseye-build ./build-and-test.sh || (notify-send -u critical "Tests failed" && exit 1)
17+
notify-send -u critical "Tests passed with success for $*"
1218

1319
clean: ## Clean dangles image after build

0 commit comments

Comments
 (0)