Add a CI job that checks if FF list in documentation is up-to-date

parent 0317ef25
......@@ -205,6 +205,22 @@ dep status:
variables:
- $CI_DEP_STATUS_ENABLED
check feature flags docs:
stage: prebuild
cache: {}
dependencies:
script:
- cp docs/configuration/feature-flags.md docs/configuration/feature-flags.md.orig
- make update_feature_flags_docs
- |
diff docs/configuration/feature-flags.md.orig docs/configuration/feature-flags.md || (
echo
echo "Feature Flags list in documentation is not up-to-date"
echo "Run 'make update_feature_flags_docs' to upate it"
echo
exit 1
)
#
# Test stage
#
......
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