-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (25 loc) · 883 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
default:
cd api && make
run:
cd api && make run
integration-tests:
docker-compose -f ${file} build
docker-compose -f ${file} up -d
echo "Running Integration Tests"
docker exec api-gateway bash -c "ls && bash ./check-services.sh && sh run-tests.sh"
docker-compose -f ${file} down
docker-compose -f ${file} rm -f -s
staging-integration-tests:
sh remove-all-containers.sh || true
make integration-tests file=dc-integration-test.staging.yml
production-integration-tests:
sh remove-all-containers.sh || true
make integration-tests file=dc-integration-test.production.yml
backend:
sh remove-all-containers.sh || true
docker-compose -f dc-backend-production.yml build
docker-compose -f dc-backend-production.yml up
build-staging:
docker-compose -f dc-integration-test.staging.yml build
build-production:
docker-compose -f dc-integration-test.production.yml build