Skip to content

Resolve "Test compiling frontend assets for production in CI"

What does this MR do?

Adds a new rake gitlab:assets:compile step to GitLab's CI config which tests compiling production assets and runs webpack-bundle-analyzer on the result. Bundle analyzer results are saved to webpack-report directory and published to gitlab pages.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

We weren't testing our production asset compilation step outside of omnibus-gitlab so errors in our webpack.config.js file or our package.json could go unnoticed for a long time.

Screenshots (if relevant)

Screen_Shot_2017-02-21_at_4.42.44_PM

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #28450 (closed)

Merge request reports