How sumitsingh2rmga/gha-cicd-demo works
gha-cicd-demo is both a release-dashboard application and a learning project for a GitHub Actions/GitOps deployment pipeline. The main delivery flow is CI validation and image publication, followed by development deployment, gated QA promotion, then gated production promotion from the QA-validated commit; ArgoCD applies the resulting manifests. At runtime, the Node server loads deployment configuration, serves the dashboard and operational endpoints, and exports metrics. The workflow and deployment links below follow README documentation; the runtime links are limited to the sampled source excerpts and their indexed references.
Main entry points: app.js Request Router · ci.yml CI Validation · index.js HTTP Server Entry · promote-qa.yml QA Promotion
Components 17
CI and Release
- CI Validation
.github/workflows/ci.yml - Container Image
.github/workflows/ci.yml - QA Promotion
.github/workflows/promote-qa.yml - Production Promotion
.github/workflows/promote-production.yml - GHCR
GitOps Deployment
- Deployment Manifests
- ArgoCD
- Kubernetes
Dashboard Server
- Runtime Configuration
src/config.js - HTTP Server Entry
src/index.js - Request Router
src/app.js - Dashboard UI
public/app.js
Health and Metrics
- Health and Chaos
src/app.js - Prometheus Metrics
src/metrics.js
Other components
- Contributor
- Prometheus Scraper
- Cluster Operator
Connections 17
- Contributor → CI Validation: opens PR
README.md - CI Validation → Container Image: builds and scans
README.md - Container Image → GHCR: pushes image
README.md - CI Validation → Deployment Manifests: bumps development
README.md - GHCR → QA Promotion: checks image
README.md - QA Promotion → Deployment Manifests: bumps QA
README.md - GHCR → Production Promotion: checks image
README.md - Production Promotion → Deployment Manifests: bumps production
README.md - Deployment Manifests → ArgoCD: watched by
README.md - ArgoCD → Kubernetes: applies manifests
README.md - Cluster Operator → ArgoCD: syncs production
README.md - HTTP Server Entry → Runtime Configuration: loads config
src/index.js - HTTP Server Entry → Request Router: creates app
src/index.js - Dashboard UI → Request Router: fetches endpoints
public/app.js - Request Router → Health and Chaos: routes probes and chaos
src/app.js - Request Router → Prometheus Metrics: records and renders
src/app.js - Prometheus Scraper → Request Router: scrapes metrics