Skip to content

feat(ci): OIDC deploy workflow with dev/prod branching and Secrets Manager#2

Merged
Jing-yilin merged 5 commits intodevelopfrom
feature/ci-oidc
Feb 27, 2026
Merged

feat(ci): OIDC deploy workflow with dev/prod branching and Secrets Manager#2
Jing-yilin merged 5 commits intodevelopfrom
feature/ci-oidc

Conversation

@Jing-yilin
Copy link
Contributor

Changes

  • Replace static AWS access keys with OIDC role-to-assume (more secure, no long-lived credentials)
  • Dev deploy on develop push, prod deploy on main push
  • Inline ECS task definition generated in CI (no stale JSON in repo)
  • All secrets pulled from AWS Secrets Manager at deploy time
  • Add Dockerfile.ci for pre-built binary deploy (faster image build)
  • Update test workflow to use go.mod for Go version + verify linux build

Required AWS setup (see PR description)

  • IAM OIDC provider for token.actions.githubusercontent.com
  • IAM role kickwatch-deploy-role with OIDC trust
  • GitHub secret: AWS_DEPLOY_ROLE_ARN, AWS_ACCOUNT_ID
  • Secrets Manager: kickwatch(-dev)/{database-url,apns-key-id,apns-team-id,apns-bundle-id,apns-key}

@Jing-yilin Jing-yilin merged commit ebc5ec9 into develop Feb 27, 2026
1 check failed
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