While generating package information, specify fips argument for FIPS
package URLs. Also ensure the correct package folder is used in those
URLs.
Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Package related information can have different values for FIPS packages
and regular packages. For builds, USE_SYSTEM_SSL variable controls if
the FIPS specific information should be used. However, while generating
facts, we need to specifically retreive FIPS specific information too,
in addition to regular one. So, accept fips as an argument to the
relevant methods that can be specified while generating facts.
Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Add foundation to build multiarch images
Closes#8469 and #8470
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7492
Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Dmytro Makovey <dmakovey@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Reviewed-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Modify the Dockerfile and library code around Docker image builds to
support building multiarch images. The Dockerfile will download the
package for the correct architecture based on TARGETARCH variable.
Closes: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8470
Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Move away from docker-api gem which does not have support for `docker
buildx`. Add a wrapper to execute `docker buildx` commands in the shell
and use that for Docker operations.
Closes: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8469
Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Fix for missing branch_build_package_download_url
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7554
Merged-by: Jason Plum <jplum@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Jason Plum <jplum@gitlab.com>
Co-authored-by: Andrew Patterson <apatterson@gitlab.com>
Support custom auth_redirect_uri when namespace_in_path is enabled
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7516
Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Mitchell Nielsen <mnielsen@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: ngala <ngala@gitlab.com>
Avoid "undefined local" error in pg-upgrade.rb#analyze_cluster
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7532
Merged-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Ian Baum <ibaum@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Co-authored-by: Katrin Leinweber (GTLB) <kleinweber@gitlab.com>
Enable KAS in FIPS mode
Closes gitlab-org/build/CNG#1948
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7528
Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Vishal Patel <vpatel@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Taka Nishida <tnishida@gitlab.com>
Add link to how to test KAS with TLS
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7530
Merged-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Hossein Pursultani <hpursultani@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Co-authored-by: João Alexandre Cunha <j.a.cunha@gmail.com>
Update gitlab-org/container-registry from v3.90.0-gitlab to v3.92.0-gitlab
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7508
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Clemens Beck <cbeck@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: deps <bot@dependencies.io>
Accept multiple bind addresses in Redis config
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7500
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Hossein Pursultani <hpursultani@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Stan Hu <stanhu@gmail.com>
Revert "Update curl/curl from curl-8_6_0 to curl-8_7_1"
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7539
Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Ryan Egesdahl <deriamis@gmail.com>
Update gitlab-org/gitlab-exporter from 14.3.0 to 14.4.0
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7531
Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Clemens Beck <cbeck@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: deps <bot@dependencies.io>
Fix patroni no longer working with update to ydiff 1.3
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7535
Merged-by: Jason Plum <jplum@gitlab.com>
Approved-by: Jason Plum <jplum@gitlab.com>
Approved-by: João Alexandre Cunha <j.a.cunha@gmail.com>
Co-authored-by: Stan Hu <stanhu@gmail.com>
Update gitlab-org/build/omnibus-mirror/prometheus from 2.51.0 to 2.51.2
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7505
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Clemens Beck <cbeck@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: deps <bot@dependencies.io>
Update gitlab-org/build/omnibus-mirror/pgbouncer_exporter from 0.7.0 to 0.8.0
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7522
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Clemens Beck <cbeck@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: deps <bot@dependencies.io>
Bump Mattermost to release 9.6.1
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7504
Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Mario Vitale <mvitale1989@hotmail.com>
Update rubygems/rubygems from 3.5.6 to 3.5.7
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7494
Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Jon Doveston <jdoveston@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Clemens Beck <cbeck@gitlab.com>
Co-authored-by: deps <bot@dependencies.io>
Support optional grpc log level config for KAS
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7518
Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Gabriel Mazetto <gabriel@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Taka Nishida <tnishida@gitlab.com>
Update curl/curl from curl-8_6_0 to curl-8_7_1
See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7506
Merged-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Clemens Beck <cbeck@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Co-authored-by: deps <bot@dependencies.io>