Check if feature flags symlinks exist
- Check if feature flags symlinks exist and abort otherwise.
- Echo to the user when the flags YAML file is generated.
Test locally
- Generate the feature flags https://gitlab.com/gitlab-org/gitlab-docs/-/blob/master/README.md#generate-the-feature-flag-tables
- Run the task
bundle exec rake generate_feature_flags
, it should succeed with the "Writing content/_data/feature_flags.yaml" message - Remove one of the symlinks
- Run the task, it should abort
Edited by Achilleas Pipinellis