diff --git a/.github/workflows/aks-prod-deploy.yaml b/.github/workflows/aks-prod-deploy.yaml index 67a588b..9f62572 100644 --- a/.github/workflows/aks-prod-deploy.yaml +++ b/.github/workflows/aks-prod-deploy.yaml @@ -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/k8s-deploy@v1.4 @@ -57,3 +57,4 @@ jobs: uses: rtCamp/action-slack-notify@v2 env: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} + SLACK_MESSAGE: ${{ github.repository }}가 ${{ env.NAMESPACE }} 환경에 배포되었습니다 🚀 diff --git a/.github/workflows/aks-qa-deploy.yaml b/.github/workflows/aks-qa-deploy.yaml index 3993dde..3350f27 100644 --- a/.github/workflows/aks-qa-deploy.yaml +++ b/.github/workflows/aks-qa-deploy.yaml @@ -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/k8s-deploy@v1.4 @@ -54,3 +54,4 @@ jobs: uses: rtCamp/action-slack-notify@v2 env: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} + SLACK_MESSAGE: ${{ github.repository }}가 ${{ env.NAMESPACE }} 환경에 배포되었습니다 🚀 diff --git a/.github/workflows/aks-test-deploy.yaml b/.github/workflows/aks-test-deploy.yaml index 8cbc5fe..5a85119 100644 --- a/.github/workflows/aks-test-deploy.yaml +++ b/.github/workflows/aks-test-deploy.yaml @@ -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/k8s-deploy@v1.4 @@ -56,3 +56,4 @@ jobs: uses: rtCamp/action-slack-notify@v2 env: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} + SLACK_MESSAGE: ${{ github.repository }}가 ${{ env.NAMESPACE }} 환경에 배포되었습니다 🚀 diff --git a/package-lock.json b/package-lock.json index f725e71..10d466c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mock-service", - "version": "0.6.0", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -5888,9 +5888,9 @@ "dev": true }, "prettier": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.0.tgz", - "integrity": "sha512-FM/zAKgWTxj40rH03VxzIPdXmj39SwSjwG0heUcNFwI+EMZJnY93yAiKXM3dObIKAM5TA88werc8T/EwhB45eg==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz", + "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==", "dev": true }, "prettier-linter-helpers": { @@ -7659,9 +7659,9 @@ } }, "typescript": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz", - "integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==", + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.3.tgz", + "integrity": "sha512-eVYaEHALSt+s9LbvgEv4Ef+Tdq7hBiIZgii12xXJnukryt3pMgJf6aKhoCZ3FWQsu6sydEnkg11fYXLzhLBjeQ==", "dev": true }, "union-value": { diff --git a/package.json b/package.json index 010dd03..5c1d854 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mock-service", - "version": "0.6.0", + "version": "1.0.0", "description": "", "author": "", "private": true, @@ -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": [ diff --git a/src/app.controller.ts b/src/app.controller.ts index c8e7906..15e08c4 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -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(); + // } }