Provide gitlab tarball with precompiled assets

Problem to solve

Right now when you e.g. build an rpm for gitlab you have to pull all the nodejs dependencies just to build the assets. After some hint from twitter I could finally move the assets compilation into the rpm build and remove the node_modules directory from the rpm again. This saves about 160+ MB after the installation. So I was wondering if we could have an extra tarball provided via a gitlab-ci job which contains public/assets/ to match the release or a tarball which has assets + main app together (either is fine for me really). This could benefit really everyone who installs gitlab from source.

Target audience

  • Devon, DevOps Engineer, https://design.gitlab.com/research/personas#persona-devon

  • Sidney, Systems Administrator, https://design.gitlab.com/research/personas#persona-sidney

And packagers of course

Proposal

gitlab-ci job to render the assets and tar them up.

Links / references

Line 315 ff

https://build.opensuse.org/package/view_file/home:darix:apps/gitlab-ce/gitlab-ce.spec?expand=1

Edited Jul 07, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading