Commit 1f6102bc authored by Steve Azzopardi's avatar Steve Azzopardi

Merge branch 'docs/add-mdl-and-rule-032' into 'master'

Add Markdown linting and one rule

See merge request !1422
parents afd4de69 97c28871
......@@ -279,7 +279,7 @@ unit test with race:
CGO_ENABLED: "1"
TESTFLAGS: "-cover -race"
docs check links:
docs lint:
image: "registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-docs-lint"
stage: test
cache: {}
......@@ -289,6 +289,10 @@ docs check links:
script:
- mv docs/ /tmp/gitlab-docs/content/$DOCS_GITLAB_REPO_SUFFIX
- cd /tmp/gitlab-docs
# Lint Markdown
# https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
- bundle exec mdl content/runner/**/*.md --rules \
MD032
# Build HTML from Markdown
- bundle exec nanoc
# Check the internal links
......
......@@ -11,7 +11,7 @@ GitLab Runner provides these options:
1. **Default**: GitLab Runner reads system certificate store and verifies the GitLab server against the CA's stored in system.
2. GitLab Runner reads the PEM (**DER format is not supported**) certificate from predefined file:
1. GitLab Runner reads the PEM (**DER format is not supported**) certificate from predefined file:
- `/etc/gitlab-runner/certs/hostname.crt` on *nix systems when gitlab-runner is executed as root.
- `~/.gitlab-runner/certs/hostname.crt` on *nix systems when gitlab-runner is executed as non-root,
......@@ -21,10 +21,10 @@ GitLab Runner provides these options:
Create the certificate file at: `/etc/gitlab-runner/certs/my.gitlab.server.com.crt`.
> **Note:** You may need to concatenate the intermediate and server certificate
for the chain to be properly identified.
3. GitLab Runner exposes `tls-ca-file` option during registration and in [`config.toml`](advanced-configuration.md)
under the `[[runners]]` section which allows you to specify a custom file with certificates. This file will be read every time when runner tries to
access the GitLab server.
> for the chain to be properly identified.
1. GitLab Runner exposes `tls-ca-file` option during registration and in [`config.toml`](advanced-configuration.md)
under the `[[runners]]` section which allows you to specify a custom file with certificates. This file will be read every time when runner tries to
access the GitLab server.
## Git cloning
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment