GitLab and DevOps

  • Your first pipeline
  • My GitLab CI pipeline is not running
  • Configuring Git for Gitlab CI
  • Gitlab architecture
  • Why GitLab CI?
  • How much does Gitlab cost?

Basic CI/CD workflow with Gitlab CI

  • Overview
  • What is CI / CD?
  • Alternative if you don’t want to install new software
  • Short introduction to Node.js
  • Creating a new project
  • Building the project locally
  • Short introduction to images and Docker
  • Building the project using Gitlab CI
  • Adding a test stage
  • Running jobs in parallel
  • Running jobs in the background
  • Deployment using surge.sh
  • Using Environment variables for managing secrets
  • Deploying the project using Gitlab CI
  • How does Surge.sh know the environment variables?
  • Post-deployment tests

Gitlab CI Fundamentals

  • Overview
  • Predefined environment variables
  • Pipeline triggers / Retrying failed jobs / Pipeline schedules
  • Using caches to optimize the build speed
  • Assignment: Improving build speed by using caches6 questions
  • Cache vs Artifacts
  • Deployment Environments
  • Defining variables
  • Manual deployments / Manually triggering jobs
  • Merge requests – Using branches
  • Merge requests – What is a Merge Request?
  • Merge requests – Configuring Gitlab
  • Merge requests – Your first merge request
  • Dynamic environments
  • Troubleshooting environment variables not being available
  • Destroying environments (Clean-up after the Merge Request)
  • before_script & after_script configuration

YAML basics

  • Overview
  • Understanding YAML
  • Disabling jobs
  • Anchors
  • Creating job templates