File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 8
8
pull_request :
9
9
branches :
10
10
- develop
11
+
11
12
env :
12
13
REGISTRY : " docker.io"
13
14
NAMESPACE : " clean01"
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
- - refactor/LA-38
7
+
8
8
pull_request :
9
9
branches :
10
10
- main
11
- - refactor/LA-38
12
11
13
12
env :
14
13
REGISTRY : " docker.io"
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if [ -z $IS_GREEN ];then # blue라면
33
33
sudo nginx -s reload
34
34
35
35
echo " 5. blue container down"
36
- sudo docker-compose -f docker-compose-blue.yaml rm -s -f layer-api-blue batch-job-blue admin-app-blue
36
+ sudo docker-compose -f docker-compose-blue.yaml rm -s -f layer-api-blue
37
37
else
38
38
echo " ### GREEN => BLUE ###"
39
39
echo " 1. get blue image"
62
62
sudo nginx -s reload
63
63
64
64
echo " 5. green container down"
65
- sudo docker-compose -f docker-compose-green.yaml rm -s -f layer-api-green batch-job-green admin-app-green
65
+ sudo docker-compose -f docker-compose-green.yaml rm -s -f layer-api-green
66
66
fi
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if [ -z $IS_GREEN ];then # blue라면
33
33
sudo nginx -s reload
34
34
35
35
echo " 5. blue container down"
36
- sudo docker-compose -f docker-compose-blue.yaml rm -s -f layer-api-blue batch-job-blue admin-app-blue
36
+ sudo docker-compose -f docker-compose-blue.yaml rm -s -f layer-api-blue
37
37
else
38
38
echo " ### GREEN => BLUE ###"
39
39
echo " 1. get blue image"
62
62
sudo nginx -s reload
63
63
64
64
echo " 5. green container down"
65
- sudo docker-compose -f docker-compose-green.yaml rm -s -f layer-api-green batch-job-green admin-app-green
65
+ sudo docker-compose -f docker-compose-green.yaml rm -s -f layer-api-green
66
66
fi
Original file line number Diff line number Diff line change 9
9
import org .springframework .context .annotation .EnableAspectJAutoProxy ;
10
10
import org .springframework .data .jpa .repository .config .EnableJpaAuditing ;
11
11
import org .springframework .scheduling .annotation .EnableAsync ;
12
+ import org .springframework .scheduling .annotation .EnableScheduling ;
12
13
13
14
@ OpenAPIDefinition (servers = {
14
15
@ Server (url = "http://localhost:8080" , description = "로컬서버" ),
17
18
})
18
19
@ SpringBootApplication
19
20
@ EnableJpaAuditing
21
+ @ EnableScheduling
20
22
@ EnableAspectJAutoProxy
21
23
@ EnableFeignClients
22
24
@ EnableAsync
You can’t perform that action at this time.
0 commit comments