Instead of calling `gem install <x>` many times, let's define the
`Gemfile` and `Gemfile.lock` and run `bundle install`. This ensures
dependencies are pinned and don't quietly move with a new invocation
of `gem install`. There is also a side benefit to using `bundler`: we
can later use the newly-introduced feature to include and verify
checksums (https://github.com/rubygems/rubygems/pull/6374).
`bundler` generally installs everything in the expected gem directory
that is used by `ruby`, but for gems installed from a Git source,
`bundler` puts those gems in a special `bundler/gems` directory.
We don't use any gems from Git sources now--`gitlab-ruby-shadow`
is now used instead of `ruby-shadow`--there is no issue.
Also, note that if we want to ensure `gitlab-ctl` doesn't try to pull
in gems from GitLab Rails, we could invoke `bundler`, but this is a
slightly riskier change.
Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8368
Changelog: changed
- When we changed the way OpenSSL is built to allow OpenSSL 3 testing,
the deps.io job for checking OpenSSL broke. This restores OpenSSL 1.x
version checks.
Related https://gitlab.com/gitlab-org/gitlab/-/issues/341435
Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
Gitaly is in the process of adding the ability to rewrite repository
history. To do this, we will use `git-filter-repo`, built by a
prominent contributer to the Git project. The script becomes available
as a Git subcommand when it is placed in $PATH.
Install the script to `/opt/gitlab/embedded/bin` via `pip3` and add
patches for all three of its license files.
Changelog: added
Support external consul binary
Closes#8332
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7278
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Reviewed-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Clemens Beck <cbeck@gitlab.com>
Co-authored-by: Hossein Pursultani <hpursultani@gitlab.com>
Allow users to bring their own consul, that is not bundled by Omnibus.
The binary path can be configured by setting
consul['binary_path'] = '/custom/consul'.
To customize the consul configuration use the known consul flags.
Consul Admin Documentation: https://docs.gitlab.com/ee/administration/consul.html
Changelog: added
The bundler pattern had an escaping issue causing an error in deps
pipelines:
```
panic: Pattern not found in file
```
Even with the proper escaped pattern, the bundler replace did not work
as expected (it used the rubygems version instead).
Remove bundler to unblock master/deps io pipelines.
Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8335
Allow users to bring their own consul, that is not bundled by Omnibus.
The binary path can be configured by setting
consul['binary_path'] = '/custom/consul'.
To customize the consul configuration use the known consul flags.
Consul Admin Documentation: https://docs.gitlab.com/ee/administration/consul.html
Changelog: added
Add curl to deps.yml
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7188
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Jason Plum <jplum@gitlab.com>
Co-authored-by: Stan Hu <stanhu@gmail.com>
Update libjpeg-turbo/libjpeg-turbo from 2.1.2 to 2.1.5.1
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/6937
Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Hossein Pursultani <hpursultani@gitlab.com>
Co-authored-by: DJ Mountney <dj@gitlab.com>
Co-authored-by: deps <bot@dependencies.io>
- Change Omnibus GitLab project files to use the new devops::systems
label instead of devops::enablement
Signed-off-by: Robert Marshall <rmarshall@gitlab.com>