diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a600965cb447488a764c023ec4b04b48a17affec..dc56d59a6123142f62b46e87e16bee72dbbba5c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,6 +73,22 @@ test-docs-links: - build-docs script: bundle exec htmlproofer --assume-extension --allow_hash_href --url-ignore "/favicon.ico" ./_site +test-docs-crds-regression: + stage: test + image: golang + before_script: + - cd docs + - go install fybrik.io/crdoc@latest + script: + - crdoc --resources ../theodolite/crd/ --template api-reference/crds.tmpl --output api-reference/crds.ref.md + - cmp api-reference/crds.md api-reference/crds.ref.md + rules: + - changes: + - docs/api-reference/crds.tmpl + - theodolite/crd/**/* + - when: manual + allow_failure: true + # Theodolite Helm Chart