I’m quite new to GitLab but not to software development and I want to create a portable/relocatable version of the CE version of gitlab (https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-11.1.6-ce.0.el7.x86_64.rpm).
Is there a .src.rpm file for the rpm file specified above, I can download? Or a rpm spec file of that rpm?
Kind regards, Edgar Matzinger.
I’m not sure what you mean by relocatable/portable in this context. Do you mean a package that can be installed in
/opt or any other location? What are you ultimately trying to achieve?
In any case, for some background, the GitLab installation packages are not built in the traditional way in the sense that they are self-contained and bundle all dependencies in the package itself. The reason for this is to make installation much easier and even less painful upgrades (either of the underlying OS or of the package itself).
Regardless of the platform, these are called GitLab Omnibus packages, and you can find the package sources in the
omnibus-gitlab repository. You can for instance do a text search for
rpm in that repository to learn more about how the rpm packages are being put together.
I hope this helps!