Init BM MCC+MOSK commit
Just put templates to the repo
MOSSUST-114
Change-Id: I2239dd7067d823d3ab15d1d46dc57fc2c7b9444b
diff --git a/jobs/pipelines/mosk/deploy-bm.groovy b/jobs/pipelines/mosk/deploy-bm.groovy
new file mode 100644
index 0000000..9e2977e
--- /dev/null
+++ b/jobs/pipelines/mosk/deploy-bm.groovy
@@ -0,0 +1 @@
+// STUB FOR REPLAY TESTING
\ No newline at end of file
diff --git a/jobs/project.yaml b/jobs/project.yaml
index b922e0d..60ac4ca 100644
--- a/jobs/project.yaml
+++ b/jobs/project.yaml
@@ -19,6 +19,7 @@
- deploy_bm:
disabled: false
# trigger_time: H(40-59) 0 * * 1-5
+ - bm-mcc-mosk-base
- bm-cicd-pike-ovs-maas
- bm-cicd-queens-ovs-maas
- bm-cicd-queens-ovs-cl-maas
diff --git a/jobs/templates/bm-mcc-mosk-base.yml b/jobs/templates/bm-mcc-mosk-base.yml
new file mode 100644
index 0000000..66e758d
--- /dev/null
+++ b/jobs/templates/bm-mcc-mosk-base.yml
@@ -0,0 +1,62 @@
+- job-template:
+ project-type: pipeline
+ description: '{job-description}'
+ concurrent: true
+ disabled: false
+ name: bm-mcc-mosk-base
+ parameters:
+ - string:
+ default: sre-team-infra
+ description: ''
+ name: NODE_NAME
+ trim: 'false'
+ - string:
+ default: bm-cicd-queens-ovs-maas
+ description: ''
+ name: ENV_NAME
+ trim: 'false'
+ - string:
+ default: ''
+ description: |-
+ Example: refs/changes/89/411189/36
+ (for now - only one reference allowed)
+ name: TCP_QA_REFS
+ trim: 'false'
+ - 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'
+ - text:
+ default: ''
+ description: |-
+ Add env vars for deploy and testing
+ name: EXTRA_VARS
+ 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
+ script-path: jobs/pipelines/mosk/deploy-bm.groovy
+ logrotate:
+ daysToKeep: 365
diff --git a/jobs/view.yaml b/jobs/view.yaml
index 83f294f..1397b1c 100644
--- a/jobs/view.yaml
+++ b/jobs/view.yaml
@@ -91,6 +91,7 @@
filter-executors: true
filter-queue: true
job-name:
+ - bm-mcc-mosk-base
- deploy_bm
- bm-cicd-pike-ovs-maas
- bm-cicd-queens-ovs-maas