Skip to content

Commit 391f1b8

Browse files
authored
Added pipeline.deploy.reason to pipeline values (#152)
Co-authored-by: Sandeep Shenoy <>
1 parent 8abaf07 commit 391f1b8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/guides/modules/ROOT/partials/pipelines-and-triggers/pipeline-values.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,4 +457,11 @@ a| * GitLab: push, merge request
457457
| image:guides:ROOT:icons/check.svg[check icon, role="no-border"]
458458
| image:guides:ROOT:icons/cancel.svg[cancel icon, role="no-border"]
459459

460+
| `pipeline.deploy.reason`
461+
| GitHub App
462+
| String
463+
| Only for use with xref:guides:deploy:set-up-rollbacks.adoc[rollbacks]. The reason for the deployment or rollback.
464+
| image:guides:ROOT:icons/check.svg[check icon, role="no-border"]
465+
| image:guides:ROOT:icons/cancel.svg[cancel icon, role="no-border"]
466+
460467
|===

docs/guides/modules/deploy/pages/set-up-rollbacks.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ When customizing your rollback configuration, you can use the following pipeline
7979
* `pipeline.deploy.target_version`
8080
* `pipeline.deploy.current_version`
8181
* `pipeline.deploy.namespace`
82+
* `pipeline.deploy.reason`
8283

8384
==== Deploy markers for rollbacks
8485
You can use deploy markers with the `--rollback` flag to indicate rollback deployment:

0 commit comments

Comments
 (0)