Reconfigure updates.mirantis versioning setting
- Use stable updates repo for released jobs
- Add UPDATES_MIRANTIS_VERSION jenkins param
- Add ability to overwrite repo version in context (upgrade
pre-deployment)
- Set repo version to 'staging' during MCP drivetrain upgrade
Change-Id: I99d70b6802a0215acf8533909f71b7d9f0784621
diff --git a/jobs/templates/bm-cicd-pike-ovs-maas.yml b/jobs/templates/bm-cicd-pike-ovs-maas.yml
index a3b6e4a..45b4aa7 100644
--- a/jobs/templates/bm-cicd-pike-ovs-maas.yml
+++ b/jobs/templates/bm-cicd-pike-ovs-maas.yml
@@ -181,6 +181,12 @@
name: UPDATE_VERSION
trim: 'false'
- string:
+ name: UPDATES_MIRANTIS_VERSION
+ default: 'staging'
+ description: |
+ Overwrite subsection of updates.mirantis.com repository.
+ Effective only if enabled in cookiecutter context!
+ - string:
name: IPMI_CREDS
default: 'lab_engineer'
- string:
diff --git a/jobs/templates/swarm-cookied-model-generator.yml b/jobs/templates/swarm-cookied-model-generator.yml
index b804fa0..4ea8a03 100644
--- a/jobs/templates/swarm-cookied-model-generator.yml
+++ b/jobs/templates/swarm-cookied-model-generator.yml
@@ -117,6 +117,12 @@
name: UPDATE_VERSION
trim: 'false'
- string:
+ name: UPDATES_MIRANTIS_VERSION
+ default: ''
+ description: |
+ Overwrite subsection of updates.mirantis.com repository.
+ Effective only if enabled in cookiecutter context!
+ - string:
default: ''
description: ''
name: DEPLOY_NETWORK_NETMASK