Skip to content

Add automated CI/CD deployment pipeline for Kubernetes#7

Open
oyster wants to merge 3 commits intoea_mainfrom
ci-automated-deployment
Open

Add automated CI/CD deployment pipeline for Kubernetes#7
oyster wants to merge 3 commits intoea_mainfrom
ci-automated-deployment

Conversation

@oyster
Copy link
Copy Markdown

@oyster oyster commented Mar 18, 2026

Summary

  • Add reusable ea-build-push GitHub Action for building and pushing Docker images to a configurable registry
  • Add ea-deploy.yml workflow that automates the full build → push → deploy pipeline:
    • Triggers on push to ea_main (auto-detects changed services) or manual dispatch
    • Builds only affected Docker images in parallel
    • Runs DB migrations when migration files change
    • Restarts affected K8s deployments in ea-tracker namespace
    • Verifies pod status after rollout
  • Update deployment docs with EA CI/CD flow, required GitHub secrets, service mapping, and manual fallback

Required Setup

Before this workflow can run, these GitHub secrets must be configured:

Secret Description
EA_DOCKER_REGISTRY Registry hostname (e.g., docker.io)
EA_DOCKER_REGISTRY_OWNER Image namespace (e.g., rememberizer)
EA_DOCKER_USERNAME Registry login
EA_DOCKER_PASSWORD Registry password/token
EA_KUBECONFIG Full kubeconfig for the K8s cluster

Test plan

  • Verify workflow YAML is valid (Actions tab should show it without syntax errors)
  • Configure required secrets in repo settings
  • Test with manual dispatch targeting a single service (e.g., services: web)
  • Test automatic trigger by merging a change to ea_main

🤖 Generated with Claude Code

oyster and others added 3 commits March 18, 2026 13:31
Composite GitHub Action that builds a Docker image and pushes it
to a configurable container registry. Uses buildx with GitHub
Actions cache for faster builds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
GitHub Actions workflow that automatically builds and deploys to K8s
on push to ea_main. Detects changed files to build only affected
services, runs DB migrations when needed, and restarts K8s
deployments. Supports manual dispatch for targeted deployments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update deployment docs with EA Kubernetes deployment details:
automated CI/CD flow, service-to-deployment mapping, required
GitHub secrets, manual fallback instructions, and K8s config
reference.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@oyster oyster requested a review from HungLuuEA March 18, 2026 07:08
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