| # |
| # Jobs to update packages on given Salt master environment |
| # |
| parameters: |
| _param: |
| jenkins_salt_api_url: "http://${_param:salt_master_host}:6969" |
| jenkins: |
| client: |
| job: |
| deploy-upgrade-control: |
| type: workflow-scm |
| concurrent: true |
| display_name: "Deploy - upgrade control VMs" |
| scm: |
| type: git |
| url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| credentials: "gerrit" |
| script: openstack-control-upgrade.groovy |
| param: |
| SALT_MASTER_URL: |
| type: string |
| default: "${_param:jenkins_salt_api_url}" |
| SALT_MASTER_CREDENTIALS: |
| type: string |
| default: "salt" |
| STAGE_TEST_UPGRADE: |
| type: boolean |
| default: 'true' |
| description: "Test if syncdb and APIs succeed" |
| STAGE_REAL_UPGRADE: |
| type: boolean |
| default: 'true' |
| description: "Run real control upgrade" |
| STAGE_ROLLBACK_UPGRADE: |
| type: boolean |
| default: 'true' |
| description: "Rollback if control upgrade fails" |
| SKIP_VM_RELAUNCH: |
| type: boolean |
| default: 'false' |
| description: "Set to true if vms should not be recreated" |