Skip to content

Commit

Permalink
버전 업데이트 (#40)
Browse files Browse the repository at this point in the history
* up: 버전 업데이트

* fix: deprecated된 명령어를 사용해 K8S 배포 안되던 문제

* up: Slack 배포 완료 메세지 업데이트

* del: 환경변수 정보를 가져오는 API endpoint 삭제
  • Loading branch information
jp3pe authored and parkgang committed Dec 13, 2021
1 parent 5da14a1 commit 5d1f744
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/aks-prod-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: create namespace
run: |
kubectl create namespace ${{ env.NAMESPACE }} --dry-run -o json | kubectl apply -f -
kubectl create namespace ${{ env.NAMESPACE }} --dry-run=client -o json | kubectl apply -f -
- name: aks apply object
uses: Azure/[email protected]
Expand All @@ -57,3 +57,4 @@ jobs:
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_MESSAGE: ${{ github.repository }}가 ${{ env.NAMESPACE }} 환경에 배포되었습니다 🚀
3 changes: 2 additions & 1 deletion .github/workflows/aks-qa-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: create namespace
run: |
kubectl create namespace ${{ env.NAMESPACE }} --dry-run -o json | kubectl apply -f -
kubectl create namespace ${{ env.NAMESPACE }} --dry-run=client -o json | kubectl apply -f -
- name: aks apply object
uses: Azure/[email protected]
Expand All @@ -54,3 +54,4 @@ jobs:
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_MESSAGE: ${{ github.repository }}가 ${{ env.NAMESPACE }} 환경에 배포되었습니다 🚀
3 changes: 2 additions & 1 deletion .github/workflows/aks-test-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: create namespace
run: |
kubectl create namespace ${{ env.NAMESPACE }} --dry-run -o json | kubectl apply -f -
kubectl create namespace ${{ env.NAMESPACE }} --dry-run=client -o json | kubectl apply -f -
- name: aks apply object
uses: Azure/[email protected]
Expand All @@ -56,3 +56,4 @@ jobs:
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_MESSAGE: ${{ github.repository }}가 ${{ env.NAMESPACE }} 환경에 배포되었습니다 🚀
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mock-service",
"version": "0.6.0",
"version": "1.0.0",
"description": "",
"author": "",
"private": true,
Expand Down Expand Up @@ -45,13 +45,13 @@
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.4.1",
"jest": "^26.6.3",
"prettier": "^2.5.0",
"prettier": "^2.5.1",
"supertest": "^6.1.6",
"ts-jest": "^26.5.4",
"ts-loader": "^8.3.0",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.12.0",
"typescript": "^4.5.2"
"typescript": "^4.5.3"
},
"jest": {
"moduleFileExtensions": [
Expand Down
8 changes: 4 additions & 4 deletions src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export class AppController {
return this.appService.getVersion();
}

@Get("env")
getEnv(): NodeJS.ProcessEnv {
return this.appService.getEnv();
}
// @Get("env")
// getEnv(): NodeJS.ProcessEnv {
// return this.appService.getEnv();
// }
}

0 comments on commit 5d1f744

Please sign in to comment.