This commit is contained in:
@ -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 -
|
||||
- kubectl apply -n $APP_NAMESPACE -f k8s/backend-service.yaml
|
||||
- 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 ""
|
||||
echo "=== DEPLOYMENT STATUS ==="
|
||||
|
||||
@ -4,6 +4,8 @@ export class InitialMigration1735660800000 implements MigrationInterface {
|
||||
name = 'InitialMigration1735660800000';
|
||||
|
||||
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(
|
||||
`CREATE TYPE "public"."ideas_status_enum" AS ENUM('backlog', 'todo', 'in_progress', 'done', 'cancelled')`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user