Skip to content

Commit ceb662a

Browse files
committed
Add Makefile command
1 parent 82bae2c commit ceb662a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# IntelliJ project files
2+
.idea
3+
*.iml
4+
out
5+
gen

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
blueprint: ## Generate all blueprints file
2+
@if ! type orbit >/dev/null 2>&1; then echo "Missing orbit dependency, please install from https://github.com/gulien/orbit/"; exit 1; fi
3+
orbit run generate
4+
@sed -i '1i\# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)' Dockerfile.*
5+
6+
test-latest: test-20 ## Test the latest build only
7+
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"
12+
13+
clean: ## Clean dangles image after build

0 commit comments

Comments
 (0)