From a3021a545cb9eccf5d2653e5bea9e854f2fe9397 Mon Sep 17 00:00:00 2001 From: simplifique Date: Mon, 5 Jan 2026 18:35:07 -0500 Subject: [PATCH] fix: update health check response to include versioning --- .gitea/workflows/deploy-api.yaml | 1 - .gitignore | 3 +++ src/app.controller.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy-api.yaml b/.gitea/workflows/deploy-api.yaml index 5de6b64..04c29a7 100644 --- a/.gitea/workflows/deploy-api.yaml +++ b/.gitea/workflows/deploy-api.yaml @@ -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 diff --git a/.gitignore b/.gitignore index 62da189..24123c3 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,6 @@ lerna-debug.log* !.vscode/launch.json !.vscode/extensions.json +# Environment variables +.env + diff --git a/src/app.controller.ts b/src/app.controller.ts index 470a286..7f421c6 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -14,7 +14,7 @@ export class AppController { @Get('health') @ApiOperation({ summary: 'Health check' }) healthCheck() { - return { status: 'ok' }; + return { status: 'ok v2' }; } }