- Updates Omnibus gem to 9.0.19.2 so GitFetcher
selects the exact branch instead of the first
branch when multiple branches match the
requested version.
Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8443
Changelog: changed
Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
- Add unf_ext gem because it is a direct dependency for Cinc versions
greater than 18.0.169
- Updates Cinc gem from 17.10.95 to 18.3.0
- Updates Ohai gem from 17.9.0 to 18.1.3
- Updates software config for chef-bin, chef-gem, and ohai
- Remove ohai gem version workaround
Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8294
Changelog: changed
Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
- Add unf_ext gem because it is a direct dependency for Cinc versions
greater than 18.0.169
- Updates Cinc gem from 17.10.95 to 18.3.0
- Updates Ohai gem from 17.9.0 to 18.1.3
- Updates software config for chef-bin, chef-gem, and ohai
- Remove ohai gem version workaround
Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8294
Changelog: changed
Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
- Replace google cloud SDK with the google-cloud-storage gem
thereby reducing the total footprint size of the builders
Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8088
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
https://github.com/ruby/uri/pull/26 refactored how schemes are
registered in the `uri` gem. Ruby 3.1.4 - 3.2.2 ships with uri
v0.12.1, which has this change.
Changelog: fixed
The configuration formats of Praefect and Omnibus deviate from each
other creating a few problems:
1. Configuration keys for the same option differ between the context of
Omnibus and Praefect creating confusion for the user.
2. Each new key added requires duplicate work to map the different keys
into Omnibus.
This change introduces praefect['configuration'] matching configuration
in Omnibus with Praefect's own format. The previous configuration keys
are remapped into this new format to assist administrators during the
transition period.
The tomlrb gem does not supporting encoding TOML, so the tomlib gem has
been added as a dependency. The configuration values are now serialized
directly into TOML instead of using a template.
Removes unneeded values allowing Praefect's own source to be the single
source of truth for configuration.
Updates tests because the new serialization method does not output empty
config sections.
Guards are included to prevent errors with latency configurations that
must be arrays where the previous configuration expected a string until
such time as Praefect's own validation subroutines are implemented.
Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/7422
Changelog: changed
The configuration formats between Praefect and Omnibus deviate from
each other. This has a few problems:
1. The configuration keys differ in Omnibus from what Praefect uses. This
makes things confusing as the keys for the same options are different in
different contexts.
2. This forces us to duplicate the configuration in Omnibus' template to
map the different keys. This creates menial work and requires us to touch
Omnibus everytime new configuration keys are added.
This commit solves the problem by matching the configuration format of Praefect
in Omnibus completely with Praefect's own format. This is done by introducing the
submap Gitlab['praefect']['configuration'] which gets directly serialized as TOML.
As existing installations still depend on the old keys, compatbility code is added
to transfer the configuration to their new locations. We should later deprecate the
old keys and ask users to move the configuration to its new location.
Additionally, the unneeded default values are removed. This ensures the default
values are not duplicated and can be controlled for both source and Omnibus
installations by just updating Praefect's source.
As tomlrb does not support encoding TOML, dependency to tomlib was added to do so.
Tests had a slight change as the old template was outputting empty config sections
which are not needed. The new code outputs no unnecessary empty sections.
Changelog: changed
This enables us to take advantage of new counter methods in
rspec-expectations that allows for checking for duplicates and/or
an expected number of items (e.g. include(‘some string’).twice
Latest version is 3.12 - but inspec-core has a <= constraint for 3.11
Changelog: changed
Signed-off-by: Jason Young <jyoung@gitlab.com>
Update gitlab-styles from 7.1.0 to 9.0.0 to update rubocop to 1.36.0
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/6355
Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Jason Plum <jplum@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Update Bundler from 2.2.33 to 2.3.22 used in CI jobs
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/6356
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Use the retriable gem to retry uploading of packages if it fails.
It will retry 10 times, with a total wait time of about 6 minutes.
If the upload continues to fail, an exception will be raised.
- aws-sdk-ec2 from 1.197.0 to 1.327.0
- aws-sdk-marketplacecatalog from 1.7.0 to 1.22.0
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Changelog: other
Use the common features such as changelog checks provided
by gitlab-dangerfiles and clean up the file structure for
easier maintenance and upkeep with the broader changes
across the organization.
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
- Updates package cloud and related gems, notably the thor gem
which is used as part of Omnibus GitLab.
Changelog: changed
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
- cinc version 17.10 is ruby 3 compatible
- update ohai version now supports AlmaLinux and RockyLinux
- update related dependencies and chef ecosystem gems
- update Omnibus GitLab cookbooks to resolve deprecation warnings for
upcoming behavior changes in cinc version 18.x
- update runit cookbook resources to support newer cinc version
- update crond_job extension to match changes in upstream crond resource
related to newer versions of cinc
Signed-off-by: Robert Marshall <rmarshall@gitlab.com>