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