GitLab CI Pipeline Validator
Paste your .gitlab-ci.yml and catch the mistakes that break pipelines before
you push — YAML errors, jobs with no script, stages that aren't declared, and
rules/only conflicts. It runs entirely in your browser.
Results
Results appear here as you type.
100% private — validation runs entirely in your browser. Your input is never uploaded.
stages:
- build
- test
- deploy
variables:
IMAGE: registry.example.com/app:$CI_COMMIT_SHORT_SHA
build:
stage: build
script:
- docker build -t "$IMAGE" .
test:
stage: test
script:
- pytest -q
deploy:
stage: deploy
script:
- kubectl set image deploy/app app="$IMAGE"
rules:
- if: '$CI_COMMIT_BRANCH == "main"' What it checks
- • YAML syntax with line/column.
- • Jobs with no
script(or trigger/extends). - • Undeclared stages referenced by a job's
stage:. - •
rulescombined withonly/except(mutually exclusive). - • Malformed
scriptand empty pipelines.
A structural check — GitLab's server-side CI Lint also evaluates
include: and project context.