Skip to content

Commit 36b24fe

Browse files
authored
Add pipeline.deploy.current_version to the list of pipeline values for rollback (#9430)
Co-authored-by: Sandeep Shenoy <>
1 parent 8d0a6c9 commit 36b24fe

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

jekyll/_cci2/deploy/set-up-rollbacks.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ When customizing your rollback configuration, you can use the following pipeline
8484
* `pipeline.deploy.component_name`
8585
* `pipeline.deploy.environment_name`
8686
* `pipeline.deploy.target_version`
87+
* `pipeline.deploy.current_version`
8788
* `pipeline.deploy.namespace`
8889

8990
==== Deploy markers for rollbacks

jekyll/_includes/partials/pipelines-and-triggers/pipeline-values.adoc

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,21 +432,28 @@ a| * GitLab: push, merge request
432432
| `pipeline.deploy.environment_name`
433433
| GitHub App
434434
| String
435-
| Only for use with xref:deploy/set-up-rollbacks#[rollbacks]. The name of the environment that was deployed.
435+
| Only for use with xref:deploy/set-up-rollbacks#[rollbacks]. The name of the environment that was deployed to.
436436
| icon:check[]
437437
| icon:times[]
438438

439439
| `pipeline.deploy.target_version`
440440
| GitHub App
441441
| String
442-
| Only for use with xref:deploy/set-up-rollbacks#[rollbacks]. The version of the component that was deployed.
442+
| Only for use with xref:deploy/set-up-rollbacks#[rollbacks]. The version of the component that needs to be rolled back to.
443443
| icon:check[]
444444
| icon:times[]
445445

446-
| pipeline.deploy.namespace`
446+
| `pipeline.deploy.current_version`
447447
| GitHub App
448448
| String
449-
| Only for use with xref:deploy/set-up-rollbacks#[rollbacks]. The namespace of the environment that was deployed.
449+
| Only for use with xref:deploy/set-up-rollbacks#[rollbacks]. The current version of the component that was deployed.
450+
| icon:check[]
451+
| icon:times[]
452+
453+
| `pipeline.deploy.namespace`
454+
| GitHub App
455+
| String
456+
| Only for use with xref:deploy/set-up-rollbacks#[rollbacks]. The namespace of the environment that was deployed to.
450457
| icon:check[]
451458
| icon:times[]
452459

0 commit comments

Comments
 (0)