Skip to content

Ci cd/setup pipeline for deployment#35

Merged
Buffden merged 3 commits into
mainfrom
ci-cd/setup-pipeline-for-deployment
Mar 29, 2026
Merged

Ci cd/setup pipeline for deployment#35
Buffden merged 3 commits into
mainfrom
ci-cd/setup-pipeline-for-deployment

Conversation

@Buffden

@Buffden Buffden commented Mar 29, 2026

Copy link
Copy Markdown
Owner

No description provided.

Buffden added 3 commits March 29, 2026 00:07
- Replace weak :-tinyurl fallbacks with :?required on all credential vars
- Add SPRING_FLYWAY_USER/PASSWORD to backend service (Flyway keeps master)
- Pass SPRING_DATASOURCE creds to postgres service for init script
- Add 002_app_user.sh: creates tinyurl_appuser with DML-only grants on url_mappings
- Add DB_LEAST_PRIVILEGE.md: full guide covering RDS and local setup
- Add TROUBLESHOOTING_SSM_SESSION_MANAGER.md: documents all SSM access issues
- Fix CORS: set allowCredentials(false) explicitly
- Add deploy.yml: build → compose smoke → deploy to EC2 via SSM on push to main
- Remove push:main trigger from ci-workflows.yml (deploy.yml owns that path now)
- Generate ephemeral CI credentials at runtime via openssl rand (no hardcoded passwords)
- Fix script injection: move github.sha to env var, never interpolate in run steps
- Fix GITHUB_ENV injection: use <<EOF delimiter for all Parameter Store values
- Secrets fetched from Parameter Store at runtime; only AWS_ROLE_ARN in GitHub Secrets
@Buffden Buffden merged commit f7501e5 into main Mar 29, 2026
3 checks passed
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.

1 participant