Loading video player...
Stop deploying manually. GitLab CI/CD lets you build, test, scan, and deploy your code automatically — right inside GitLab, no extra tools needed. This crash course takes you from zero to a full production pipeline in 20 minutes. 🔥 In this video, you'll learn: • What CI/CD actually means (CI vs CD vs Continuous Deployment) • How GitLab pipelines, stages, and jobs work • Writing your first .gitlab-ci.yml from scratch • GitLab Runners: shared, self-hosted, and Kubernetes • Variables & secrets — the safe way • Artifacts vs Cache — the difference explained simply • Environments: staging auto-deploy + manual production gate • Rules for controlling when jobs run • needs: to cut pipeline time in HALF (DAG pipelines) • Parallel & Matrix builds for cross-version testing • Built-in Security scanning: SAST, dependency scanning, secret detection • Top 10 GitLab CI/CD best practices ⏱️ Timestamps: 0:00 - Hook: Manual deployments must die 2:30 - What is CI/CD? (CI vs CD vs Continuous Deployment) 3:30 - GitLab Platform Overview 4:15 - How GitLab CI/CD Works (Architecture) 5:30 - The .gitlab-ci.yml File — Anatomy 7:45 - Stages & Jobs (Visual Pipeline) 9:20 - Job Keywords Deep Dive 11:34 - Demo #1: Your First Node.js Pipeline 20:35 - Variables & Secrets (Masked, Protected, File) 24:00 - Artifacts vs Cache Explained 26:30 - Environments & Deployments (Review Apps) 34:10 - Rules — When to Run Jobs 36:15 - needs: & DAG Pipelines (Pipeline Speed Trick) 38:10 - Parallel & Matrix Builds 40:25 - Demo #2: Complete Production Pipeline 42:52 - Security Scanning (SAST, Dependency, Secret Detection) 46:15 - Top 10 GitLab CI/CD Best Practices 49:20 - GitLab vs GitHub Actions 51:55 - Outro & Call to Action 🔗 Resources: • Demo Project Code:https://gitlab.com/shazforiot/gitlab-ci-cd-crash-course-demo-project • GitLab CI/CD docs: https://docs.gitlab.com/ee/ci/ • GitLab Runner install: https://docs.gitlab.com/runner/install/ • CI/CD YAML reference: https://docs.gitlab.com/ee/ci/yaml/ • Free GitLab account: https://gitlab.com/users/sign_up 🛠️ Tools used: • GitLab.com (free tier) • Node.js 20 + Express • Docker (multi-stage build) • Jest (testing + coverage) • GitLab Shared Runners (Docker executor) 🔔 Subscribe for more Kubernetes & DevOps content! --- #GitLabCICD #GitLab #CICD #DevOps #Kubernetes #Docker #Pipeline #Automation #DevSecOps #SoftwareEngineering