Create stable pike-contrail deploy config
Change-Id: Ib03db78d694e319a07dfb3da6f31a039bf622e06
diff --git a/jobs/project.yaml b/jobs/project.yaml
index 1b52f3c..d393478 100644
--- a/jobs/project.yaml
+++ b/jobs/project.yaml
@@ -6,6 +6,9 @@
- heat-cicd-pike-dvr-sl:
disabled: '{disabled-proposed}'
trigger_time: H(5-30) 22 * * 1-5
+ - heat-cicd-pike-contrail-stb-sl:
+ disabled: '{disabled-proposed}'
+ trigger_time: H(5-30) 22 * * 1-5
- heat-cicd-queens-contrail41-sl:
disabled: '{disabled-proposed}'
trigger_time: H(5-30) 23 * * 1-5
diff --git a/jobs/templates/heat-cicd-pike-contrail-stb-sl.yml b/jobs/templates/heat-cicd-pike-contrail-stb-sl.yml
new file mode 100755
index 0000000..0a4ddf0
--- /dev/null
+++ b/jobs/templates/heat-cicd-pike-contrail-stb-sl.yml
@@ -0,0 +1,231 @@
+---
+- job-template:
+ project-type: pipeline
+ concurrent: true
+ description: '{job-description}'
+ name: heat-cicd-pike-contrail-stb-sl
+ # 'disabled' and 'timed' option are defined in the project.yaml
+ disabled: '{obj:disabled}'
+ triggers:
+ - timed: '{obj:trigger_time}'
+ properties:
+ - build-discarder:
+ days-to-keep: 60
+ num-to-keep: 50
+ parameters:
+ - string:
+ default: heat-cicd-pike-contrail-stb-sl
+ description: ''
+ name: LAB_CONFIG_NAME
+ trim: 'false'
+ - string:
+ default: core,cicd
+ description: Comma-separated list of stacks to deploy the drivetrain (salt
+ cluster and cicd nodes)
+ name: DRIVETRAIN_STACK_INSTALL
+ trim: 'false'
+ - string:
+ default: '18000'
+ description: ''
+ name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
+ trim: 'false'
+ - string:
+ default: openstack,contrail,ceph,stacklight
+ description: Comma-separated list of stacks to deploy the target platform
+ (openstack and additional components)
+ name: PLATFORM_STACK_INSTALL
+ trim: 'false'
+ - string:
+ default: '15000'
+ description: ''
+ name: PLATFORM_STACK_INSTALL_TIMEOUT
+ trim: 'false'
+ - string:
+ default: 2019.2.0
+ description: ''
+ name: MCP_VERSION
+ trim: 'false'
+ - string:
+ default: sre-team-infra
+ description: ''
+ name: NODE_NAME
+ trim: 'false'
+ - string:
+ default: '/home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2'
+ description: ''
+ name: MCP_IMAGE_PATH1604
+ trim: 'false'
+ - string:
+ default: /home/jenkins/images/cfg01-day01.qcow2
+ description: ''
+ name: IMAGE_PATH_CFG01_DAY01
+ trim: 'false'
+ - string:
+ default: 'cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso'
+ description: ISO name that will be generated and downloaded to the /home/jenkins/images/
+ name: CFG01_CONFIG_IMAGE_NAME
+ trim: 'false'
+ - string:
+ default: heat-cicd-pike-contrail-stb-sl
+ description: ''
+ name: ENV_NAME
+ trim: 'false'
+ - bool:
+ default: false
+ description: 'Add extra node to heat stack. Node without a role and with salt-minion'
+ name: DEPLOY_EMPTY_NODE
+ - string:
+ default: ''
+ description: |-
+ Example: refs/changes/89/411189/36
+ (for now - only one reference allowed)
+ name: TCP_QA_REFS
+ trim: 'false'
+ - string:
+ default: refs/heads/release/proposed/2019.2.0
+ description: reference to patchset in pipeline-library
+ name: PIPELINE_LIBRARY_REF
+ trim: 'false'
+ - string:
+ default: refs/heads/release/proposed/2019.2.0
+ description: reference to patchset in mk-pipelines
+ name: MK_PIPELINES_REF
+ trim: 'false'
+ - string:
+ default: release/proposed/2019.2.0
+ description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
+ value
+ name: COOKIECUTTER_TEMPLATE_COMMIT
+ trim: 'false'
+ - string:
+ default: release/proposed/2019.2.0
+ description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
+ value
+ name: SALT_MODELS_SYSTEM_COMMIT
+ trim: 'false'
+ - string:
+ default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight"
+ description: |-
+ Pytest option -k or -m, with expression to select necessary tests.
+ Additional pytest options are allowed.
+ name: RUN_TEST_OPTS
+ trim: 'false'
+ - bool:
+ default: true
+ description: ''
+ name: SHUTDOWN_ENV_ON_TEARDOWN
+ - string:
+ default: ''
+ description: ''
+ name: COOKIECUTTER_REF_CHANGE
+ trim: 'false'
+ - string:
+ default: ''
+ description: ''
+ name: ENVIRONMENT_TEMPLATE_REF_CHANGE
+ trim: 'false'
+ - string:
+ default: '[MCP1.1_PIKE]Tempest'
+ description: ''
+ name: TEMPEST_TEST_SUITE_NAME
+ trim: 'false'
+ - string:
+ default: pike
+ description: ''
+ name: TEMPEST_IMAGE_VERSION
+ trim: 'false'
+ - string:
+ default: ''
+ description: ''
+ name: TEMPEST_TARGET
+ trim: 'false'
+ - string:
+ default: proposed
+ description: ''
+ name: UPDATE_REPO_CUSTOM_TAG
+ trim: 'false'
+ - bool:
+ default: true
+ description: If set, reports will be created in TestRail for this build
+ name: REPORT_TO_TESTRAIL
+ - choice:
+ choices:
+ - heat
+ - devops
+ description: ''
+ name: ENV_MANAGER
+ - string:
+ default: https://keystone.ic-eu.ssl.mirantis.net/v3
+ description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
+ name: OS_AUTH_URL
+ trim: 'false'
+ - string:
+ default: sre-team
+ description: OpenStack project (tenant) name
+ name: OS_PROJECT_NAME
+ trim: 'false'
+ - string:
+ default: default
+ description: OpenStack user domain name
+ name: OS_USER_DOMAIN_NAME
+ trim: 'false'
+ - string:
+ default: sre-qa-ci-eu
+ description: Jenkins credentials ID with username and password to create a
+ heat stack in OpenStack
+ name: OS_CREDENTIALS
+ trim: 'false'
+ - string:
+ default: eu-cloud-low-flavors.env
+ description: |-
+ Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/
+ , for example: microcloud-8116.env
+ name: LAB_PARAM_DEFAULTS
+ trim: 'false'
+ - string:
+ default: release/proposed/2019.2.0
+ description: ''
+ name: JENKINS_PIPELINE_BRANCH
+ trim: 'false'
+ - string:
+ default: ''
+ description: ''
+ name: TEMPEST_PATTERN
+ trim: 'false'
+ - string:
+ default: refs/heads/release/proposed/2019.2.0
+ description: ''
+ name: MCP_COMMON_SCRIPTS_REFS
+ trim: 'false'
+ - string:
+ default: proposed
+ description: ''
+ name: UPDATE_VERSION
+ trim: 'false'
+ - string:
+ name: UPDATES_MIRANTIS_VERSION
+ default: 'stable'
+ description: |
+ Overwrite subsection of updates.mirantis.com repository.
+ Effective only if enabled in cookiecutter context!
+ - bool:
+ default: true
+ description: Whether to perform dist-upgrade on virtual nodes during deployment
+ name: DIST_UPGRADE_NODES
+ - bool:
+ default: true
+ description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
+ name: UPGRADE_SALTSTACK
+ pipeline-scm:
+ lightweight-checkout: false
+ scm:
+ - git:
+ branches:
+ - FETCH_HEAD
+ refspec: '${{TCP_QA_REFS}}'
+ url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
+ clean:
+ before: true
+ script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
+ logrotate:
+ daysToKeep: 365
diff --git a/jobs/view.yaml b/jobs/view.yaml
index b7b4e17..a8bba0e 100644
--- a/jobs/view.yaml
+++ b/jobs/view.yaml
@@ -10,6 +10,7 @@
- heat-cicd-pike-dvr-sl
- heat-cicd-queens-contrail41-sl
- heat-cicd-queens-dvr-sl
+ - heat-cicd-pike-contrail-stb-sl
columns:
- status
- weather