blob: 4218645e9fa730fb72d1874f1c3087c1a5ba39bf [file] [log] [blame]
Fatih Degirmenci79e736b2020-03-13 16:24:37 +00001---
2# ============LICENSE_START=======================================================
3# Copyright (C) 2019 Nordix Foundation.
4# ================================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17# SPDX-License-Identifier: Apache-2.0
18# ============LICENSE_END=========================================================
19
20#-------------------------------------------------------------------------------
21# Macros are used to avoid hitting parameter expansion of curly brackets and
22# the need to using include-raw-escape
23#-------------------------------------------------------------------------------
24- builder:
Fatih Degirmenci8d3e6822020-03-19 14:55:23 +000025 name: 'tox-macro'
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000026 builders:
27 - shell:
Fatih Degirmencic4db9952020-03-19 12:46:33 +000028 !include-raw: ./scripts/tox.sh
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000029
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000030- builder:
Fatih Degirmencie4628f62020-04-19 17:58:00 +000031 name: 'generate-sdf-for-change-macro'
32 builders:
33 - shell:
34 !include-raw: ./scripts/generate-sdf-for-change.sh
35
36- builder:
Fatih Degirmenci8d3e6822020-03-19 14:55:23 +000037 name: 'generate-ssh-keypair-macro'
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000038 builders:
39 - shell:
40 !include-raw: ./scripts/generate-ssh-keypair.sh
41
42- builder:
Fatih Degirmenci8d3e6822020-03-19 14:55:23 +000043 name: 'package-macro'
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000044 builders:
45 - shell:
46 !include-raw: ./scripts/package.sh
47
48- builder:
Fatih Degirmenci8d3e6822020-03-19 14:55:23 +000049 name: 'upload-artifact-macro'
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000050 builders:
51 - shell:
52 !include-raw: ./scripts/upload-artifact.sh
53
54- builder:
Fatih Degirmenci21e64e02020-07-29 11:01:14 +000055 name: 'download-deploy-artifact-macro'
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000056 builders:
57 - shell:
Fatih Degirmenci21e64e02020-07-29 11:01:14 +000058 !include-raw: ./scripts/download-deploy-artifact.sh
59
60- builder:
61 name: 'download-functest-artifact-macro'
62 builders:
63 - shell:
64 !include-raw: ./scripts/download-functest-artifact.sh
65
66- builder:
67 name: 'download-yardstick-artifact-macro'
68 builders:
69 - shell:
70 !include-raw: ./scripts/download-yardstick-artifact.sh
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000071
72- builder:
Fatih Degirmenci8d3e6822020-03-19 14:55:23 +000073 name: 'deploy-macro'
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000074 builders:
75 - shell:
76 !include-raw: ./scripts/deploy.sh
77
78- builder:
Fatih Degirmenci299841a2020-03-22 09:04:13 +000079 name: 'functest-macro'
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000080 builders:
81 - shell:
Fatih Degirmenci299841a2020-03-22 09:04:13 +000082 !include-raw: ./scripts/functest.sh
83
84- builder:
85 name: 'yardstick-macro'
86 builders:
87 - shell:
88 !include-raw: ./scripts/yardstick.sh
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000089
90- builder:
Fatih Degirmenci8d3e6822020-03-19 14:55:23 +000091 name: 'delete-stack-macro'
Fatih Degirmenci79e736b2020-03-13 16:24:37 +000092 builders:
93 - shell:
94 !include-raw: ./scripts/delete-heat-stack.sh
Fatih Degirmenci2683ff22020-03-17 16:00:27 +000095
96- builder:
afennerb252d142020-08-11 17:02:41 +010097 name: 'cloud-infra-cleanup-stack-macro'
98 builders:
99 - shell:
100 !include-raw: ./scripts/cleanup-heat-stacks.sh
101
102- builder:
Fatih Degirmenci8d3e6822020-03-19 14:55:23 +0000103 name: 'wait-pkg-mgr-macro'
Fatih Degirmenci2683ff22020-03-17 16:00:27 +0000104 builders:
105 - shell:
106 !include-raw: ./scripts/wait-for-pkg-manager.sh
Fatih Degirmenci299841a2020-03-22 09:04:13 +0000107
Fatih Degirmencic4db9952020-03-19 12:46:33 +0000108- builder:
Fatih Degirmenci299841a2020-03-22 09:04:13 +0000109 name: 'generate-build-metadata-macro'
Fatih Degirmencic4db9952020-03-19 12:46:33 +0000110 builders:
111 - shell:
Fatih Degirmenci299841a2020-03-22 09:04:13 +0000112 !include-raw: ./scripts/generate-build-metadata.sh
113
114- builder:
Fatih Degirmenci459c3482020-06-15 21:15:43 +0000115 name: 'generate-change-metadata-macro'
116 builders:
117 - shell:
118 !include-raw: ./scripts/generate-change-metadata.sh
119
120- builder:
Fatih Degirmenci24eaec52020-07-10 19:47:40 +0000121 name: 'generate-release-metadata-macro'
122 builders:
123 - shell:
124 !include-raw: ./scripts/generate-release-metadata.sh
afennerc20596c2020-07-31 15:15:27 +0100125- builder:
126 name: 'generate-k8sdeployment-environment-macro'
127 builders:
128 - shell:
afennerb252d142020-08-11 17:02:41 +0100129 !include-raw: ./scripts/generate-k8sdeployment-environment.sh
Fatih Degirmenci24eaec52020-07-10 19:47:40 +0000130
131- builder:
Fatih Degirmenci299841a2020-03-22 09:04:13 +0000132 name: 'promote-macro'
133 builders:
134 - shell:
135 !include-raw: ./scripts/promote.sh