Git-push Workflows (using git hooks) for Deploying Applications
summary
Describes a concrete git-push pipeline built from git hooks: a git remote agent receives pushes, runs a docker build and pushes the image, then runs kubectl patch/apply to update deployments; pre-receive and post-receive hooks handle build and notifications. Configuration uses a custom resource called Remote plus an operator/controller to sync agent config. Demo shows nginx deploys working end-to-end, migrations applied declaratively to Postgres, and Slack notifications via cluster secrets. Projectized as an open repo called getcube that runs on any Kubernetes cluster.
AI-written summary · about
chapters (31)
- 0:00Introduction
- 3:15Build and Deploy
- 4:00Githooks
- 5:45Architecture
- 7:00Setup
- 7:30nginx deployment
- 9:30remotes
- 11:00Get Q
- 12:00Get Secrets
- 14:00Extending Gitpush Workflows
- 15:00Gitpush Workflows
- 15:30Kubernetes
- 16:00Operator
- 16:30No sequence
- 17:30Unit tests
- 18:00Stateful tasks
- 18:30Integration tests
- 19:00Declarative files
- 19:30Demo
- 21:30Postgres Migrations
- 22:00Schema Migrations
- 22:30Sample Data
- 23:00Add Get
- 24:30Secrets
- 25:00Templating
- 25:30Scaling
- 26:00Autoscaling
- 26:30GateOps
- 27:00GitCube
- 28:30GitPush Feedback
- 29:00Multitenant Kubernetes
related talks
15mGitkube: Continuous Deployment to Kubernetes using Git Push
34mGitOps: Git Based Application Deployment Patterns for Kubernetes
47mGitLab CI and Kubernetes: deploying Applications continuously to Kubernetes
57mGitOps: From Commit to Deploy
37mGitHub Actions + K8S to level up software dev
35mGitOps - Operations by Pull Request
39mKubernetes-centric CI/CD
40mHow GitOps Changes Everything in CI/CD
