-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sh
executable file
·56 lines (40 loc) · 1.79 KB
/
build.sh
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#! /bin/sh
set -e
cd react-framework
npm i; npm run build; cp firebase-messaging-sw.js dist/; sudo docker build --no-cache -t itmagician/ssafy-b309:react-framework .; sudo docker push itmagician/ssafy-b309:react-framework;
cd ../spring-framework
cd api-gateway
echo "API GATEWAY BUILD"
chmod +x gradlew
./gradlew clean bootJar; sudo docker build --no-cache -t itmagician/ssafy-b309:api-gateway-service .; sudo docker push itmagician/ssafy-b309:api-gateway-service;
cd ..
cd chat-service
echo "CHAT Service BUILD"
chmod +x gradlew
./gradlew clean bootJar; sudo docker build --no-cache -t itmagician/ssafy-b309:chat-service .; sudo docker push itmagician/ssafy-b309:chat-service;
cd ..
cd matching-service
echo "matching Service BUILD"
chmod +x gradlew
./gradlew clean bootJar; sudo docker build --no-cache -t itmagician/ssafy-b309:matching-service .; sudo docker push itmagician/ssafy-b309:matching-service;
cd ..
cd notify-service
echo "notify Service BUILD"
chmod +x gradlew
./gradlew clean bootJar; sudo docker build --no-cache -t itmagician/ssafy-b309:notify-service .; sudo docker push itmagician/ssafy-b309:notify-service;
cd ..
cd oauth-service
echo "oauth Service BUILD"
chmod +x gradlew
./gradlew clean bootJar; sudo docker build --no-cache -t itmagician/ssafy-b309:oauth2-service .; sudo docker push itmagician/ssafy-b309:oauth2-service;
cd ..
cd team-matching-service
echo "team-matching Service BUILD"
chmod +x gradlew
./gradlew clean bootJar; sudo docker build --no-cache -t itmagician/ssafy-b309:team_matching-service .; sudo docker push itmagician/ssafy-b309:team_matching-service;
cd ..
cd user-service
echo "user Service BUILD"
chmod +x gradlew
./gradlew clean bootJar; sudo docker build --no-cache -t itmagician/ssafy-b309:user-service .; sudo docker push itmagician/ssafy-b309:user-service;
cd ../..