9fe9404f64105614c832da38e728616793b99d3d
[infra/cicd.git] / jjb / cloud-infra / engine-macros.yaml
1 ---
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:
25     name: 'tox-macro'
26     builders:
27       - shell:
28           !include-raw: ./scripts/tox.sh
29
30 - builder:
31     name: 'generate-sdf-for-change-macro'
32     builders:
33       - shell:
34           !include-raw: ./scripts/generate-sdf-for-change.sh
35
36 - builder:
37     name: 'generate-ssh-keypair-macro'
38     builders:
39       - shell:
40           !include-raw: ./scripts/generate-ssh-keypair.sh
41
42 - builder:
43     name: 'package-macro'
44     builders:
45       - shell:
46           !include-raw: ./scripts/package.sh
47
48 - builder:
49     name: 'upload-artifact-macro'
50     builders:
51       - shell:
52           !include-raw: ./scripts/upload-artifact.sh
53
54 - builder:
55     name: 'download-deploy-artifact-macro'
56     builders:
57       - shell:
58           !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
71
72 - builder:
73     name: 'deploy-macro'
74     builders:
75       - shell:
76           !include-raw: ./scripts/deploy.sh
77
78 - builder:
79     name: 'functest-macro'
80     builders:
81       - shell:
82           !include-raw: ./scripts/functest.sh
83
84 - builder:
85     name: 'yardstick-macro'
86     builders:
87       - shell:
88           !include-raw: ./scripts/yardstick.sh
89
90 - builder:
91     name: 'delete-stack-macro'
92     builders:
93       - shell:
94           !include-raw: ./scripts/delete-heat-stack.sh
95
96 - builder:
97     name: 'wait-pkg-mgr-macro'
98     builders:
99       - shell:
100           !include-raw: ./scripts/wait-for-pkg-manager.sh
101
102 - builder:
103     name: 'generate-build-metadata-macro'
104     builders:
105       - shell:
106           !include-raw: ./scripts/generate-build-metadata.sh
107
108 - builder:
109     name: 'generate-change-metadata-macro'
110     builders:
111       - shell:
112           !include-raw: ./scripts/generate-change-metadata.sh
113
114 - builder:
115     name: 'generate-release-metadata-macro'
116     builders:
117       - shell:
118           !include-raw: ./scripts/generate-release-metadata.sh
119
120 - builder:
121     name: 'promote-macro'
122     builders:
123       - shell:
124           !include-raw: ./scripts/promote.sh
125