-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlocal-build.sh
More file actions
executable file
·38 lines (29 loc) · 969 Bytes
/
local-build.sh
File metadata and controls
executable file
·38 lines (29 loc) · 969 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
34
35
36
37
38
#!/bin/bash
set -e
cd ..
echo "============== Building config-server =================="
cd config-server
./mvnw spotless:apply clean spring-boot:build-image -DskipTests
cd ..
echo "============== Building api-gateway =================="
cd api-gateway
./mvnw spotless:apply clean spring-boot:build-image -DskipTests
cd ..
echo "============== Building feature-service =================="
cd feature-service
./mvnw spotless:apply clean spring-boot:build-image
cd ..
echo "============== Building user-service =================="
cd user-service
./mvnw spotless:apply clean spring-boot:build-image -DskipTests
cd ..
echo "============== Building notification-service =================="
cd notification-service
./gradlew spotlessApply clean bootBuildImage -x test
cd ..
echo "============== Building feature-tracker-angular =================="
cd feature-tracker-angular
npm install
npm run build
docker build -t sivaprasadreddy/feature-tracker-angular .
cd ..