blob: 30f1fd437f7c321b0b21921729d18c702b13a168 [file] [log] [blame]
Fatih Degirmenciec6b85f2020-04-15 07:59:05 +00001---
2#
3# ============LICENSE_START=======================================================
4# Copyright (C) 2019 Nordix Foundation.
5# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18# SPDX-License-Identifier: Apache-2.0
19# ============LICENSE_END=========================================================
20
21# macros used by all job types on cloud
22- parameter:
23 name: 'onap-parameter-macro'
24 parameters:
25 - project-parameters:
26 project: 'infra/engine'
27 branch: 'master'
28 - nordix-gerrit-parameters
29 - label:
30 name: SLAVE_LABEL
Fatih Degirmenci26d913b2020-05-07 17:09:42 +000031 default: 'engine-jumphost-online-ubuntu1804-fra'
Fatih Degirmenciec6b85f2020-04-15 07:59:05 +000032 description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
33 - string:
34 name: PROVISIONER_TYPE
35 default: 'heat'
36 description: 'Provisioner to use for provisioning nodes'
37 - string:
38 name: INSTALLER_TYPE
39 default: 'kubespray'
40 description: 'Installer to use for deploying the scenario'
41 - string:
42 name: DEPLOY_SCENARIO
43 default: 'k8-calico-onap'
44 description: 'Scenario to deploy and test'
45 - string:
46 name: DEPLOY_TYPE
47 default: 'cloud'
48 description: 'Type of the deployment'
49 - string:
50 name: DISTRO
51 default: 'ubuntu1804'
52 description: 'Distribution to use for configuring target nodes (networking etc.)'
53 - string:
54 name: ONAP_VERSION
55 default: '{onap-version}'
56 description: 'ONAP version to deploy'
57 - string:
58 name: ONAP_PROFILE
59 default: 'sdc'
60 description: 'ONAP profile to deploy - could be sdc or so.'
61 - string:
62 name: OPENSTACK_CLOUD_PROVIDER
63 default: 'city'
64 description: 'Name of the cloud where this job is run'
65 - string:
66 name: STACK_NAME
67 default: 'nordix-cicd-k8-calico-onap-sdc-master'
68 description: 'Stack to create'
69 - string:
70 name: KEYPAIR_NAME
71 default: 'keypair-nordix-cicd-k8-calico-onap-sdc-master'
72 description: 'Keypair to create and use'
73 - string:
74 name: HEAT_ENVIRONMENT_FILENAME
75 default: 'heat-environment-city-ubuntu1804-sdc.yaml'
76 description: 'Heat environment file to use'
77 - string:
78 name: EXECUTION_MODE
79 default: 'online-deployment'
80 description: 'Engine execution mode - could be online-deployment or offline-deployment'
81 - string:
82 name: ENGINE_VERSION
83 default: 'master'
84 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
85 - string:
86 name: ENGINE_REFSPEC
87 default: 'master'
88 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
89 - string:
90 name: DEPLOY_SCENARIO_VERSION
91 default: 'master'
92 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
93 - string:
94 name: DEPLOY_SCENARIO_REFSPEC
95 default: 'master'
96 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
97 - string:
98 name: POD_NAME
99 default: 'none'
100 description: 'Development purposes only! Set to none for disabling test results DB reporting.'
101 - string:
102 name: TEST_TYPE
103 default: 'oom-healthcheck'
104 description: 'Test type to run. Could be oom-healthcheck or onap-healthcheck'
105 - string:
106 name: NORDIX_ARM_REPO_URL
107 default: 'https://artifactory.nordix.org/artifactory'
108 description: 'URL to Nordix Artifactory'
109 - string:
110 name: NORDIX_HARBOR_REPO_URL
111 default: 'registry.nordix.org'
112 description: 'URL to Nordix Harbor'
113 - string:
114 name: XTESTING_REPO_URL
115 default: 'https://gerrit.nordix.org/opnfv/xtesting-onap.git'
116 description: 'URL to Nordix xtesting-onap repository'
117 - string:
118 name: ENGINE_ANSIBLE_PARAMS
119 default: ''
120 description: 'Extra parameters that can be added when run the play books.'
121
122# vim: set ts=2 sw=2 expandtab: