Skip to content

Commit 1d7638a

Browse files
committed
Update no-trailing-spaces configuration to new standard
1 parent f08c055 commit 1d7638a

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
# Extended Markdown configuration to enforce no-trailing-spaces rule
3-
# To use this configuration, in the project directory run:
4-
# markdownlint-cli2 --config doc/.markdownlint/.markdownlint-cli2.yaml 'doc/**/*.md'
3+
# To use this configuration, in the doc directory, run:
4+
#
5+
# markdownlint-cli2 --config .markdownlint/.markdownlint-cli2.yaml '**/*.md'
56
config:
6-
extends: "../../.markdownlint-cli2.yaml"
7+
default: false
78
no-trailing-spaces: true
9+
fix: true

doc/maintenance/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,17 @@ To rotate the secrets:
202202
1. If you have multiple nodes in your GitLab environment, you must copy the secrets to all of your other nodes:
203203

204204
1. On all other nodes, move your current secrets file to a different location:
205-
205+
206206
```shell
207207
sudo mv /etc/gitlab/gitlab-secrets.json /etc/gitlab/gitlab-secrets.json.old
208208
```
209-
209+
210210
1. Copy the new `/etc/gitlab/gitlab-secrets.json` file from your Rails node onto all of your other GitLab nodes.
211211

212212
1. On all other nodes, [reconfigure GitLab](https://docs.gitlab.com/ee/administration/restart_gitlab.html#reconfigure-a-linux-package-installation)
213213
on each node.
214214

215-
1. On all other nodes, [restart GitLab](https://docs.gitlab.com/ee/administration/restart_gitlab.html#restart-a-linux-package-installation) on each
215+
1. On all other nodes, [restart GitLab](https://docs.gitlab.com/ee/administration/restart_gitlab.html#restart-a-linux-package-installation) on each
216216
node to ensure all services are using the new secrets.
217217

218218
1. On all nodes, run a checksum match on the `/etc/gitlab/gitlab-secrets.json` file to confirm that the secrets match:

doc/settings/database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ update this setting in `/etc/gitlab/gitlab.rb`:
605605
gitlab_rails['databases']['ci']['enable'] = false
606606
```
607607
608-
In a multi-node environment, this setting should be updated on all Rails and Sidekiq nodes.
608+
In a multi-node environment, this setting should be updated on all Rails and Sidekiq nodes.
609609
610610
## Using a non-packaged PostgreSQL database management server
611611
@@ -866,7 +866,7 @@ when your installation is using PgBouncer.
866866

867867
1. After upgrading PostgreSQL to a new major release, recreate the table statistics to ensure efficient query plans are picked and
868868
to reduce database server CPU load.
869-
869+
870870
If the upgrade was "in-place" using `pg_upgrade`, run the following query on the PostgreSQL database console:
871871

872872
```SQL

doc/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ make it available. See <https://docs.pulpproject.org/pulp_rpm/> for details.
10041004

10051005
## Error: `E: connection refused to d20rj4el6vkp4c.cloudfront.net 443`
10061006

1007-
When you install a package hosted on our package repository at `packages.gitlab.com`, your client will receive and follow a redirect to the CloudFront address `d20rj4el6vkp4c.cloudfront.net`. Servers in an air-gapped environment can receive the following errors:
1007+
When you install a package hosted on our package repository at `packages.gitlab.com`, your client will receive and follow a redirect to the CloudFront address `d20rj4el6vkp4c.cloudfront.net`. Servers in an air-gapped environment can receive the following errors:
10081008

10091009
```shell
10101010
E: connection refused to d20rj4el6vkp4c.cloudfront.net 443

0 commit comments

Comments
 (0)