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