Skip to content

Commit f2c9cf2

Browse files
authored
Merge pull request #534 from TaskFlow-CLAP/release
🚀 Release V1.0.3 -> Develop
2 parents f95426d + aba84be commit f2c9cf2

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

.github/workflows/release-cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
docker push ${{ secrets.DOCKER_REPO }}:latest
5858
- name: Update Kubernetes Deployment
5959
run: |
60-
envsubst < ./taskflow.yaml
60+
envsubst < ./taskflow.yaml > ./taskflow-back.yaml
6161
env:
6262
IMAGE_TAG: ${{ steps.version.outputs.VERSION }}
6363
# deploy
@@ -69,8 +69,8 @@ jobs:
6969
key: ${{ secrets.KUBE_HOST_KEY }}
7070
port: ${{ secrets.KUBE_HOST_PORT }}
7171
overwrite: true
72-
source: ./taskflow.yaml
73-
target: ~/taskflow-back.yaml
72+
source: ./taskflow-back.yaml
73+
target: ~/
7474

7575
- name: Deploy
7676
uses: appleboy/ssh-action@master

src/main/resources/swagger.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,19 @@ springdoc:
3535
path: /swagger/v3/api-docs
3636

3737
---
38-
spring.config.activate.on-profile: prod
39-
swagger.server.url: ${SWAGGER_SERVER_URL:http://localhost:8080}
38+
---
39+
spring.config.activate.on-profile: "prod"
40+
swagger.server.url: ${SWAGGER_SERVER_URL:http://localhost:8080}
41+
42+
springdoc:
43+
default-consumes-media-type: application/json;charset=UTF-8
44+
default-produces-media-type: application/json;charset=UTF-8
45+
swagger-ui:
46+
path: /swagger
47+
tags-sorter: alpha
48+
operations-sorter: method
49+
display-request-duration: true
50+
disable-swagger-default-url: true
51+
show-actuator: true
52+
api-docs:
53+
path: /swagger/v3/api-docs

taskflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
image: clap.kr-central-2.kcr.dev/taskflow/taskflow-server:${IMAGE_TAG}
4040
imagePullPolicy: Always
4141
command: [ "java", "-jar", "app.jar" ]
42-
args: [ "--spring.profiles.active=dev" ]
42+
args: [ "--spring.profiles.active=prod" ]
4343
env:
4444
- name: TZ
4545
value: "Asia/Seoul"

0 commit comments

Comments
 (0)