Skip to content
GitLab
Next
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GitLab.org
gitlab-runner
Commits
bf2b40ae
Commit
bf2b40ae
authored
Jan 21, 2021
by
Evan Read
Committed by
Steve Azzopardi
Jan 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split docs linting jobs
parent
dbab36c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
.gitlab/ci/test.gitlab-ci.yml
.gitlab/ci/test.gitlab-ci.yml
+13
-2
docs/shells/index.md
docs/shells/index.md
+4
-4
No files found.
.gitlab/ci/test.gitlab-ci.yml
View file @
bf2b40ae
...
...
@@ -34,8 +34,9 @@ license_scanning:
gosec-sast
:
rules
:
*merge_request_pipelines_rules
docs lint
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-docs/lint:ruby-2.7.2-alpine-3.12-vale-2.4.3-markdownlint-0.24.0"
# Perform documentation linting on Markdown files
docs lint markdown
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-docs/lint-markdown:alpine-3.12-vale-2.8.0-markdownlint-0.26.0"
stage
:
test
extends
:
-
.merge_request_pipelines
...
...
@@ -44,6 +45,16 @@ docs lint:
script
:
# Lint prose and Markdown
-
make lint-docs VALE_MIN_ALERT_LEVEL=error
# Perform link checks on published HTML files
docs check links
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-docs/lint-html:alpine-3.12-ruby-2.7.2"
stage
:
test
extends
:
-
.merge_request_pipelines
-
.no_cache_and_dependencies
needs
:
[]
script
:
# Prepare docs for build
-
mv docs/ /tmp/gitlab-docs/content/$DOCS_GITLAB_REPO_SUFFIX
-
cd /tmp/gitlab-docs
...
...
docs/shells/index.md
View file @
bf2b40ae
...
...
@@ -57,11 +57,11 @@ cat generated-bash-script | /bin/bash
### Shell profile loading
For certain executors, the runner
will
pass the
`--login`
flag as shown above,
For certain executors, the runner pass
es
the
`--login`
flag as shown above,
which also loads the shell profile. Anything that you have in your
`.bashrc`
,
`.bash_logout`
,
[
or any other
dotfile
](
https://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_01.html#sect_03_01_02
)
,
will be
executed in your job.
is
executed in your job.
If a
[
job fails on the `Prepare
environment`
](
../faq/README.md#job-failed-system-failure-preparing-environment
)
stage, it
...
...
@@ -85,7 +85,7 @@ The default shell when a new runner is registered using GitLab Runner
PowerShell doesn't support executing the build in context of another user.
The generated PowerShell script is executed by saving its content to a file and
passing the file
name to the following command:
passing the filename to the following command:
```
batch
powershell
-NoProfile -NonInteractive -ExecutionPolicy
Bypass
-Command
generated
-windows-powershell
.ps1
...
...
@@ -288,7 +288,7 @@ specified.
It doesn't support executing the build in context of another user.
The generated Batch script is executed by saving its content to file and
passing the file
name to the following command:
passing the filename to the following command:
```
batch
cmd
/Q /C
generated
-windows-batch
.cmd
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment