Note
This feature is available starting from the MCP 2019.2.17 maintenance update. Before using the feature, follow the steps described in Apply maintenance updates.
Using the Deploy - pre upgrade verify MCP Drivetrain Jenkins pipeline job, you can verify that your deployment model contains information about the necessary fixes and workarounds. Use the Jenkins pipeline job starting from the 2019.2.18 maintenance update.
To verify the deployment model before update:
Synchronize the upgrade pipeline jobs with the default parameters:
Switch mcp-ci/pipeline-library
to the version you are planning to update
to. In branch
value refs/tags/2019.2.X
, substitute X
with the
desired maintenance update version. For example, if you want to apply
maintenance update 2019.2.18, use the following command:
salt -C "I@jenkins:client:lib" state.sls jenkins.client.lib pillar='{"jenkins": {"client": {"lib" : {"pipeline-library" : {"branch": "refs/tags/2019.2.18"}}}}}'
In the global view, find the Deploy - pre upgrade verify MCP Drivetrain pipeline.
Select the Build with Parameters option from the drop-down menu of the pipeline.
Specify the following parameters:
Parameter | Description and values |
---|---|
MK_PIPELINES_REFSPEC | Set to the desired maintenance update version. For example, if your version is 2019.2.17 and you want to verify 2019.2.18, set MK_PIPELINES_REFSPEC to 2019.2.18. |
PIPELINE_TIMEOUT | The time for the Jenkins job to complete, set to 1 hour by default. If the time exceeds, the Jenkins job will be aborted. |
SALT_MASTER_CREDENTIALS | Jenkins credentials to access the Salt Master API. |
SALT_MASTER_URL | The URL of the Salt Master node API. |
Click Build.
Once the job finishes, open report.html
in the job artifacts. Review the
report and fix issues, if any.