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 |
vitalygusev | 97b6d49 | 2018-09-03 11:20:16 +0400 | [diff] [blame] | 22 | trigger: |
| 23 | timer: |
| 24 | spec: "H H(0-3) * * *" |
vitalygusev | d05c32c | 2018-08-24 14:19:03 +0400 | [diff] [blame] | 25 | param: |
| 26 | CREDENTIALS_ID: |
| 27 | type: string |
| 28 | description: "ID of jenkins credentials for connecting to gerrit" |
| 29 | default: "gerrit" |
| 30 | COOKIECUTTER_TEMPLATE_CONTEXT_FILE: |
vitalygusev | 826d97b | 2018-08-31 10:24:02 +0400 | [diff] [blame] | 31 | type: string |
vitalygusev | d05c32c | 2018-08-24 14:19:03 +0400 | [diff] [blame] | 32 | description: "Context for cookiecutter template specified as filename" |
vitalygusev | 8f99cb8 | 2018-08-30 13:07:29 +0400 | [diff] [blame] | 33 | default: 'stacklight-openstack-ovs-core-pike' |
vitalygusev | e0186f2 | 2018-09-18 10:47:44 +0400 | [diff] [blame] | 34 | OPENSTACK_ENVIRONMENT: |
| 35 | type: choice |
| 36 | description: "Target openstack environment" |
| 37 | choices: |
| 38 | - devcloud |
| 39 | - presales |
| 40 | - oscore_devcloud |
| 41 | OPENSTACK_API_CREDENTIALS: |
| 42 | type: string |
| 43 | description: "Credentials to the OpenStack API" |
vitalygusev | d05c32c | 2018-08-24 14:19:03 +0400 | [diff] [blame] | 44 | OPENSTACK_API_PROJECT: |
| 45 | type: string |
| 46 | default: "mcp-stacklight" |
| 47 | HEAT_STACK_ZONE: |
| 48 | type: string |
| 49 | default: "mcp-stacklight" |
| 50 | FLAVOR_PREFIX: |
| 51 | type: string |
| 52 | default: 'dev' |
| 53 | RUN_SMOKE: |
| 54 | type: boolean |
| 55 | description: "Run smoke after deployment or not (bool)" |
| 56 | default: 'false' |
| 57 | COOKIECUTTER_EXTRA_CONTEXT: |
| 58 | type: text |
| 59 | description: "Extra context items, will be merged to COOKIECUTTER_TEMPLATE_CONTEXT_FILE" |
| 60 | default: |- |
| 61 | #Extra context that will be merged with content of COOKIECUTTER_TEMPLATE_CONTEXT_FILE |
| 62 | default_context: |
| 63 | openssh_groups: "qa_scale,oscore_devops,networking,tcpcloud,stacklight,k8s_team" |
| 64 | cookiecutter_template_url: https://gerrit.mcp.mirantis.net/mk/cookiecutter-templates.git |
| 65 | cookiecutter_template_branch: 'master' |
| 66 | shared_reclass_url: https://gerrit.mcp.mirantis.net/salt-models/reclass-system.git |
| 67 | shared_reclass_branch: 'master' |
| 68 | STACK_INSTALL: |
| 69 | type: string |
| 70 | default: 'core,openstack,ovs,stacklight' |
| 71 | STACK_DELETE: |
| 72 | type: boolean |
vitalygusev | 97b6d49 | 2018-09-03 11:20:16 +0400 | [diff] [blame] | 73 | description: "Delete Heat stack when finished (bool). Don't enable it if you need to use the lab after" |
| 74 | default: 'true' |