-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (23 loc) · 716 Bytes
/
Makefile
File metadata and controls
33 lines (23 loc) · 716 Bytes
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
SHELL := /bin/bash
# Builders
build:
clear && \
./gradlew clean && \
./gradlew build && \
sudo docker-compose up --build --force-recreate --remove-orphans
build-in-docker:
docker-compose up -f ./docker-compose-build.yml --build
# Standalone Runners
run_service_discovery:
clear && ./gradlew :service_discovery:bootRun
run_config_server:
clear && ./gradlew :config_server:bootRun
run_rabbitmq:
clear && docker run -d --hostname cs-rabbit --network host --name cs-rabbit rabbitmq:3-management
run_mongodb:
clear && docker run -d --network host --name cs-mongo mongo
# Tests
# Test all with Docker
test:
clear && docker-compose -f ./docker-compose-test.yml up --build --remove-orphans
.PHONY: build