Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 1 | - job-template: |
| 2 | project-type: pipeline |
| 3 | description: '{job-description}' |
| 4 | concurrent: true |
| 5 | disabled: false |
| 6 | name: 2019.2.0-heat-cicd-queens-dvr-sl |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 7 | triggers: |
| 8 | - timed: H(5-30) 21 * * 1-7 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 9 | parameters: |
| 10 | - string: |
| 11 | default: heat-cicd-queens-dvr-sl |
| 12 | description: '' |
| 13 | name: LAB_CONFIG_NAME |
| 14 | trim: 'false' |
| 15 | - string: |
| 16 | default: core,cicd |
| 17 | description: Comma-separated list of stacks to deploy the drivetrain (salt |
| 18 | cluster and cicd nodes) |
| 19 | name: DRIVETRAIN_STACK_INSTALL |
| 20 | trim: 'false' |
| 21 | - string: |
Hanna Arhipova | d331eb9 | 2020-04-08 18:13:16 +0300 | [diff] [blame^] | 22 | default: '18000' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 23 | description: '' |
| 24 | name: DRIVETRAIN_STACK_INSTALL_TIMEOUT |
| 25 | trim: 'false' |
| 26 | - string: |
| 27 | default: openstack,ovs,ceph,stacklight |
| 28 | description: Comma-separated list of stacks to deploy the target platform |
| 29 | (openstack and additional components) |
| 30 | name: PLATFORM_STACK_INSTALL |
| 31 | trim: 'false' |
| 32 | - string: |
Hanna Arhipova | d331eb9 | 2020-04-08 18:13:16 +0300 | [diff] [blame^] | 33 | default: '15000' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 34 | description: '' |
| 35 | name: PLATFORM_STACK_INSTALL_TIMEOUT |
| 36 | trim: 'false' |
| 37 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 38 | default: 2019.2.8 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 39 | description: '' |
| 40 | name: MCP_VERSION |
| 41 | trim: 'false' |
| 42 | - string: |
| 43 | default: sre-team-infra |
| 44 | description: '' |
| 45 | name: NODE_NAME |
| 46 | trim: 'false' |
| 47 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 48 | default: '/home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 49 | description: '' |
| 50 | name: MCP_IMAGE_PATH1604 |
| 51 | trim: 'false' |
| 52 | - string: |
| 53 | default: /home/jenkins/images/cfg01-day01.qcow2 |
| 54 | description: '' |
| 55 | name: IMAGE_PATH_CFG01_DAY01 |
| 56 | trim: 'false' |
| 57 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 58 | default: 'cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 59 | description: ISO name that will be generated and downloaded to the /home/jenkins/images/ |
| 60 | name: CFG01_CONFIG_IMAGE_NAME |
| 61 | trim: 'false' |
| 62 | - string: |
| 63 | default: heat-cicd-queens-dvr-sl |
| 64 | description: '' |
| 65 | name: ENV_NAME |
| 66 | trim: 'false' |
| 67 | - string: |
| 68 | default: '' |
| 69 | description: |- |
| 70 | Example: refs/changes/89/411189/36 |
| 71 | (for now - only one reference allowed) |
| 72 | name: TCP_QA_REFS |
| 73 | trim: 'false' |
| 74 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 75 | default: 'refs/tags/2019.2.8' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 76 | description: reference to patchset in pipeline-library |
| 77 | name: PIPELINE_LIBRARY_REF |
| 78 | trim: 'false' |
| 79 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 80 | default: 'refs/tags/2019.2.8' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 81 | description: reference to patchset in mk-pipelines |
| 82 | name: MK_PIPELINES_REF |
| 83 | trim: 'false' |
| 84 | - string: |
Hanna Arhipova | c7bd023 | 2020-03-03 13:11:31 +0200 | [diff] [blame] | 85 | default: refs/tags/2019.2.8 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 86 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} |
| 87 | value |
| 88 | name: COOKIECUTTER_TEMPLATE_COMMIT |
| 89 | trim: 'false' |
| 90 | - string: |
Hanna Arhipova | c7bd023 | 2020-03-03 13:11:31 +0200 | [diff] [blame] | 91 | default: refs/tags/2019.2.8 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 92 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} |
| 93 | value |
| 94 | name: SALT_MODELS_SYSTEM_COMMIT |
| 95 | trim: 'false' |
| 96 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 97 | default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight" |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 98 | description: |- |
| 99 | Pytest option -k or -m, with expression to select necessary tests. |
| 100 | Additional pytest options are allowed. |
| 101 | name: RUN_TEST_OPTS |
| 102 | trim: 'false' |
| 103 | - bool: |
| 104 | default: true |
| 105 | description: '' |
| 106 | name: SHUTDOWN_ENV_ON_TEARDOWN |
| 107 | - string: |
| 108 | default: '' |
| 109 | description: '' |
| 110 | name: COOKIECUTTER_REF_CHANGE |
| 111 | trim: 'false' |
| 112 | - string: |
| 113 | default: '' |
| 114 | description: '' |
| 115 | name: ENVIRONMENT_TEMPLATE_REF_CHANGE |
| 116 | trim: 'false' |
| 117 | - string: |
| 118 | default: '[MCP1.1_QUEENS]Tempest' |
| 119 | description: '' |
| 120 | name: TEMPEST_TEST_SUITE_NAME |
| 121 | trim: 'false' |
| 122 | - string: |
| 123 | default: queens |
| 124 | description: '' |
| 125 | name: TEMPEST_IMAGE_VERSION |
| 126 | trim: 'false' |
| 127 | - string: |
| 128 | default: '' |
| 129 | description: '' |
| 130 | name: TEMPEST_TARGET |
| 131 | trim: 'false' |
| 132 | - string: |
| 133 | default: '' |
| 134 | description: '' |
| 135 | name: UPDATE_REPO_CUSTOM_TAG |
| 136 | trim: 'false' |
| 137 | - bool: |
| 138 | default: true |
| 139 | description: If set, reports will be created in TestRail for this build |
| 140 | name: REPORT_TO_TESTRAIL |
| 141 | - choice: |
| 142 | choices: |
| 143 | - heat |
| 144 | - devops |
| 145 | description: '' |
| 146 | name: ENV_MANAGER |
| 147 | - string: |
| 148 | default: https://ic-eu.ssl.mirantis.net:5000/v3 |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 149 | description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 150 | name: OS_AUTH_URL |
| 151 | trim: 'false' |
| 152 | - string: |
| 153 | default: sre-team |
| 154 | description: OpenStack project (tenant) name |
| 155 | name: OS_PROJECT_NAME |
| 156 | trim: 'false' |
| 157 | - string: |
Hanna Arhipova | 9565943 | 2020-01-28 14:24:02 +0200 | [diff] [blame] | 158 | default: default |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 159 | description: OpenStack user domain name |
| 160 | name: OS_USER_DOMAIN_NAME |
| 161 | trim: 'false' |
| 162 | - string: |
Hanna Arhipova | 9565943 | 2020-01-28 14:24:02 +0200 | [diff] [blame] | 163 | default: sre-qa-ci-eu |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 164 | description: Jenkins credentials ID with username and password to create a |
| 165 | heat stack in OpenStack |
| 166 | name: OS_CREDENTIALS |
| 167 | trim: 'false' |
| 168 | - string: |
Hanna Arhipova | 9565943 | 2020-01-28 14:24:02 +0200 | [diff] [blame] | 169 | default: eu-cloud.env |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 170 | description: |- |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 171 | Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/, |
| 172 | for example: microcloud-8116.env |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 173 | name: LAB_PARAM_DEFAULTS |
| 174 | trim: 'false' |
| 175 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 176 | default: 'refs/tags/2019.2.8' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 177 | description: '' |
| 178 | name: JENKINS_PIPELINE_BRANCH |
| 179 | trim: 'false' |
| 180 | - string: |
| 181 | default: '' |
| 182 | description: '' |
| 183 | name: TEMPEST_PATTERN |
| 184 | trim: 'false' |
| 185 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 186 | default: 'refs/tags/2019.2.8' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 187 | description: '' |
| 188 | name: MCP_COMMON_SCRIPTS_REFS |
| 189 | trim: 'false' |
| 190 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 191 | default: 2019.2.8 |
Hanna Arhipova | c7bd023 | 2020-03-03 13:11:31 +0200 | [diff] [blame] | 192 | description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 193 | name: UPDATE_VERSION |
| 194 | trim: 'false' |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 195 | - string: |
| 196 | default: '' |
| 197 | description: '' |
| 198 | name: TEMPEST_EXTRA_ARGS |
| 199 | trim: 'false' |
| 200 | - bool: |
| 201 | default: false |
| 202 | description: Whether to perform dist-upgrade on virtual nodes during deployment |
| 203 | name: DIST_UPGRADE_NODES |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 204 | pipeline-scm: |
| 205 | lightweight-checkout: false |
| 206 | scm: |
| 207 | - git: |
| 208 | branches: |
| 209 | - FETCH_HEAD |
| 210 | refspec: ${{TCP_QA_REFS}} |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 211 | url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 212 | script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy |