From dev to prod with GitLab CI
summary
Shows how to set up GitLab + GitLab CI end to end using Docker-based gitlab-runner + Docker executor, .gitlab-ci.yml stages and variables (CI_COMMIT_REF_SLUG), and caching Composer files to speed builds. Uses Nexus as a Docker registry and Traefik as an HTTP reverse proxy. Builds produce tagged images pushed to Nexus, deploy to staging automatically and to production via a manual deploy button, and create Review Apps per-branch environments that spin up and stop on demand.
AI-written summary · about
chapters (30)
- 0:00Intro
- 2:29Beyond CI/CD
- 4:48Nexus Repository Manager
- 5:43traefik configuration
- 7:00GitLab: Create project
- 7:17GitLab: Push the code
- 9:53GitLab Runner: Register new instance
- 11:52GitLab Runner: Configuration
- 13:24GitLab CI: Storing secrets
- 13:50GitLab: Add.gitlab-ci.yml
- 16:02GitLab Cl: Build Pipeline
- 18:08GitLab Cl: Add MySQL service
- 19:22Build Pipelines (Shared config)
- 20:19Build Pipelines (Test & Build)
- 20:32Build Pipelines (Stage Deployment)
- 22:05Running your Build Pipeline
- 23:51Nexus: Docker Registry
- 24:15How to deploy the container?
- 25:14Build Pipelines (Prod Deployment)
- 26:05Prod Deployment running
- 26:58aaaand deployed on prod!
- 28:09Review App Build Pipeline (Start)
- 29:13Review App Build Pipeline (Stop)
- 29:42Let's test the Build Pipeline!
- 29:56Merge Request! Merge Request!
- 30:11Build Pipeline running
- 30:27Build Pipeline finished!
- 31:01How to deploy on stage & prod?
- 31:24Merge kicks of Build Pipeline again...
- 32:13GitLab Cl: Environment History
related talks
46mFrom Dev to Prod with GitLab CI
51mGitLab CI/CD Pipelines with Kubernetes
47mGitLab and PHP? It Works! Tips, Tricks and Learnings
43mCI⚡CD: theory put into practice
15mDocker image testing in GitLab CI
52mFrom 0 to Continuous Deployments with Kubernetes, Helm and GitLab
02h 47mPipes on Pipelines
35mGitLab CI and Kubernetes, Build Test and Deploy Your Projects
