Add possibility to redefine values in YAML-based
Jenkins parameters
Also fixed typo in method name
PROD-36265
Change-Id: I7df29e7c46b7cdf6cd7e45b684c7e18c64201765
diff --git a/tcp_tests/tests/system/test_mcp_update.py b/tcp_tests/tests/system/test_mcp_update.py
index 240b481..c1456be 100644
--- a/tcp_tests/tests/system/test_mcp_update.py
+++ b/tcp_tests/tests/system/test_mcp_update.py
@@ -234,7 +234,12 @@
job_parameters = {
'GIT_REFSPEC': 'release/proposed/2019.2.0',
'MK_PIPELINES_REFSPEC': 'release/proposed/2019.2.0',
- 'TARGET_MCP_VERSION': '2019.2.0'
+ 'TARGET_MCP_VERSION': '2019.2.0',
+ "DRIVE_TRAIN_PARAMS": {
+ "OS_DIST_UPGRADE": True,
+ "OS_UPGRADE": True,
+ "BATCH_SIZE": 10
+ }
}
job_result, job_description = dt.start_job_on_jenkins(
job_name=job_name,
@@ -346,7 +351,9 @@
job_name = 'deploy-upgrade-galera'
job_parameters = {
- 'INTERACTIVE': 'false'
+ 'INTERACTIVE': 'false',
+ 'OS_DIST_UPGRADE': 'true',
+ 'OS_UPGRADE': 'true'
}
job_result, job_description = dt.start_job_on_jenkins(
@@ -480,7 +487,9 @@
# ########### Start Deploy - upgrade RabbitMQ pipeline ############
show_step(3)
job_parameters = {
- 'INTERACTIVE': 'false'
+ 'INTERACTIVE': 'false',
+ 'OS_DIST_UPGRADE': 'true',
+ 'OS_UPGRADE': 'true'
}
job_result, job_description = dt.start_job_on_jenkins(
@@ -542,7 +551,9 @@
job_parameters = {
"STAGE_UPGRADE_DOCKER_COMPONENTS": True,
"STAGE_UPGRADE_ES_KIBANA": True,
- "STAGE_UPGRADE_SYSTEM_PART": True
+ "STAGE_UPGRADE_SYSTEM_PART": True,
+ 'OS_DIST_UPGRADE': 'true',
+ 'OS_UPGRADE': 'true'
}
job_result, job_description = drivetrain.start_job_on_jenkins(
job_name="stacklight-upgrade",