Create and upload a package of GitLab Shell executables
What does this merge request do and why?
Create and upload a package of GitLab Shell executables in the bin directory
Compress GitLab Shell executables in the bin directory into a package and upload it to the package registry, so users can download and use them without needing to recompile them.
Related to #2127 (closed)
Screenshots
Setting gitlab_shell.skip_compile
to true
reduced the time to run make gitlab-shell-update
from 11.56 seconds to 5.87 seconds, making it 5.69 seconds faster.
Without gitlab_shell.skip_compile
|
With gitlab_shell.skip_compile
|
---|---|
How to set up and validate locally
-
Rerun the
compile:gitlab-shell
job and make sure GitLab Shell executables are uploaded to the Package Registry. -
Download GitLab Shell executables by running:
gdk config set gitlab_shell.skip_compile true make gitlab-shell-update gdk restart
This should not recompile GitLab Shell.
Impacted categories
The following categories relate to this merge request:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Merge request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise an issue to follow-up. -
Documentation added/updated, if needed. -
Announcement added, if change is notable. -
gdk doctor
test added, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.
Edited by Nao Hashizume