32 lines
985 B
Plaintext
32 lines
985 B
Plaintext
:sourcedir: ../../../../templates/
|
|
|
|
= Release Template
|
|
|
|
This collection provides multiple templated to make publish releases of your Software as easy as possible.
|
|
|
|
|
|
|
|
.Angebotene Templates:
|
|
|===
|
|
|Name |Description
|
|
| .release-common | This template contains a trigger for an additional release Pipeline. It will execute all Jobs defined in your release.gitlab-ci.yml file as a child pipeline
|
|
For more information see the <<_pipeline_release>> documentation.
|
|
|
|
| .release-default: | Builds upon .release-common defines rules, so it will only be executed on your default branch.
|
|
|
|
| .release-release-branch: | Builds upon .release-common defines rules, so it will only be executed on release branches.
|
|
|
|
|===
|
|
|
|
|
|
.Variables
|
|
|===
|
|
|Name |Description | Default Value
|
|
|PARENT_PIPELINE_ID | The if of the parent pipeline. Needed to be able to use artifacts in the child pipeline | $CI_PIPELINE_ID
|
|
|===
|
|
|
|
.release-template
|
|
[source, yaml]
|
|
----
|
|
include::{sourcedir}releasing/release.gitlab-ci.yml[]
|
|
---- |