Commit a13028f9 authored by Benjamin Tissoires's avatar Benjamin Tissoires
Browse files

generate_template: add a CI check fot it

Enforces that `` is actually run for each commit.
Signed-off-by: Benjamin Tissoires's avatarBenjamin Tissoires <>
parent efed9d69
......@@ -41,6 +41,7 @@ variables:
- sanity check
- bootstrapping
- alpine_container_build
- alpine_check
......@@ -57,6 +58,24 @@ stages:
- container_push
# We want those to fail as early as possible, so we are reusing the current
# wayland/ci-templates/buildah:latest image
sanity check:
stage: sanity check
image: $CI_REGISTRY/wayland/ci-templates/buildah:latest
- pip3 install --user jinja2 PyYAML
- python3 ./src/
- git diff --exit-code && exit 0 || true
- echo "some files were not generated through 'src/' or
have not been committed. Please edit the files under 'src', run
'src/' and then commit the result"
- exit 1
extends: .bootstrap
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment