Add parameter for upgrade on tag automaticaly
Change-Id: I83ce6de74cb633e8f493fa7edacfa1d1c43feb84
diff --git a/jobs/templates/released-heat-cicd-pike-dvr-sl.yml b/jobs/templates/released-heat-cicd-pike-dvr-sl.yml
index da9c52a..0ea7e7b 100644
--- a/jobs/templates/released-heat-cicd-pike-dvr-sl.yml
+++ b/jobs/templates/released-heat-cicd-pike-dvr-sl.yml
@@ -212,6 +212,15 @@
name: RUN_UPGRADE_AFTER_JOB
default: true
description: "Upgrade and test after deploy?"
+ - bool:
+ name: UPGRADE_TO_TAG
+ default: '{upgrade-to-tag}'
+ description: "Upgrade to new tag"
+ - string:
+ name: UPGRADE_VERSION_TAG
+ default: "{current-version}"
+ description: 'Only works in conjunction with UPGRADE_TO_TAG and must be younger than the deployed version.'
+ trim: 'false'
pipeline-scm:
lightweight-checkout: false
scm: