fix: update health check response to include versioning
All checks were successful
Deploy NestJS API / build-and-push-deploy (push) Successful in 2m13s
All checks were successful
Deploy NestJS API / build-and-push-deploy (push) Successful in 2m13s
This commit is contained in:
@@ -14,7 +14,6 @@ jobs:
|
||||
|
||||
- name: Build e Push
|
||||
run: |
|
||||
# Usando o SHA do commit para manter o histórico no Harbor
|
||||
TAG=${{ gitea.sha }}
|
||||
docker build -t 172.35.0.216/library/vendaweb-api:$TAG .
|
||||
docker tag 172.35.0.216/library/vendaweb-api:$TAG 172.35.0.216/library/vendaweb-api:latest
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -33,3 +33,6 @@ lerna-debug.log*
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
|
||||
# Environment variables
|
||||
.env
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ export class AppController {
|
||||
@Get('health')
|
||||
@ApiOperation({ summary: 'Health check' })
|
||||
healthCheck() {
|
||||
return { status: 'ok' };
|
||||
return { status: 'ok v2' };
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user