Skip to content

Commit 87419a3

Browse files
committed
Add CI to run script
1 parent 73328a2 commit 87419a3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

run

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# For local development only.
77

88
COMPOSE="docker compose -f deployment/development/docker-compose.yml --project-directory . -p appbuilder-buildengine-api"
9+
CI_COMPOSE="docker compose -f deployment/ci/docker-compose.yml --project-directory . -p appbuilder-buildengine-api-ci"
910

1011
function runstuff {
1112
# First arg
@@ -37,6 +38,16 @@ function runstuff {
3738
npx prisma migrate reset --force --schema src/lib/prisma/schema.prisma
3839
;;
3940

41+
##################
42+
# Testing
43+
ci:build)
44+
${CI_COMPOSE} build
45+
;;
46+
47+
ci)
48+
${CI_COMPOSE} $arguments
49+
;;
50+
4051
################
4152
# Host-Machine Utils
4253

0 commit comments

Comments
 (0)