Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8b91199f
Commit
8b91199f
authored
Nov 09, 2021
by
Suzanne Selhorn
Committed by
Marcel Amirault
Nov 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated executor info
parent
9970eee1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
doc/ci/yaml/index.md
doc/ci/yaml/index.md
+6
-8
No files found.
doc/ci/yaml/index.md
View file @
8b91199f
...
@@ -3864,15 +3864,11 @@ you can ensure that concurrent deployments never happen to the production enviro
...
@@ -3864,15 +3864,11 @@ you can ensure that concurrent deployments never happen to the production enviro
Use
`release`
to create a
[
release
](
../../user/project/releases/index.md
)
.
Use
`release`
to create a
[
release
](
../../user/project/releases/index.md
)
.
The release job must have access to the
[
`release-cli`
](
https://gitlab.com/gitlab-org/release-cli/-/tree/master/docs
)
The release job must have access to the
[
`release-cli`
](
https://gitlab.com/gitlab-org/release-cli/-/tree/master/docs
)
,
and your runner must be using one of these executors:
which must be in the
`$PATH`
.
-
If you use the
[
Docker executor
](
https://docs.gitlab.com/runner/executors/docker.html
)
,
If you use the
[
Docker executor
](
https://docs.gitlab.com/runner/executors/docker.html
)
,
your
[
`image:`
](
#image
)
must include the
`release-cli`
. You can use this image from the GitLab
you can use this image from the GitLab Container Registry:
`registry.gitlab.com/gitlab-org/release-cli:latest`
Container Registry:
`registry.gitlab.com/gitlab-org/release-cli:latest`
-
If you use the
[
Shell executor
](
https://docs.gitlab.com/runner/executors/shell.html
)
, the server
where the runner is registered must have the
`release-cli`
[
installed
](
../../user/project/releases/release_cli.md
)
.
**Keyword type**
: Job keyword. You can use it only as part of a job.
**Keyword type**
: Job keyword. You can use it only as part of a job.
...
@@ -3921,6 +3917,8 @@ This example creates a release:
...
@@ -3921,6 +3917,8 @@ This example creates a release:
-
The
`release`
section executes after the
`script`
keyword and before the
`after_script`
.
-
The
`release`
section executes after the
`script`
keyword and before the
`after_script`
.
-
A release is created only if the job's main script succeeds.
-
A release is created only if the job's main script succeeds.
-
If the release already exists, it is not updated and the job with the
`release`
keyword fails.
-
If the release already exists, it is not updated and the job with the
`release`
keyword fails.
-
If you use the
[
Shell executor
](
https://docs.gitlab.com/runner/executors/shell.html
)
or similar,
[
install `release-cli`
](
../../user/project/releases/release_cli.md
)
on the server where the runner is registered.
**Related topics**
:
**Related topics**
:
...
...
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