Tries to re-generate the pipeline specification and fails if it would
have done any changes.
echo "Docker regex: $[[ inputs.docker-regex ]]"
echo "Docker one: $[[ inputs.docker-one ]]"
+## Pipeline consistency check
+pipeline-uptodate:
+ stage: consistency
+ image: registry.nic.cz/labs/bird:docbuilder
+ script:
+ - autoreconf -i
+ - ./configure
+ - touch misc/gitlab/template.yml.j2
+ - make gitlab-venv
+ - git status --porcelain
+ - git diff --exit-code
+ rules:
+ - !reference [ .default-rules ]
## Consistency checks for stable branches
commit-messages:
echo "Docker regex: $[[ inputs.docker-regex ]]"
echo "Docker one: $[[ inputs.docker-one ]]"
+## Pipeline consistency check
+pipeline-uptodate:
+ stage: consistency
+ image: registry.nic.cz/labs/bird:docbuilder
+ script:
+ - autoreconf -i
+ - ./configure
+ - touch misc/gitlab/template.yml.j2
+ - make gitlab-venv
+ - git status --porcelain
+ - git diff --exit-code
+ rules:
+ - !reference [ .default-rules ]
## Consistency checks for stable branches
commit-messages: