add logs
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-12-31 10:10:19 +03:00
parent d5599078a6
commit 8b475c7e2e
2 changed files with 5 additions and 1 deletions

View File

@ -103,8 +103,10 @@ steps:
- sed -e "s|__BACKEND_IMAGE__|$BACKEND_IMAGE:$IMAGE_TAG|g" k8s/backend-deployment.yaml | kubectl apply -n $APP_NAMESPACE -f - - sed -e "s|__BACKEND_IMAGE__|$BACKEND_IMAGE:$IMAGE_TAG|g" k8s/backend-deployment.yaml | kubectl apply -n $APP_NAMESPACE -f -
- kubectl apply -n $APP_NAMESPACE -f k8s/backend-service.yaml - kubectl apply -n $APP_NAMESPACE -f k8s/backend-service.yaml
- echo "📋 Waiting for rollout..." - echo "📋 Waiting for rollout..."
- echo "=== CURRENT PODS STATE (before rollout) ==="
- kubectl get pods -n $APP_NAMESPACE -l app=team-planner-backend -o wide
- | - |
if ! kubectl rollout status deployment/team-planner-backend -n $APP_NAMESPACE --timeout=300s; then if ! kubectl rollout status deployment/team-planner-backend -n $APP_NAMESPACE --timeout=120s; then
echo "❌ Rollout failed! Collecting diagnostics..." echo "❌ Rollout failed! Collecting diagnostics..."
echo "" echo ""
echo "=== DEPLOYMENT STATUS ===" echo "=== DEPLOYMENT STATUS ==="

View File

@ -4,6 +4,8 @@ export class InitialMigration1735660800000 implements MigrationInterface {
name = 'InitialMigration1735660800000'; name = 'InitialMigration1735660800000';
public async up(queryRunner: QueryRunner): Promise<void> { public async up(queryRunner: QueryRunner): Promise<void> {
// Create uuid-ossp extension for uuid_generate_v4() function
await queryRunner.query(`CREATE EXTENSION IF NOT EXISTS "uuid-ossp"`);
await queryRunner.query( await queryRunner.query(
`CREATE TYPE "public"."ideas_status_enum" AS ENUM('backlog', 'todo', 'in_progress', 'done', 'cancelled')`, `CREATE TYPE "public"."ideas_status_enum" AS ENUM('backlog', 'todo', 'in_progress', 'done', 'cancelled')`,
); );