Initial release
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
compose() {
|
||||
docker compose \
|
||||
-f compose.yaml \
|
||||
-f compose.test.yaml \
|
||||
"$@"
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
compose down --remove-orphans
|
||||
}
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
compose up \
|
||||
--force-recreate \
|
||||
--abort-on-container-exit \
|
||||
--exit-code-from test
|
||||
Reference in New Issue
Block a user