Skip to content

Make fetched data available to frontend jobs

Sarah German requested to merge data-artifacts-for-fe into main

What does this MR do and why?

In !70 (merged), we added a script to fetch YAML data from gitlab-docs as part of the build process. This is necessary during this project to make sure the sidebar navigation is in sync with actual Docs content from the various source projects.

There are some frontend components that use these data files, so we need the dynamically-fetched files to also be available to frontend jobs.

This MR creates a stub data file for use in FE tests and linting, and it also adds a CI job to create the actual data file before running the frontend production build. All of this will be removable at the end of the project when we no longer have to fetch data from gitlab-docs.

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports