| - job-template: |
| project-type: pipeline |
| description: "{job-description} |
| WARNING! models are pushed to the same LAB_CONTEXT_NAME repositories under the specified tags! |
| Fuel-devops environment is erased after the build by default" |
| concurrent: true |
| disabled: false |
| name: swarm-cookied-model-generator |
| parameters: |
| - string: |
| default: '' |
| description: 'This name will be used: |
| - to find the template file tcp_tests/templates/cookied-model-generator/salt_$LAB_CONTEXT_NAME.yaml |
| - to set the salt model cluster name' |
| name: LAB_CONTEXT_NAME |
| trim: 'false' |
| - string: |
| default: '' |
| description: 'Cluster name wich will be used for model creation |
| Default: LAB_CONFIG_NAME' |
| name: CLUSTER_NAME |
| trim: 'false' |
| - string: |
| default: '' |
| description: 'Domain name wich will be used for model creation |
| Default: LAB_CONFIG_NAME.local' |
| name: DOMAIN_NAME |
| trim: 'false' |
| - string: |
| default: 'proposed' |
| description: '' |
| name: REPOSITORY_SUITE |
| trim: 'false' |
| - string: |
| default: 'proposed' |
| description: '' |
| name: SALT_MODELS_SYSTEM_COMMIT |
| trim: 'false' |
| - string: |
| default: 'proposed' |
| description: '' |
| name: COOKIECUTTER_TEMPLATE_COMMIT |
| trim: 'false' |
| - string: |
| default: '' |
| description: '' |
| name: JENKINS_PIPELINE_BRANCH |
| trim: 'false' |
| - string: |
| default: '' |
| description: '' |
| name: SALT_MODELS_SYSTEM_REF_CHANGE |
| trim: 'false' |
| - string: |
| default: 'sre-team-infra' |
| description: '' |
| name: NODE_NAME |
| trim: 'false' |
| - string: |
| default: '' |
| description: '' |
| name: TCP_QA_REFS |
| - string: |
| default: '' |
| description: 'environment-templates repository ref change' |
| name: ENVIRONMENT_TEMPLATE_REF_CHANGE |
| trim: 'false' |
| - string: |
| default: false |
| description: cookiecutter-templates repository ref change |
| name: COOKIECUTTER_REF_CHANGE |
| - bool: |
| default: true |
| description: '' |
| name: ERASE_EXISTING_ENVIRONMENT |
| - bool: |
| default: true |
| description: '' |
| name: SHUTDOWN_ENV_ON_TEARDOWN |
| - bool: |
| default: true |
| description: '' |
| name: ERASE_ENVIRONMENT_AFTER_BUILD |
| - string: |
| default: '192.168.10.0/24' |
| description: 'Management (admin/PXE) network. For now /24 only.' |
| name: IPV4_NET_ADMIN |
| trim: 'false' |
| - string: |
| default: '172.16.10.0/24' |
| description: 'Control (internal cluster communications) network. For now /24 only.' |
| name: IPV4_NET_CONTROL |
| trim: 'false' |
| - string: |
| default: '10.1.0.0/24' |
| description: 'OpenStack tenant (transport for user-defined internal networks for instances) network. For now /24 only.' |
| name: IPV4_NET_TENANT |
| trim: 'false' |
| - string: |
| default: '10.16.0.0/24' |
| description: 'OpenStack external network (for incoming connections with floating IPs). For now /24 only.' |
| name: IPV4_NET_EXTERNAL |
| trim: 'false' |
| - string: |
| default: '/home/jenkins/images/cfg01-day01.qcow2' |
| description: 'Image used for the model generation and validation' |
| name: IMAGE_PATH_CFG01_DAY01 |
| trim: 'false' |
| - string: |
| default: '' |
| description: '' |
| name: UPDATE_REPO_CUSTOM_TAG |
| trim: 'false' |
| - string: |
| default: '' |
| description: '' |
| name: UPDATE_VERSION |
| trim: 'false' |
| - string: |
| name: UPDATES_MIRANTIS_VERSION |
| default: '' |
| description: | |
| Overwrite subsection of updates.mirantis.com repository. |
| Effective only if enabled in cookiecutter context! |
| - string: |
| default: '' |
| description: '' |
| name: DEPLOY_NETWORK_NETMASK |
| trim: 'false' |
| - string: |
| name: IPMI_USER |
| default: '' |
| - string: |
| name: IPMI_PASS |
| default: '' |
| logrotate: |
| daysToKeep: 365 |
| pipeline-scm: |
| lightweight-checkout: false |
| scm: |
| - git: |
| branches: |
| - FETCH_HEAD |
| refspec: ${{TCP_QA_REFS}} |
| url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa |
| script-path: jobs/pipelines/cookied-model-generator.groovy |
| |