Commit Graph

2775 Commits

Author SHA1 Message Date
Marcin Sedlak-Jakubowski 505964ecf1 Merge branch 'docs-update-directory-for-update-keys-after-expiration' into 'master'
Docs: Update repo directory for update keys after expiration

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7510

Merged-by: Marcin Sedlak-Jakubowski <msedlakjakubowski@gitlab.com>
Approved-by: Axel von Bertoldi <avonbertoldi@gitlab.com>
Approved-by: Marcin Sedlak-Jakubowski <msedlakjakubowski@gitlab.com>
Reviewed-by: alexgit2k <utaker2k-git@yahoo.de>
Co-authored-by: fneill <fneill@gitlab.com>
2024-05-13 17:12:03 +00:00
Fiona Neill 6fcbde640d Docs: Update repo directory for update keys after expiration 2024-05-13 17:12:02 +00:00
Evan Read c195e352b5 Merge branch 'mkozono-master-patch-92735' into 'master'
Update Configuring log level

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7592

Merged-by: Evan Read <eread@gitlab.com>
Approved-by: Jason Plum <jplum@gitlab.com>
Approved-by: Evan Read <eread@gitlab.com>
Co-authored-by: Michael Kozono <mkozono@gitlab.com>
2024-05-09 23:18:35 +00:00
Michael Kozono 8f4d656911 Remove mention of sidekiq.log
See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/149790
2024-05-09 23:18:34 +00:00
Robert Marshall 6dd718199d Merge branch 'add-reconfigure-documentation' into 'master'
Add documentation on what happens during gitlab-ctl reconfigure

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7213

Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: João Alexandre Cunha <j.a.cunha@gmail.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Reviewed-by: João Alexandre Cunha <j.a.cunha@gmail.com>
Reviewed-by: Robert Marshall <rmarshall@gitlab.com>
Reviewed-by: Evan Read <eread@gitlab.com>
Co-authored-by: Balasankar "Balu" C <balasankar@gitlab.com>
Co-authored-by: Evan Read <eread@gitlab.com>
2024-05-09 16:16:42 +00:00
Balasankar 'Balu' C 5baed11c98 Improve reconfigure process documentation
- Adds much more detail around the process that happens
  when gitlab-ctl reconfigure executes.
- Adds notes to the recipes to clarify what happens in
  the context of a reconfigure run.

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2024-05-09 16:16:41 +00:00
Suzanne Selhorn cde5fb023d Adding tier badge rules
Because we need to check the consistency
of the tier badges

Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/458260
2024-05-08 10:24:23 -07:00
Balasankar 'Balu' C 6f0f625f4e Merge branch 'sh-use-bundler' into 'master'
Use bundler to install Omnibus gems

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7362

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Reviewed-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Reviewed-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Stan Hu <stanhu@gmail.com>
2024-05-06 04:02:47 +00:00
Stan Hu 38bd8dffec Use bundler to install Omnibus gems
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
2024-05-06 04:02:46 +00:00
Gregorius Marco cfa756435e Remove deprecated min_concurrency and max_concurrency for Sidekiq
- Eliminates code related to `min_concurrency` and
  `max_concurrency` options in sidekiq.

Related https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/3422

Changelog: removed
2024-05-04 00:39:29 +00:00
Lysanne Pinto 460e3ffd20 Fix links in GitLab Omnibus project 2024-05-02 00:48:55 +00:00
Robert Marshall afa4d72b8f Merge branch 'eread/switch-to-lychee-for-link-checking' into 'master'
Switch to Lychee for link checking

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7547

Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Reviewed-by: Evan Read <eread@gitlab.com>
Co-authored-by: Evan Read <eread@gitlab.com>
2024-04-30 22:41:28 +00:00
Evan Read 34e4de4d7d Switch to Lychee for link checking
Use Lychee instead of nanoc for link validation
in documentation.

Related https://gitlab.com/gitlab-org/technical-writing/-/issues/979
2024-04-30 22:41:28 +00:00
Jason Plum f99bb40bf8 Merge branch 'docs-add-ssh-error-troubleshooting' into 'master'
Add section about troubleshooting SSH push/pull error

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7534

Merged-by: Jason Plum <jplum@gitlab.com>
Approved-by: Evan Read <eread@gitlab.com>
Approved-by: Jason Plum <jplum@gitlab.com>
Reviewed-by: Evan Read <eread@gitlab.com>
Co-authored-by: Evan Read <eread@gitlab.com>
Co-authored-by: Alexandr Tanayno <atanayno@gitlab.com>
2024-04-29 16:17:28 +00:00
Alexandr Tanayno 668e97e1fa Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Evan Read <eread@gitlab.com>
2024-04-29 16:17:27 +00:00
Manoj M J 9be1159647 Update Docs: 17.0 Remove support for single database connection 2024-04-29 13:24:20 +00:00
Achilleas Pipinellis d07c931112 Merge branch 'brad-hyphenate-docs' into 'master'
Hyphenate PEM encoded

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7553

Merged-by: Achilleas Pipinellis <axil@gitlab.com>
Approved-by: Achilleas Pipinellis <axil@gitlab.com>
Co-authored-by: Brad Sevy <bsevy@gitlab.com>
2024-04-24 11:09:55 +00:00
Balasankar 'Balu' C 6df77b3a42 Merge branch 'sv-remove-reliable' into 'master'
Remove reliable from test runs

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7562

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Vishal Patel <vpatel@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Sofia Vistas <svistas@gitlab.com>
2024-04-24 04:08:05 +00:00
Sofia Vistas 3c6fb28eb2 Remove reliable tag from QA test runs 2024-04-24 04:08:05 +00:00
Asmaa Hassan 80728911e4 Removing references of old versions of distribution:deply | omnibus docs 2024-04-23 20:34:58 +00:00
Brad Sevy 2ad383978a Hyphenate PEM encoded 2024-04-18 13:44:46 +00:00
Ben Prescott_ d18edb4564 Add sslmode to instructions for replicate-geo-database 2024-04-02 15:18:22 +00:00
Rutger Wessels 941866b00f Add link to single-db deprecation message 2024-04-02 08:34:37 +00:00
Clemens Beck a340a0c3ba Auto upgrade single node installs to PostgreSQL 14
Postgres 14 is going to become our minimum supported version in
GitLab 17. GitLab 16.11 turns on auto-upgrade for single node installs.

Documentation change: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147402

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8340

Changelog: changed
2024-03-25 08:55:22 +00:00
Ashraf Khamis b56172b4eb Merge branch 'docs/sleep-logrotate' into 'master'
Docs: Added pre_sleep and post_sleep in logrotation

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7481

Merged-by: Ashraf Khamis <akhamis@gitlab.com>
Approved-by: Ashraf Khamis <akhamis@gitlab.com>
Co-authored-by: Achilleas Pipinellis <axil@gitlab.com>
Co-authored-by: Julian Paul Dasmarinas <jdasmarinas@gitlab.com>
2024-03-19 10:53:56 +00:00
Julian Paul Dasmarinas af677e4603 Docs: Added pre_sleep and post_sleep in logrotation 2024-03-19 10:53:55 +00:00
Robert Marshall 9ef2e18687 Enable easy SELinux context fixes
- Adds a command to re-apply SELinux file context rules based on the
  current GitLab provided SELinux policy.
- Documents the existence of this new command.
- Moves semanage tests into SELinuxHelper rspec and extends coverage for
  changes made to support the new command.

Related https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/7257

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/7452

Changelog: added
Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
2024-03-19 04:50:52 +00:00
Robert Marshall d4758338e6 Merge branch 'tmarsh1-master-patch-eba7' into 'master'
Update file aws_amis_and_marketplace_listings.md

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7470

Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Nailia Iskhakova <niskhakova@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Tony Marsh <tmarsh@gitlab.com>
2024-03-13 21:05:09 +00:00
Tony Marsh aacb8a9b1e Use correct link for AWS Marketplace
- Update aws_amis_and_marketplace_listings.md in the
  documentation to use the `owner` instead of `ownerAlias`
  key in the link to GitLab AWS Marketplace AMIs.
2024-03-13 21:05:09 +00:00
Balasankar 'Balu' C 1c9763ab35 Document the PACKAGE_PROMOTION_RUNNER_TAG variable
Adds definition for the PACKAGE_PROMOTION_RUNNER_TAG
environment variable in pipeline jobs.

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8331

Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-03-09 00:53:05 +00:00
Robert Marshall 1f61d53213 Merge branch 'docs-scoped-maintainership-build' into 'master'
Add doc about scoped maintainership for Build

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7246

Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Reviewed-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Reviewed-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Balasankar "Balu" C <balasankar@gitlab.com>
2024-03-08 03:57:00 +00:00
Balasankar 'Balu' C 51dc2952e0 Add doc about scoped maintainership for Build
Document the competencies required to become a
build scoped maintainer for Omnibus GitLab.

Related https://gitlab.com/gitlab-org/distribution/team-tasks/-/issues/1253

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2024-03-08 03:56:59 +00:00
Evan Read 5904b1d316 Add missing frontmatter to files 2024-03-07 15:12:49 +10:00
Marcel Amirault ec73fe4257 Merge branch 'docs-aqualls-fix-links' into 'master'
omnibus: Update redirected or broken links

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7462

Merged-by: Marcel Amirault <mamirault@gitlab.com>
Approved-by: Marcel Amirault <mamirault@gitlab.com>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
2024-03-04 07:28:41 +00:00
Ash McKenzie bed2944180 Increase net.core.somaxconn default to 2048
The default for Linux kernels 5.4+ is 4096.

Changelog: performance
2024-03-02 01:59:10 +00:00
Amy Qualls 5b97a8e092
Update redirected or broken links
Fix these links so they go to the right location.
2024-03-01 16:34:23 -08:00
Dustin Collins a08a59cccd Update package signature dates to reflect GPG key extension
GPG key now expires on 2026-02-27.

Changelog: changed
2024-03-01 21:05:50 +00:00
Evan Read 1d7638a1c1 Update no-trailing-spaces configuration to new standard 2024-02-27 14:29:52 +10:00
Andrew Patterson 9718e76780 Merge branch 'syvb/fix-cacert-reference' into 'master'
Correctly specify where CA store comes from

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7436

Merged-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Ryan Egesdahl <regesdahl@gitlab.com>
Co-authored-by: syvb <me@iter.ca>
2024-02-26 16:23:27 +00:00
Marcel Amirault 2b3a758da5 Fix kramdown warnings in the database support doc 2024-02-19 21:02:18 +00:00
syvb 1ab3740cac Correctly specify where CA store comes from
CAcert.org does not make a collection of trusted root CAs.
GitLab Omnibus uses Curl's version of Mozilla's trust store:
e20cbf834f/config/software/cacerts.rb (L35)

I think this error resulted from confusing the `cacert.pem` file (which is the name for any file that contains a collection of CAs), and the `CAcert.org` non-profit (which is a non-profit CA).

Signed-off-by: syvb <me@iter.ca>
2024-02-18 18:33:12 -05:00
Achilleas Pipinellis 675a53c6f5 Merge branch 'docs-jr-postgresrole-no-consul' into 'master'
Update `postgres_role` description to remove consul from the role

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7414

Merged-by: Achilleas Pipinellis <axil@gitlab.com>
Co-authored-by: James Reed <jreed@gitlab.com>
2024-02-08 20:02:07 +00:00
James Reed 56784e10fe Update `postgres_role` description to remove consul from the role 2024-02-08 20:02:06 +00:00
Evan Read a9c947efe1 Vale and Markdown rule refresh for project 2024-02-08 05:22:59 +00:00
Robert Marshall 41caf3bdf1 Merge branch 'docs-1349-multi-db-blueprint' into 'master'
Blueprint to support multiple databases

Closes gitlab-org/distribution/team-tasks#1349

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7172

Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Reviewed-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Reviewed-by: Robert Marshall <rmarshall@gitlab.com>
Reviewed-by: Evan Read <eread@gitlab.com>
Reviewed-by: Vladimir Shushlin <vshushlin@gitlab.com>
Reviewed-by: João Pereira <jpereira@gitlab.com>
Co-authored-by: Hossein Pursultani <hpursultani@gitlab.com>
Co-authored-by: Evan Read <eread@gitlab.com>
2024-02-07 08:05:16 +00:00
Hossein Pursultani 6f138ce859 Blueprint to support multiple databases
Documents the implementation model when a new component requires its own
database and the requirements for each level of support that Omnibus
GitLab may provide.
    
- Describes the standard when an existing component is migrated to the
  new implementation model.
- Outlines the way a new component with a separate database should be
  added to Omnibus GitLab.
- Defines each level of support a component may have from Omnibus GitLab.

Closes https://gitlab.com/gitlab-org/distribution/team-tasks/-/issues/1349

Signed-off-by: Hossein Pursultani <hpursultani@gitlab.com>
2024-02-07 08:05:16 +00:00
Balasankar 'Balu' C 66a37c3026 Merge branch 'eread/fully-implement-markdownlint_cli2-in-project-docs' into 'master'
Fully implement markdownlint-cli2 in project

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7409

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Marcel Amirault <mamirault@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Evan Read <eread@gitlab.com>
2024-02-06 04:52:59 +00:00
Nailia Iskhakova 33df64295a Expand guidance for trust_auth_cidr_addresses
for multi-node setups

Signed-off-by: Nailia Iskhakova <niskhakova@gitlab.com>
2024-02-04 23:23:48 +00:00
Evan Read a1d1514647 Fully implement markdownlint-cli2 in project 2024-02-02 14:55:04 +10:00
Ben Bodenmiller 86cedef576 Fix database troubleshooting section indentation & location 2024-02-01 01:54:30 +00:00