From a0c858af992efc3c9ec79f26de61aa7e63d7c3fe Mon Sep 17 00:00:00 2001 From: Ben Bodenmiller <bbodenmiller@gmail.com> Date: Thu, 25 Jan 2024 09:44:04 +0000 Subject: [PATCH] Improve gitlab.rb file rendering in ref arch pages --- .../reference_architectures/10k_users.md | 32 +++++++++---------- .../reference_architectures/25k_users.md | 32 +++++++++---------- .../reference_architectures/2k_users.md | 22 ++++++------- .../reference_architectures/3k_users.md | 32 +++++++++---------- .../reference_architectures/50k_users.md | 32 +++++++++---------- .../reference_architectures/5k_users.md | 32 +++++++++---------- 6 files changed, 91 insertions(+), 91 deletions(-) diff --git a/doc/administration/reference_architectures/10k_users.md b/doc/administration/reference_architectures/10k_users.md index 7bfc11c639dc7..c4e8443f5c184 100644 --- a/doc/administration/reference_architectures/10k_users.md +++ b/doc/administration/reference_architectures/10k_users.md @@ -1397,11 +1397,11 @@ To configure the Praefect nodes, on each one: NOTE: You can't remove the `default` entry from `virtual_storages` because [GitLab requires it](../gitaly/configure_gitaly.md#gitlab-requires-a-default-repository-storage). -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Praefect server @@ -1561,12 +1561,12 @@ On each node: 1. Edit the Gitaly server node's `/etc/gitlab/gitlab.rb` file to configure storage paths, enable the network listener, and to configure the token: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Gitaly server @@ -1791,11 +1791,11 @@ To configure the Sidekiq nodes, on each one: on the page. 1. Create or edit `/etc/gitlab/gitlab.rb` and use the following configuration: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md + - all reference architecture pages + --> ```ruby # https://docs.gitlab.com/omnibus/roles/#sidekiq-roles diff --git a/doc/administration/reference_architectures/25k_users.md b/doc/administration/reference_architectures/25k_users.md index 3f385cef20d8c..5421a53025e7e 100644 --- a/doc/administration/reference_architectures/25k_users.md +++ b/doc/administration/reference_architectures/25k_users.md @@ -1405,11 +1405,11 @@ To configure the Praefect nodes, on each one: NOTE: You can't remove the `default` entry from `virtual_storages` because [GitLab requires it](../gitaly/configure_gitaly.md#gitlab-requires-a-default-repository-storage). -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Praefect server @@ -1569,12 +1569,12 @@ On each node: 1. Edit the Gitaly server node's `/etc/gitlab/gitlab.rb` file to configure storage paths, enable the network listener, and to configure the token: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Gitaly server @@ -1799,11 +1799,11 @@ To configure the Sidekiq nodes, on each one: on the page. 1. Create or edit `/etc/gitlab/gitlab.rb` and use the following configuration: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md + - all reference architecture pages + --> ```ruby # https://docs.gitlab.com/omnibus/roles/#sidekiq-roles diff --git a/doc/administration/reference_architectures/2k_users.md b/doc/administration/reference_architectures/2k_users.md index f0d978ffba285..8005954d00d32 100644 --- a/doc/administration/reference_architectures/2k_users.md +++ b/doc/administration/reference_architectures/2k_users.md @@ -455,12 +455,12 @@ To configure the Gitaly server, on the server node you want to use for Gitaly: NOTE: You can't remove the `default` entry from `gitaly['configuration'][:storage]` because [GitLab requires it](../gitaly/configure_gitaly.md#gitlab-requires-a-default-repository-storage). -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Gitaly server @@ -622,11 +622,11 @@ To configure the Sidekiq server, on the server node you want to use for Sidekiq: on the page. 1. Create or edit `/etc/gitlab/gitlab.rb` and use the following configuration: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md + - all reference architecture pages + --> ```ruby # https://docs.gitlab.com/omnibus/roles/#sidekiq-roles diff --git a/doc/administration/reference_architectures/3k_users.md b/doc/administration/reference_architectures/3k_users.md index 310c4568af5a6..bf3377132e34d 100644 --- a/doc/administration/reference_architectures/3k_users.md +++ b/doc/administration/reference_architectures/3k_users.md @@ -1323,11 +1323,11 @@ To configure the Praefect nodes, on each one: NOTE: You can't remove the `default` entry from `virtual_storages` because [GitLab requires it](../gitaly/configure_gitaly.md#gitlab-requires-a-default-repository-storage). -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Praefect server @@ -1487,12 +1487,12 @@ On each node: 1. Edit the Gitaly server node's `/etc/gitlab/gitlab.rb` file to configure storage paths, enable the network listener, and to configure the token: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Gitaly server @@ -1721,11 +1721,11 @@ To configure the Sidekiq nodes, on each one: on the page. 1. Create or edit `/etc/gitlab/gitlab.rb` and use the following configuration: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md + - all reference architecture pages + --> ```ruby # https://docs.gitlab.com/omnibus/roles/#sidekiq-roles diff --git a/doc/administration/reference_architectures/50k_users.md b/doc/administration/reference_architectures/50k_users.md index 5d6e4b44f7256..bc9b45b799cf6 100644 --- a/doc/administration/reference_architectures/50k_users.md +++ b/doc/administration/reference_architectures/50k_users.md @@ -1411,11 +1411,11 @@ To configure the Praefect nodes, on each one: NOTE: You can't remove the `default` entry from `virtual_storages` because [GitLab requires it](../gitaly/configure_gitaly.md#gitlab-requires-a-default-repository-storage). -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Praefect server @@ -1575,12 +1575,12 @@ On each node: 1. Edit the Gitaly server node's `/etc/gitlab/gitlab.rb` file to configure storage paths, enable the network listener, and to configure the token: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Gitaly server @@ -1806,11 +1806,11 @@ To configure the Sidekiq nodes, on each one: on the page. 1. Create or edit `/etc/gitlab/gitlab.rb` and use the following configuration: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md + - all reference architecture pages + --> ```ruby # https://docs.gitlab.com/omnibus/roles/#sidekiq-roles diff --git a/doc/administration/reference_architectures/5k_users.md b/doc/administration/reference_architectures/5k_users.md index 422717590b184..723ab7c7955c4 100644 --- a/doc/administration/reference_architectures/5k_users.md +++ b/doc/administration/reference_architectures/5k_users.md @@ -1323,11 +1323,11 @@ To configure the Praefect nodes, on each one: NOTE: You can't remove the `default` entry from `virtual_storages` because [GitLab requires it](../gitaly/configure_gitaly.md#gitlab-requires-a-default-repository-storage). -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/gitaly/praefect.md + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Praefect server @@ -1487,12 +1487,12 @@ On each node: 1. Edit the Gitaly server node's `/etc/gitlab/gitlab.rb` file to configure storage paths, enable the network listener, and to configure the token: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/gitaly/index.md#gitaly-server-configuration + - all reference architecture pages + --> ```ruby # Avoid running unnecessary services on the Gitaly server @@ -1711,11 +1711,11 @@ To configure the Sidekiq nodes, on each one: on the page. 1. Create or edit `/etc/gitlab/gitlab.rb` and use the following configuration: -<!-- -Updates to example must be made at: -- https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md -- all reference architecture pages ---> + <!-- + Updates to example must be made at: + - https://gitlab.com/gitlab-org/gitlab/blob/master/doc/administration/sidekiq.md + - all reference architecture pages + --> ```ruby # https://docs.gitlab.com/omnibus/roles/#sidekiq-roles -- GitLab