Skip to content

Commit fb5bc6f

Browse files
authored
hotfix: EnableScheduling 어노테이션 추가 (#291)
* hotfix: EnableScheduling 어노테이션 추가 * chore: dev 배포 테스트 * chore: prod 배포 테스트 * chore: prod 배포 테스트 * chore: prod 배포 테스트 * chore: cicd 파일에서 필요없는 브랜치 삭제
1 parent 4ab2bf6 commit fb5bc6f

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/aws-cicd-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
pull_request:
99
branches:
1010
- develop
11+
1112
env:
1213
REGISTRY: "docker.io"
1314
NAMESPACE: "clean01"

.github/workflows/aws-cicd-prod.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ on:
44
push:
55
branches:
66
- main
7-
- refactor/LA-38
7+
88
pull_request:
99
branches:
1010
- main
11-
- refactor/LA-38
1211

1312
env:
1413
REGISTRY: "docker.io"

layer-api/infra/development/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if [ -z $IS_GREEN ];then # blue라면
3333
sudo nginx -s reload
3434

3535
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
3737
else
3838
echo "### GREEN => BLUE ###"
3939
echo "1. get blue image"
@@ -62,5 +62,5 @@ else
6262
sudo nginx -s reload
6363

6464
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
6666
fi

layer-api/infra/production/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if [ -z $IS_GREEN ];then # blue라면
3333
sudo nginx -s reload
3434

3535
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
3737
else
3838
echo "### GREEN => BLUE ###"
3939
echo "1. get blue image"
@@ -62,5 +62,5 @@ else
6262
sudo nginx -s reload
6363

6464
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
6666
fi

layer-api/src/main/java/org/layer/LayerApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import org.springframework.context.annotation.EnableAspectJAutoProxy;
1010
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
1111
import org.springframework.scheduling.annotation.EnableAsync;
12+
import org.springframework.scheduling.annotation.EnableScheduling;
1213

1314
@OpenAPIDefinition(servers = {
1415
@Server(url = "http://localhost:8080", description = "로컬서버"),
@@ -17,6 +18,7 @@
1718
})
1819
@SpringBootApplication
1920
@EnableJpaAuditing
21+
@EnableScheduling
2022
@EnableAspectJAutoProxy
2123
@EnableFeignClients
2224
@EnableAsync

0 commit comments

Comments
 (0)