Add pipeline to deploy random released MCP by schedule
Set 2019.2.7 versions to deploy in the released-* jobs
Change-Id: Id87d58ebedadd8baa62bb5e23a396b7f1106d55f
Related-Prod:#PROD-34546(PROD:34546)
diff --git a/jobs/templates/deploy-released.yml b/jobs/templates/deploy-released.yml
new file mode 100644
index 0000000..959962a
--- /dev/null
+++ b/jobs/templates/deploy-released.yml
@@ -0,0 +1,54 @@
+- job-template:
+ project-type: pipeline
+ description: '{job-description}'
+ concurrent: flase
+ disabled: false
+ sandbox: true
+ triggers:
+ - timed: H(20-30) 1 * * 1-5
+ name: deploy_bm
+ parameters:
+ - string:
+ default: sre-qa-ci-eu
+ description: ''
+ name: OS_CREDENTIALS
+ trim: 'false'
+ - text:
+ default: |-
+ released-heat-cicd-pike-contrail41-sl
+ released-heat-cicd-pike-dvr-sl
+ released-heat-cicd-queens-dvr-sl
+ description: List of stacks for deployment. Separated by newline
+ name: STACKS
+ trim: 'false'
+ - string:
+ default: ''
+ description: ''
+ name: TCP_QA_REFS
+ trim: 'false'
+ - string:
+ default: sre-team-infra
+ description: ''
+ name: PARENT_NODE_NAME
+ trim: 'false'
+ - string:
+ default: https://ic-eu.ssl.mirantis.net:5000/v3
+ description: ''
+ name: OS_AUTH_URL
+ trim: 'false'
+ - string:
+ default: sre-team
+ description: ''
+ name: OS_PROJECT_NAME
+ trim: 'false'
+ 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/rotation-released-deployment.groovy