forked from tyro/rabbit-amazon-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
23 lines (17 loc) · 816 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
build-image:
docker build --tag tyro-oss/rabbit-amazon-bridge-build -f Dockerfile.build .
deploy-image:
docker build --tag rabbit-amazon-bridge -f Dockerfile.deploy . --build-arg BUILD_IMAGE=tyro-oss/rabbit-amazon-bridge-build:latest
test-unit:
export DOCKER_BUILD_IMAGE=tyro-oss/rabbit-amazon-bridge-build:latest && \
docker-compose -f docker-compose-test-unit.yml up --exit-code-from sut
test-integration:
export DOCKER_BUILD_IMAGE=tyro-oss/rabbit-amazon-bridge-build:latest && \
docker-compose -f docker-compose-test-integration.yml up --exit-code-from sut
build: build-image test-unit test-integration
debug-build:
docker run --rm -it tyro-oss/rabbit-amazon-bridge-build:latest bash
clean-docker:
-docker stop rabbit-amazon-bridge
-docker rm rabbit-amazon-bridge
-docker rmi rabbit-amazon-bridge