Skip to content

Start Linting YAML codeblocks in docs

We should lint codeblocks so that they use consistent formatting.

To start, I will add tests for yaml codeblocks, with yamllint which already had a config file in the gitlab repo. So actual yaml in the codebase is being linted already, but not in the docs.

Initial output from test script. Runs in about 60s on full docs suite:

Output:

Click me to expand/collapse.
stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./development/database/database_reviewer_guidelines.md:25

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./development/database/database_reviewer_guidelines.md:72

stdin
  1:7       error    wrong indentation: expected 0 but found 6  (indentation)

YAML lint error above found in codeblock ./development/documentation/styleguide.md:2180

stdin
  7:34      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./development/shell_scripting_guide/index.md:61

stdin
  7:33      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./development/shell_scripting_guide/index.md:89

stdin
  1:2       error    too many spaces inside braces  (braces)
  1:12      error    too many spaces inside braces  (braces)
  1:63      error    too many spaces inside braces  (braces)
  1:84      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./development/geo.md:149

stdin
  4:14      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./development/telemetry/usage_ping.md:235

stdin
  3:5       error    wrong indentation: expected 6 but found 4  (indentation)
  5:5       error    wrong indentation: expected 6 but found 4  (indentation)
  6:7       error    wrong indentation: expected 8 but found 6  (indentation)
  8:5       error    wrong indentation: expected 6 but found 4  (indentation)
  8:14      error    empty value in block mapping  (empty-values)

YAML lint error above found in codeblock ./development/import_export.md:238

stdin
  6:1       error    too many blank lines (1 > 0)  (empty-lines)
  7:1       error    syntax error: could not find expected ':' (syntax)

YAML lint error above found in codeblock ./development/import_export.md:252

stdin
  3:70      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./ci/cloud_deployment/index.md:56

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./ci/docker/using_kaniko.md:87

stdin
  31:4      error    missing starting space in comment  (comments)
  32:4      error    missing starting space in comment  (comments)

YAML lint error above found in codeblock ./ci/ssh_keys/README.md:63

stdin
  14:4      error    missing starting space in comment  (comments)
  15:4      error    missing starting space in comment  (comments)
  23:4      error    missing starting space in comment  (comments)

YAML lint error above found in codeblock ./ci/ssh_keys/README.md:182

stdin
  10:7      error    wrong indentation: expected 8 but found 6  (indentation)
  18:7      error    wrong indentation: expected 8 but found 6  (indentation)

YAML lint error above found in codeblock ./ci/pipelines/pipeline_architectures.md:192

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./ci/variables/README.md:105

stdin
  4:26      error    too few spaces before comment  (comments)
  5:18      error    too few spaces before comment  (comments)
  6:22      error    too few spaces before comment  (comments)
  7:21      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./ci/variables/README.md:130

stdin
  12:27     error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./ci/variables/README.md:502

stdin
  12:27     error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./ci/variables/README.md:521

stdin
  1:1       error    syntax error: expected the node content, but found '<document end>' (syntax)

YAML lint error above found in codeblock ./ci/examples/php.md:75

stdin
  1:1       error    syntax error: expected the node content, but found '<document end>' (syntax)

YAML lint error above found in codeblock ./ci/examples/php.md:86

stdin
  5:1       error    comment not indented like content  (comments-indentation)

YAML lint error above found in codeblock ./ci/examples/php.md:101

stdin
  2:1       error    comment not indented like content  (comments-indentation)

YAML lint error above found in codeblock ./ci/examples/php.md:119

stdin
  1:1       error    syntax error: expected the node content, but found '<document end>' (syntax)
  11:1      error    comment not indented like content  (comments-indentation)

YAML lint error above found in codeblock ./ci/examples/php.md:233

stdin
  7:10      error    empty value in block mapping  (empty-values)
  8:5       error    comment not indented like content  (comments-indentation)

YAML lint error above found in codeblock ./ci/examples/end_to_end_testing_webdriverio/index.md:222

stdin
  4:3       error    wrong indentation: expected 4 but found 2  (indentation)
  13:3      error    wrong indentation: expected 4 but found 2  (indentation)
  16:3      error    wrong indentation: expected 4 but found 2  (indentation)
  21:3      error    wrong indentation: expected 4 but found 2  (indentation)
  24:3      error    wrong indentation: expected 4 but found 2  (indentation)

YAML lint error above found in codeblock ./ci/examples/test-and-deploy-ruby-application-to-heroku.md:18

stdin
  1:1       error    syntax error: expected the node content, but found '<document end>' (syntax)

YAML lint error above found in codeblock ./ci/examples/laravel_with_gitlab_and_envoy/index.md:568

stdin
  1:1       error    syntax error: expected the node content, but found '<document end>' (syntax)

YAML lint error above found in codeblock ./ci/examples/laravel_with_gitlab_and_envoy/index.md:586

stdin
  1:1       error    syntax error: expected the node content, but found '<document end>' (syntax)

YAML lint error above found in codeblock ./ci/examples/laravel_with_gitlab_and_envoy/index.md:617

stdin
  11:51     error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./ci/yaml/README.md:482

stdin
  9:50      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./ci/yaml/README.md:1346

stdin
  5:16      error    too few spaces before comment  (comments)
  9:3       error    comment not indented like content  (comments-indentation)

YAML lint error above found in codeblock ./ci/yaml/README.md:1535

stdin
  2:12      error    too many spaces inside brackets  (brackets)
  2:37      error    too many spaces inside brackets  (brackets)

YAML lint error above found in codeblock ./ci/yaml/README.md:3081

stdin
  2:12      error    too many spaces inside brackets  (brackets)
  2:56      error    too many spaces inside brackets  (brackets)

YAML lint error above found in codeblock ./ci/yaml/README.md:3094

stdin
  5:6       error    wrong indentation: expected 4 but found 5  (indentation)
  12:6      error    wrong indentation: expected 4 but found 5  (indentation)

YAML lint error above found in codeblock ./ci/yaml/README.md:3886

stdin
  9:6       error    wrong indentation: expected 4 but found 5  (indentation)
  10:70     error    too few spaces before comment  (comments)
  18:43     error    comment not indented like content  (comments-indentation)

YAML lint error above found in codeblock ./ci/yaml/README.md:3962

stdin
  18:3      error    wrong indentation: expected 4 but found 2  (indentation)
  23:51     error    too few spaces before comment  (comments)
  27:6      error    wrong indentation: expected 4 but found 5  (indentation)
  28:70     error    too few spaces before comment  (comments)
  36:51     error    comment not indented like content  (comments-indentation)

YAML lint error above found in codeblock ./ci/yaml/README.md:3991

stdin
  1:2       error    missing starting space in comment  (comments)

YAML lint error above found in codeblock ./ci/yaml/README.md:4661

stdin
  2:27      error    too few spaces before comment  (comments)
  3:19      error    too few spaces before comment  (comments)
  6:71      error    too few spaces before comment  (comments)
  7:26      error    too few spaces before comment  (comments)
  10:35     error    too few spaces before comment  (comments)
  11:16     error    too few spaces before comment  (comments)
  14:26     error    too few spaces before comment  (comments)
  15:16     error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./ci/review_apps/index.md:131

stdin
  4:7       error    wrong indentation: expected 8 but found 6  (indentation)
  10:3      error    wrong indentation: expected 4 but found 2  (indentation)
  12:5      error    wrong indentation: expected 6 but found 4  (indentation)

YAML lint error above found in codeblock ./ci/caching/index.md:180

stdin
  17:3      error    wrong indentation: expected 4 but found 2  (indentation)
  18:5      error    wrong indentation: expected 6 but found 4  (indentation)
  22:3      error    wrong indentation: expected 4 but found 2  (indentation)
  28:3      error    wrong indentation: expected 4 but found 2  (indentation)
  29:5      error    wrong indentation: expected 6 but found 4  (indentation)

YAML lint error above found in codeblock ./ci/caching/index.md:275

stdin
  4:1       error    syntax error: could not find expected ':' (syntax)

YAML lint error above found in codeblock ./ci/migration/jenkins.md:238

stdin
  9:1       error    syntax error: could not find expected ':' (syntax)

YAML lint error above found in codeblock ./ci/migration/jenkins.md:279

stdin
  6:1       error    syntax error: could not find expected ':' (syntax)

YAML lint error above found in codeblock ./ci/migration/jenkins.md:295

stdin
  5:1       error    trailing spaces  (trailing-spaces)
  13:1      error    trailing spaces  (trailing-spaces)

YAML lint error above found in codeblock ./ci/migration/circleci.md:118

stdin
  1:4       error    too many spaces inside braces  (braces)
  7:44      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/cas.md:44

stdin
  4:8       error    too many spaces inside braces  (braces)
  4:25      error    too many spaces inside braces  (braces)
  4:28      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./integration/kerberos.md:208

stdin
  1:4       error    too many spaces inside braces  (braces)
  2:3       error    wrong indentation: expected 4 but found 2  (indentation)
  2:32      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/facebook.md:84

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)
  1:6       error    too many spaces inside braces  (braces)
  2:5       error    wrong indentation: expected 6 but found 4  (indentation)
  2:34      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/twitter.md:67

stdin
  1:4       error    too many spaces inside braces  (braces)
  6:36      error    too many spaces inside braces  (braces)
  7:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./integration/auth0.md:68

stdin
  1:4       error    too many spaces inside braces  (braces)
  2:3       error    wrong indentation: expected 4 but found 2  (indentation)
  3:3       error    wrong indentation: expected 4 but found 2  (indentation)
  3:10      error    too many spaces inside braces  (braces)
  3:30      error    too many spaces inside braces  (braces)
  3:32      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/github.md:72

stdin
  1:4       error    too many spaces inside braces  (braces)
  2:3       error    wrong indentation: expected 4 but found 2  (indentation)
  3:3       error    wrong indentation: expected 4 but found 2  (indentation)
  4:3       error    wrong indentation: expected 4 but found 2  (indentation)
  4:10      error    too many spaces inside braces  (braces)
  4:30      error    too many spaces inside braces  (braces)
  4:32      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/github.md:80

stdin
  1:4       error    too many spaces inside braces  (braces)
  2:3       error    wrong indentation: expected 4 but found 2  (indentation)
  3:3       error    wrong indentation: expected 4 but found 2  (indentation)
  4:3       error    wrong indentation: expected 4 but found 2  (indentation)
  5:3       error    wrong indentation: expected 4 but found 2  (indentation)
  5:10      error    too many spaces inside braces  (braces)
  5:30      error    too many spaces inside braces  (braces)
  5:32      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/github.md:127

stdin
  1:1       error    comment not indented like content  (comments-indentation)
  2:2       error    wrong indentation: expected 0 but found 1  (indentation)

YAML lint error above found in codeblock ./integration/omniauth.md:105

stdin
  4:8       error    too many spaces inside braces  (braces)
  7:38      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/bitbucket.md:105

stdin
  1:4       error    too many spaces inside braces  (braces)
  2:3       error    wrong indentation: expected 4 but found 2  (indentation)
  3:3       error    wrong indentation: expected 4 but found 2  (indentation)
  3:10      error    too many spaces inside braces  (braces)
  3:54      error    too many spaces inside braces  (braces)
  3:56      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/google.md:86

stdin
  1:4       error    too many spaces inside braces  (braces)
  4:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./integration/salesforce.md:63

stdin
  1:4       error    too many spaces inside braces  (braces)
  2:3       error    wrong indentation: expected 4 but found 2  (indentation)
  3:3       error    wrong indentation: expected 4 but found 2  (indentation)
  3:10      error    too many spaces inside braces  (braces)
  3:23      error    too many spaces inside braces  (braces)
  3:25      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/gitlab.md:65

stdin
  4:9       error    wrong indentation: expected 6 but found 8  (indentation)
  5:9       error    wrong indentation: expected 6 but found 8  (indentation)
  6:16      error    wrong indentation: expected 10 but found 15  (indentation)
  7:16      error    wrong indentation: expected 10 but found 15  (indentation)
  8:16      error    wrong indentation: expected 10 but found 15  (indentation)
  9:16      error    wrong indentation: expected 10 but found 15  (indentation)
  10:16     error    wrong indentation: expected 10 but found 15  (indentation)
  11:14     error    wrong indentation: expected 8 but found 13  (indentation)
  12:9      error    wrong indentation: expected 6 but found 8  (indentation)
  12:32     error    too few spaces before comment  (comments)
  13:7      error    wrong indentation: expected 4 but found 6  (indentation)

YAML lint error above found in codeblock ./integration/saml.md:112

stdin
  1:2       error    too many spaces inside braces  (braces)
  11:9      error    wrong indentation: expected 2 but found 8  (indentation)
  11:10     error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/saml.md:202

stdin
  1:2       error    too many spaces inside braces  (braces)
  11:9      error    wrong indentation: expected 2 but found 8  (indentation)
  11:10     error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/saml.md:220

stdin
  1:2       error    too many spaces inside braces  (braces)
  11:9      error    wrong indentation: expected 2 but found 8  (indentation)
  11:10     error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/saml.md:240

stdin
  1:2       error    too many spaces inside braces  (braces)
  11:9      error    wrong indentation: expected 2 but found 8  (indentation)
  11:10     error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/saml.md:262

stdin
  4:9       error    wrong indentation: expected 6 but found 8  (indentation)
  5:9       error    wrong indentation: expected 6 but found 8  (indentation)
  6:17      error    wrong indentation: expected 10 but found 16  (indentation)
  7:17      error    wrong indentation: expected 10 but found 16  (indentation)
  8:17      error    wrong indentation: expected 10 but found 16  (indentation)
  9:17      error    wrong indentation: expected 10 but found 16  (indentation)
  10:17     error    wrong indentation: expected 10 but found 16  (indentation)
  11:17     error    wrong indentation: expected 10 but found 16  (indentation)
  12:19     error    wrong indentation: expected 12 but found 18  (indentation)
  17:15     error    wrong indentation: expected 8 but found 14  (indentation)
  18:9      error    wrong indentation: expected 6 but found 8  (indentation)
  18:32     error    too few spaces before comment  (comments)
  19:7      error    wrong indentation: expected 4 but found 6  (indentation)

YAML lint error above found in codeblock ./integration/saml.md:327

stdin
  7:32      error    too many spaces inside braces  (braces)
  7:56      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/saml.md:398

stdin
  7:32      error    too many spaces inside braces  (braces)
  7:55      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/saml.md:413

stdin
  7:32      error    too many spaces inside braces  (braces)
  7:56      error    too many spaces inside braces  (braces)
  8:32      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./integration/saml.md:431

stdin
  14:34     error    too few spaces before comment  (comments)
  15:35     error    too few spaces before comment  (comments)
  16:23     error    too few spaces before comment  (comments)
  17:29     error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./integration/saml.md:550

stdin
  1:4       error    too many spaces inside braces  (braces)
  2:3       error    wrong indentation: expected 4 but found 2  (indentation)
  2:10      error    too many spaces inside braces  (braces)
  3:3       error    wrong indentation: expected 10 but found 2  (indentation)
  4:3       error    wrong indentation: expected 10 but found 2  (indentation)
  4:25      error    too many spaces inside braces  (braces)
  4:27      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./integration/azure.md:55

stdin
  3:9       error    empty value in block mapping  (empty-values)

YAML lint error above found in codeblock ./user/markdown.md:293

stdin
  12:2      error    wrong indentation: expected 2 but found 1  (indentation)

YAML lint error above found in codeblock ./user/gitlab_com/index.md:348

stdin
  4:7       error    wrong indentation: expected 8 but found 6  (indentation)
  4:10      error    too many spaces inside braces  (braces)
  4:29      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./user/group/saml_sso/index.md:299

stdin
  6:7       error    wrong indentation: expected 8 but found 6  (indentation)

YAML lint error above found in codeblock ./user/clusters/applications.md:1012

stdin
  5:5       error    wrong indentation: expected 6 but found 4  (indentation)

YAML lint error above found in codeblock ./user/clusters/applications.md:1447

stdin
  2:1       error    wrong indentation: expected 2 but found 0  (indentation)
  7:5       error    wrong indentation: expected 2 but found 4  (indentation)

YAML lint error above found in codeblock ./user/application_security/api_fuzzing/index.md:607

stdin
  1:5       error    wrong indentation: expected 0 but found 4  (indentation)

YAML lint error above found in codeblock ./user/application_security/api_fuzzing/index.md:634

stdin
  6:5       error    wrong indentation: expected 2 but found 4  (indentation)

YAML lint error above found in codeblock ./user/application_security/api_fuzzing/index.md:643

stdin
  2:1       error    wrong indentation: expected 2 but found 0  (indentation)
  7:3       error    wrong indentation: expected 4 but found 2  (indentation)

YAML lint error above found in codeblock ./user/application_security/api_fuzzing/index.md:672

stdin
  2:1       error    wrong indentation: expected 2 but found 0  (indentation)
  7:5       error    wrong indentation: expected 2 but found 4  (indentation)
  12:7      error    wrong indentation: expected 8 but found 6  (indentation)

YAML lint error above found in codeblock ./user/application_security/api_fuzzing/index.md:689

stdin
  7:38      error    too few spaces before comment  (comments)
  8:42      error    too few spaces before comment  (comments)
  9:85      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./user/application_security/dast/index.md:173

stdin
  8:3       error    wrong indentation: expected 1 but found 2  (indentation)
  11:3      error    wrong indentation: expected 1 but found 2  (indentation)
  13:5      error    wrong indentation: expected 3 but found 4  (indentation)
  15:5      error    wrong indentation: expected 3 but found 4  (indentation)
  16:7      error    wrong indentation: expected 5 but found 6  (indentation)
  20:3      error    wrong indentation: expected 1 but found 2  (indentation)
  21:5      error    wrong indentation: expected 3 but found 4  (indentation)
  23:5      error    wrong indentation: expected 3 but found 4  (indentation)
  26:5      error    wrong indentation: expected 3 but found 4  (indentation)
  27:7      error    wrong indentation: expected 5 but found 6  (indentation)

YAML lint error above found in codeblock ./user/application_security/sast/index.md:266

stdin
  2:1       error    wrong indentation: expected 2 but found 0  (indentation)
  4:9       error    empty value in block mapping  (empty-values)

YAML lint error above found in codeblock ./user/application_security/sast/index.md:563

stdin
  6:7       error    wrong indentation: expected 8 but found 6  (indentation)

YAML lint error above found in codeblock ./user/application_security/threat_monitoring/index.md:63

stdin
  14:35     error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./user/project/insights/index.md:319

stdin
  3:14      error    syntax error: mapping values are not allowed here (syntax)

YAML lint error above found in codeblock ./user/project/clusters/serverless/aws.md:223

stdin
  5:15      error    too few spaces before comment  (comments)
  8:22      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./user/project/clusters/serverless/aws.md:243

stdin
  1:14      error    too many spaces after colon  (colons)
  2:14      error    too many spaces after colon  (colons)
  3:14      error    too many spaces after colon  (colons)
  4:14      error    too many spaces after colon  (colons)
  10:1      error    syntax error: could not find expected ':' (syntax)

YAML lint error above found in codeblock ./user/project/clusters/add_remove_clusters.md:260

stdin
  3:39      error    syntax error: expected <block end>, but found '<scalar>' (syntax)

YAML lint error above found in codeblock ./user/project/requirements/index.md:162

stdin
  3:58      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./user/project/merge_requests/code_quality.md:170

stdin
  8:58      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./user/project/merge_requests/code_quality.md:181

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./user/project/merge_requests/load_performance_testing.md:131

stdin
  3:23      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./user/project/code_intelligence.md:27

stdin
  3:3       error    wrong indentation: expected 4 but found 2  (indentation)

YAML lint error above found in codeblock ./user/project/pages/getting_started/pages_from_scratch.md:89

stdin
  10:1      error    too many blank lines (1 > 0)  (empty-lines)

YAML lint error above found in codeblock ./user/packages/conan_repository/index.md:289

stdin
  1:2       error    wrong indentation: expected 0 but found 1  (indentation)

YAML lint error above found in codeblock ./user/packages/container_registry/index.md:361

stdin
  1:2       error    wrong indentation: expected 0 but found 1  (indentation)

YAML lint error above found in codeblock ./user/packages/nuget_repository/index.md:252

stdin
  36:3      error    comment not indented like content  (comments-indentation)

YAML lint error above found in codeblock ./user/infrastructure/index.md:438

stdin
  5:26      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./operations/metrics/dashboards/panel_types.md:15

stdin
  13:9      error    duplication of key "metrics" in mapping  (key-duplicates)
  18:9      error    duplication of key "metrics" in mapping  (key-duplicates)

YAML lint error above found in codeblock ./operations/metrics/dashboards/panel_types.md:52

stdin
  8:9       error    wrong indentation: expected 10 but found 8  (indentation)

YAML lint error above found in codeblock ./operations/metrics/dashboards/panel_types.md:119

stdin
  9:1       error    syntax error: could not find expected ':' (syntax)

YAML lint error above found in codeblock ./operations/metrics/alerts.md:63

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./raketasks/backup_restore.md:408

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./raketasks/backup_restore.md:525

stdin
  2:28      error    forbidden implicit octal value "0644"  (octal-values)
  2:29      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./raketasks/backup_restore.md:624

stdin
  2:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./administration/logs.md:468

stdin
  4:13      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/repository_storage_paths.md:77

stdin
  5:35      error    too few spaces before comment  (comments)
  7:21      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/job_artifacts.md:201

stdin
  7:19      error    too few spaces before comment  (comments)
  10:19     error    too few spaces before comment  (comments)
  13:19     error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/redis/troubleshooting.md:142

stdin
  7:19      error    too few spaces before comment  (comments)
  10:19     error    too few spaces before comment  (comments)
  13:19     error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/redis/replication_and_failover_external.md:224

stdin
  6:19      error    too few spaces before comment  (comments)
  9:19      error    too few spaces before comment  (comments)
  12:19     error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/redis/replication_and_failover_external.md:350

stdin
  4:11      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/auth/ldap/google_secure_ldap.md:148

stdin
  1:7       error    too few spaces before comment  (comments)
  5:3       error    syntax error: could not find expected ':' (syntax)

YAML lint error above found in codeblock ./administration/auth/ldap/ldap-troubleshooting.md:46

stdin
  10:1      error    syntax error: could not find expected ':' (syntax)

YAML lint error above found in codeblock ./administration/auth/ldap/index.md:158

stdin
  3:7       error    wrong indentation: expected 4 but found 6  (indentation)

YAML lint error above found in codeblock ./administration/auth/ldap/index.md:651

stdin
  1:4       error    too many spaces inside braces  (braces)
  4:27      error    too few spaces before comment  (comments)
  7:18      error    too many spaces inside braces  (braces)
  7:47      error    too many spaces inside braces  (braces)
  9:26      error    too few spaces before comment  (comments)
  11:3      error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./administration/auth/jwt.md:51

stdin
  4:12      error    wrong indentation: expected 8 but found 11  (indentation)
  5:12      error    wrong indentation: expected 8 but found 11  (indentation)
  6:12      error    wrong indentation: expected 8 but found 11  (indentation)
  7:12      error    wrong indentation: expected 8 but found 11  (indentation)
  8:12      error    wrong indentation: expected 8 but found 11  (indentation)
  9:10      error    wrong indentation: expected 4 but found 9  (indentation)
  10:19     error    too few spaces before comment  (comments)
  11:3      error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./administration/auth/okta.md:138

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)
  1:6       error    too many spaces inside braces  (braces)
  6:26      error    too few spaces after comma  (commas)
  19:5      error    wrong indentation: expected 2 but found 4  (indentation)

YAML lint error above found in codeblock ./administration/auth/oidc.md:62

stdin
  1:4       error    wrong indentation: expected 0 but found 3  (indentation)
  1:7       error    too many spaces inside braces  (braces)
  5:51      error    too many spaces inside braces  (braces)
  5:53      error    too many spaces inside braces  (braces)

YAML lint error above found in codeblock ./administration/auth/crowd.md:60

stdin
  1:4       error    too many spaces inside braces  (braces)
  6:11      error    wrong indentation: expected 4 but found 10  (indentation)
  7:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./administration/auth/authentiq.md:51

stdin
  3:1       error    wrong indentation: expected 2 but found 0  (indentation)
  6:1       error    wrong indentation: expected 2 but found 0  (indentation)
  15:5      error    wrong indentation: expected 2 but found 4  (indentation)

YAML lint error above found in codeblock ./administration/instance_limits.md:406

stdin
  4:33      error    too few spaces before comment  (comments)
  6:21      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/uploads.md:121

stdin
  5:40      error    too few spaces before comment  (comments)
  7:21      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/merge_request_diffs.md:139

stdin
  7:1       error    syntax error: could not find expected ':' (syntax)

YAML lint error above found in codeblock ./administration/raketasks/ldap.md:67

stdin
  5:35      error    too few spaces before comment  (comments)
  7:21      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/terraform_state.md:106

stdin
  9:42      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/database_load_balancing.md:264

stdin
  4:36      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/pseudonymizer.md:68

stdin
  1:5       error    wrong indentation: expected 0 but found 4  (indentation)

YAML lint error above found in codeblock ./administration/object_storage.md:177

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)
  3:9       error    wrong indentation: expected 10 but found 8  (indentation)
  5:9       error    wrong indentation: expected 10 but found 8  (indentation)
  6:11      error    wrong indentation: expected 12 but found 10  (indentation)
  9:11      error    wrong indentation: expected 12 but found 10  (indentation)
  11:11     error    wrong indentation: expected 12 but found 10  (indentation)
  13:11     error    wrong indentation: expected 12 but found 10  (indentation)
  15:11     error    wrong indentation: expected 12 but found 10  (indentation)
  17:11     error    wrong indentation: expected 12 but found 10  (indentation)
  20:11     error    wrong indentation: expected 12 but found 10  (indentation)

YAML lint error above found in codeblock ./administration/object_storage.md:384

stdin
  2:7       error    syntax error: mapping values are not allowed here (syntax)

YAML lint error above found in codeblock ./administration/packages/container_registry.md:591

stdin
  5:15      error    too many spaces after colon  (colons)

YAML lint error above found in codeblock ./administration/packages/container_registry.md:1059

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)
  6:6       error    missing starting space in comment  (comments)
  9:34      error    too few spaces before comment  (comments)
  10:8      error    missing starting space in comment  (comments)
  11:8      error    missing starting space in comment  (comments)
  12:8      error    missing starting space in comment  (comments)
  13:18     error    empty value in block mapping  (empty-values)
  14:9      error    comment not indented like content  (comments-indentation)
  17:10     error    missing starting space in comment  (comments)
  18:10     error    missing starting space in comment  (comments)
  19:10     error    missing starting space in comment  (comments)
  20:10     error    missing starting space in comment  (comments)
  24:10     error    missing starting space in comment  (comments)
  25:10     error    missing starting space in comment  (comments)
  26:10     error    missing starting space in comment  (comments)
  27:10     error    missing starting space in comment  (comments)

YAML lint error above found in codeblock ./administration/packages/index.md:143

stdin
  6:4       error    missing starting space in comment  (comments)
  9:40      error    too few spaces before comment  (comments)
  10:6      error    missing starting space in comment  (comments)
  11:6      error    missing starting space in comment  (comments)
  12:6      error    missing starting space in comment  (comments)
  13:16     error    empty value in block mapping  (empty-values)
  14:7      error    comment not indented like content  (comments-indentation)
  17:8      error    missing starting space in comment  (comments)
  18:8      error    missing starting space in comment  (comments)
  19:8      error    missing starting space in comment  (comments)
  20:8      error    missing starting space in comment  (comments)
  24:8      error    missing starting space in comment  (comments)
  25:8      error    missing starting space in comment  (comments)
  26:8      error    missing starting space in comment  (comments)
  27:8      error    missing starting space in comment  (comments)

YAML lint error above found in codeblock ./administration/packages/dependency_proxy.md:132

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./administration/libravatar.md:22

stdin
  1:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./administration/libravatar.md:31

stdin
  1:1       error    comment not indented like content  (comments-indentation)
  2:3       error    wrong indentation: expected 0 but found 2  (indentation)

YAML lint error above found in codeblock ./administration/lfs/index.md:48

stdin
  1:5       error    empty value in block mapping  (empty-values)
  5:33      error    too few spaces before comment  (comments)

YAML lint error above found in codeblock ./administration/lfs/index.md:186

stdin
  5:9       error    wrong indentation: expected 10 but found 8  (indentation)
  9:9       error    wrong indentation: expected 10 but found 8  (indentation)
  13:9      error    wrong indentation: expected 10 but found 8  (indentation)
  17:9      error    wrong indentation: expected 10 but found 8  (indentation)
  21:9      error    wrong indentation: expected 10 but found 8  (indentation)
  26:9      error    wrong indentation: expected 10 but found 8  (indentation)
  30:9      error    wrong indentation: expected 10 but found 8  (indentation)
  35:9      error    wrong indentation: expected 10 but found 8  (indentation)
  40:9      error    wrong indentation: expected 10 but found 8  (indentation)
  45:9      error    wrong indentation: expected 10 but found 8  (indentation)
  49:9      error    wrong indentation: expected 10 but found 8  (indentation)

YAML lint error above found in codeblock ./administration/monitoring/prometheus/index.md:257

stdin
  1:211     error    syntax error: found unknown escape character 'd' (syntax)

YAML lint error above found in codeblock ./administration/issue_closing_pattern.md:48

stdin
  9:9       error    wrong indentation: expected 10 but found 8  (indentation)

YAML lint error above found in codeblock ./topics/autodevops/stages.md:550

stdin
  7:4       error    wrong indentation: expected 2 but found 3  (indentation)
  8:5       error    wrong indentation: expected 5 but found 4  (indentation)

YAML lint error above found in codeblock ./topics/autodevops/index.md:313
Edited by Marcel Amirault