vitalygusev | d05c32c | 2018-08-24 14:19:03 +0400 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | stacklight-test-cookiecutter-model: |
| 6 | display_name: stacklight-test-cookiecutter-model |
| 7 | name: stacklight-test-cookiecutter-model |
| 8 | concurrent: true |
| 9 | description: Test specified cookiecutter context |
| 10 | discard: |
| 11 | build: |
| 12 | keep_num: 60 |
| 13 | artifact: |
| 14 | keep_num: 60 |
| 15 | type: workflow-scm |
| 16 | scm: |
| 17 | type: git |
| 18 | url: "${_param:jenkins_gerrit_url}/openstack-ci/openstack-pipelines" |
| 19 | credentials: "gerrit" |
| 20 | branch: 'master' |
| 21 | script: test-cookiecutter-model-pipeline.groovy |
| 22 | param: |
| 23 | CREDENTIALS_ID: |
| 24 | type: string |
| 25 | description: "ID of jenkins credentials for connecting to gerrit" |
| 26 | default: "gerrit" |
| 27 | COOKIECUTTER_TEMPLATE_CONTEXT_FILE: |
vitalygusev | 826d97b | 2018-08-31 10:24:02 +0400 | [diff] [blame] | 28 | type: string |
vitalygusev | d05c32c | 2018-08-24 14:19:03 +0400 | [diff] [blame] | 29 | description: "Context for cookiecutter template specified as filename" |
vitalygusev | 8f99cb8 | 2018-08-30 13:07:29 +0400 | [diff] [blame] | 30 | default: 'stacklight-openstack-ovs-core-pike' |
vitalygusev | d05c32c | 2018-08-24 14:19:03 +0400 | [diff] [blame] | 31 | OPENSTACK_API_PROJECT: |
| 32 | type: string |
| 33 | default: "mcp-stacklight" |
| 34 | HEAT_STACK_ZONE: |
| 35 | type: string |
| 36 | default: "mcp-stacklight" |
| 37 | FLAVOR_PREFIX: |
| 38 | type: string |
| 39 | default: 'dev' |
| 40 | RUN_SMOKE: |
| 41 | type: boolean |
| 42 | description: "Run smoke after deployment or not (bool)" |
| 43 | default: 'false' |
| 44 | COOKIECUTTER_EXTRA_CONTEXT: |
| 45 | type: text |
| 46 | description: "Extra context items, will be merged to COOKIECUTTER_TEMPLATE_CONTEXT_FILE" |
| 47 | default: |- |
| 48 | #Extra context that will be merged with content of COOKIECUTTER_TEMPLATE_CONTEXT_FILE |
| 49 | default_context: |
| 50 | openssh_groups: "qa_scale,oscore_devops,networking,tcpcloud,stacklight,k8s_team" |
| 51 | cookiecutter_template_url: https://gerrit.mcp.mirantis.net/mk/cookiecutter-templates.git |
| 52 | cookiecutter_template_branch: 'master' |
| 53 | shared_reclass_url: https://gerrit.mcp.mirantis.net/salt-models/reclass-system.git |
| 54 | shared_reclass_branch: 'master' |
| 55 | STACK_INSTALL: |
| 56 | type: string |
| 57 | default: 'core,openstack,ovs,stacklight' |
| 58 | STACK_DELETE: |
| 59 | type: boolean |
| 60 | description: "Delete Heat stack when finished (bool)" |
| 61 | default: 'false' |