blob: f6ea614def64a632dfaeae62558d4d04ab763eb3 [file] [log] [blame]
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +02001---
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
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020022- parameter:
23 name: 'onap-parameter-macro'
24 parameters:
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020025 - string:
26 name: PROVISIONER_TYPE
Fatih Degirmenciaca27a62019-07-30 21:10:32 +020027 default: 'heat'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020028 description: 'Provisioner to use for provisioning nodes'
29 - string:
30 name: INSTALLER_TYPE
Fatih Degirmenciaca27a62019-07-30 21:10:32 +020031 default: 'kubespray'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020032 description: 'Installer to use for deploying the scenario'
33 - string:
34 name: DEPLOY_SCENARIO
Fatih Degirmenci3473f6f2019-08-22 17:37:34 +000035 default: 'onap-nofeature-noha'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020036 description: 'Scenario to deploy and test'
37 - string:
38 name: DEPLOY_TYPE
Fatih Degirmenciaca27a62019-07-30 21:10:32 +020039 default: 'cloud'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020040 description: 'Type of the deployment'
41 - string:
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020042 name: TEST_TYPE
43 default: 'oom-healthcheck'
44 description: 'Test type to run. Could be oom-healthcheck or onap-healthcheck'
45 - string:
Fatih Degirmencie57cd6a2019-10-22 09:56:35 +020046 name: NORDIX_ARM_REPO_URL
47 default: 'https://artifactory.nordix.org/artifactory'
48 description: 'URL to Nordix Artifactory'
49 - string:
50 name: NORDIX_HARBOR_REPO_URL
51 default: 'registry.nordix.org'
52 description: 'URL to Nordix Harbor'
53 - string:
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020054 name: XTESTING_REPO_URL
55 default: 'https://gerrit.nordix.org/opnfv/xtesting-onap.git'
56 description: 'URL to Nordix xtesting-onap repository'
57 - string:
58 name: ENGINE_ANSIBLE_PARAMS
59 default: ''
60 description: 'Extra parameters that can be added when run the play books.'
61 - string:
62 name: CLEANUP
63 default: 'true'
64 description: 'Cleanup leftovers of the previous run'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020065- builder:
66 name: 'onap-deploy-macro'
67 builders:
68 - shell:
69 !include-raw: ./wait-for-pkg-manager.sh
70 - shell:
71 !include-raw: ./onap-deploy.sh
72
73- builder:
Fatih Degirmenci76c4bd92019-10-15 19:42:20 +020074 name: 'oom-hc-macro'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020075 builders:
76 - shell:
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020077 !include-raw: ./oom-healthcheck.sh
78
79- builder:
80 name: 'onap-healthcheck-macro'
81 builders:
82 - shell:
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020083 !include-raw: ./onap-healthcheck.sh
84
85- builder:
86 name: 'promote-onap-macro'
87 builders:
88 - shell:
89 !include-raw: ./promote-onap.sh
90
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020091# vim: set ts=2 sw=2 expandtab: