-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.bat
37 lines (26 loc) · 1.31 KB
/
build.bat
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
34
35
36
37
@echo off
set BUILD_ENV_CLIENT=docker
set DOCKER_COMPOSE_FILE=docker-compose.yaml
set SELENIUM_GRID_DOCKER_COMPOSE_FILE=selenium-compose.yaml
cd /d %~dp0..\crypto-portfolio-microservices\crypto-price-service\
call mvn clean package -DskipTests
cd /d %~dp0..\crypto-portfolio-microservices\gateway-service\
call mvn clean package -DskipTests
cd /d %~dp0..\crypto-portfolio-microservices\discovery-server\
call mvn clean package -DskipTests
cd /d %~dp0..\crypto-portfolio-microservices\wallet-service\
call mvn clean package -DskipTests
cd /d %~dp0..\crypto-portfolio-microservices\client-side\
call npm install --legacy-peer-deps @angular-devkit/build-angular
cd /d %~dp0..\crypto-portfolio-microservices\client-side\
call npm install -g @angular/cli
cd /d %~dp0..\crypto-portfolio-microservices\client-side\
call ng build --configuration=%BUILD_ENV_CLIENT%
cd /d %~dp0..\crypto-portfolio-microservices\quality-assurance\qa-ui\
call docker-compose -f %SELENIUM_GRID_DOCKER_COMPOSE_FILE% down
cd /d %~dp0..\crypto-portfolio-microservices\
call docker-compose -f %DOCKER_COMPOSE_FILE% down
cd /d %~dp0..\crypto-portfolio-microservices\
call docker-compose -f %DOCKER_COMPOSE_FILE% up -d --build
cd /d %~dp0..\crypto-portfolio-microservices\quality-assurance\qa-ui\
call docker-compose -f %SELENIUM_GRID_DOCKER_COMPOSE_FILE% up -d --build