Add OSCORE test-virtual-models jobs
The jobs are going to deploy/run tempest smoke on specified
model.
Change-Id: I250a3de749cffe6d71b80188beb2aad763bb1f96
Related-Prod: PROD-18505
diff --git a/jenkins/client/job/oscore/init.yml b/jenkins/client/job/oscore/init.yml
index 18dd008..91f2ad1 100644
--- a/jenkins/client/job/oscore/init.yml
+++ b/jenkins/client/job/oscore/init.yml
@@ -2,6 +2,7 @@
- system.jenkins.client.job.oscore.security_tests
- system.jenkins.client.job.oscore.tests
- system.jenkins.client.job.oscore.qa
+ - system.jenkins.client.job.oscore.salt_virtual_models
parameters:
jenkins:
client:
diff --git a/jenkins/client/job/oscore/salt_virtual_models.yml b/jenkins/client/job/oscore/salt_virtual_models.yml
new file mode 100644
index 0000000..994709a
--- /dev/null
+++ b/jenkins/client/job/oscore/salt_virtual_models.yml
@@ -0,0 +1,97 @@
+parameters:
+ jenkins:
+ client:
+ job:
+ test_virtual_model:
+ concurrent: true
+ discard:
+ build:
+ keep_num: 30
+ artifact:
+ keep_num: 30
+ plugin_properties:
+ throttleconcurrents:
+ enabled: true
+ throttle_option: category
+ categories:
+ - oscore-ci-ha-builds
+ display_name: oscore-test-virtual-model
+ name: oscore-test-virtual-model
+ param:
+ CREDENTIALS_ID:
+ default: gerrit
+ type: string
+ description: "Name of creadentials to use when connecting to gerrit"
+ HEAT_STACK_ZONE:
+ type: string
+ description: "Heat stack zone where build stack"
+ default: "mcp-oscore-ci"
+ STACK_RECLASS_ADDRESS:
+ type: string
+ default: 'https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab'
+ description: 'Url to repository with stack salt models'
+ STACK_RECLASS_BRANCH:
+ type: string
+ default: 'master'
+ description: 'Branch of repository with stack salt models'
+ STACK_CLUSTER_NAME:
+ type: string
+ default: ""
+ description: "Cluster name to use from reclass"
+ STACK_DELETE:
+ type: boolean
+ default: 'false'
+ description: "Enable it when stack have to be deleted."
+ FORMULA_PKG_REVISION:
+ type: string
+ description: Version of formulas for salt-master bootstrap
+ default: "nightly"
+ # openstack api
+ OPENSTACK_API_URL:
+ type: string
+ default: "https://cloud-cz.bud.mirantis.net:5000"
+ OPENSTACK_API_CREDENTIALS:
+ type: string
+ default: "openstack-devcloud-credentials"
+ OPENSTACK_API_PROJECT:
+ type: string
+ default: "mcp-oscore-ci"
+ OPENSTACK_API_PROJECT_DOMAIN:
+ type: string
+ default: "default"
+ OPENSTACK_API_PROJECT_ID:
+ type: string
+ default: ""
+ OPENSTACK_API_USER_DOMAIN:
+ type: string
+ default: "default"
+ OPENSTACK_API_CLIENT:
+ type: string
+ default: ""
+ OPENSTACK_API_VERSION:
+ type: string
+ default: "3"
+ # Test params
+ TEST_CONF:
+ type: string
+ description: Tempest configuration file path inside container
+ default: "/home/rally/rally_reports/tempest_generated.conf"
+ TEST_TARGET:
+ type: string
+ description: Node to run tests
+ default: "cfg01*"
+ TEST_CONCURRENCY:
+ type: string
+ description: How much test threads to run
+ default: "2"
+ RUN_SMOKE:
+ type: boolean
+ default: "false"
+ description: Enabling of running smoke tests
+ scm:
+ script: test-virtual-model-pipeline.groovy
+ type: git
+ url: "${_param:jenkins_gerrit_url}/openstack-ci/openstack-pipelines"
+ credentials: "gerrit"
+ type: workflow-scm
+