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