GitLab CI/CD 1 · Pipeline basics

Minimal pipeline

A .gitlab-ci.yml with three stages. Jobs in the same stage run in parallel.

stages:
  - build
  - test
  - deploy

build-job:
  stage: build
  script:
    - echo "Building"

test-job:
  stage: test
  script:
    - echo "Testing"

Official GitLab CI/CD 1 documentation

More pipeline basics commands

All pipeline basics commands · GitLab CI/CD 1 cheatsheet

Was this page helpful?