blob: 0f4040310c9d7311578235634241cdee300426cf [file] [log] [blame]
vitalygusevd05c32c2018-08-24 14:19:03 +04001parameters:
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
vitalygusev97b6d492018-09-03 11:20:16 +040022 trigger:
23 timer:
24 spec: "H H(0-3) * * *"
vitalygusevd05c32c2018-08-24 14:19:03 +040025 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:
vitalygusev826d97b2018-08-31 10:24:02 +040031 type: string
vitalygusevd05c32c2018-08-24 14:19:03 +040032 description: "Context for cookiecutter template specified as filename"
vitalygusev8f99cb82018-08-30 13:07:29 +040033 default: 'stacklight-openstack-ovs-core-pike'
vitalyguseve0186f22018-09-18 10:47:44 +040034 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"
vitalygusevd05c32c2018-08-24 14:19:03 +040044 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
vitalygusev97b6d492018-09-03 11:20:16 +040073 description: "Delete Heat stack when finished (bool). Don't enable it if you need to use the lab after"
74 default: 'true'