Skip to content

Conversation

@devendra-suthar
Copy link
Collaborator

Summary

  • Add GitHub Actions workflow for LVPI production deployment (ap-south-2)
  • Use OIDC for secure, keyless AWS authentication
  • Build and push Docker images to ECR

Details

  • Target ECR: 777184858387.dkr.ecr.ap-south-2.amazonaws.com/lvpi-prod-admin-portal
  • IAM Role: arn:aws:iam::777184858387:role/lvpi-prod-github-actions-role
  • Triggers: Push to main branch or manual workflow dispatch

Test plan

  • Merge PR to activate workflow
  • Manually trigger workflow to test OIDC authentication
  • Confirm image is pushed to ECR

Dattatraya-Londhe and others added 5 commits December 25, 2025 17:09
Refactor rawData handling in assessment template functions for improv…
- Add GitHub Actions workflow for LVPI production deployment
- Use OIDC for secure, keyless AWS authentication
- Build and push Docker images to ECR in ap-south-2

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Required for Docker build: $env/static/private imports
- Contains PLACEHOLDER values only (not real secrets)
- Real runtime values loaded from S3 by entrypoint.sh
- Added with -f since normally gitignored
- Added USER_ANALYTICS_API_URL
- Added BOT_CONTENT_API_URL
- Added FOLLOW_UP_URL
- Added S3 credentials
- Added all missing /static/private imports
- Download .env from S3 before Docker build
- Download constants.ts and favicon.png from S3
- Ensures real values are embedded during npm run build
- Fixes SvelteKit $env/static/private build-time requirement

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Only download .env at build time (required for SvelteKit)
- constants.ts and favicon.png are downloaded at runtime by entrypoint.sh
- Fix boolean default value syntax (false not 'false')

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Updated ECR repository names to lvpei-prod-* prefix
- Updated IAM role to lvpei-prod-github-actions-role
- Triggered deployment at Mon Dec 29 20:33:25 IST 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants