Skip to content

Check if feature flags symlinks exist

Achilleas Pipinellis requested to merge ap-feature-flags-rakefile into master
  • Check if feature flags symlinks exist and abort otherwise.
  • Echo to the user when the flags YAML file is generated.

Test locally

  1. Generate the feature flags https://gitlab.com/gitlab-org/gitlab-docs/-/blob/master/README.md#generate-the-feature-flag-tables
  2. Run the task bundle exec rake generate_feature_flags, it should succeed with the "Writing content/_data/feature_flags.yaml" message
  3. Remove one of the symlinks
  4. Run the task, it should abort
Edited by Achilleas Pipinellis

Merge request reports