engine: Create job skeleton for release jobs
[infra/cicd.git] / jjb / engine / 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: 'engine-verify-tox-macro'
26     builders:
27       - shell:
28           !include-raw: ./scripts/tox.sh
29
30
31 - builder:
32     name: 'engine-generate-ssh-keypair-macro'
33     builders:
34       - shell:
35           !include-raw: ./scripts/generate-ssh-keypair.sh
36
37 - builder:
38     name: 'engine-packaging-macro'
39     builders:
40       - shell:
41           !include-raw: ./scripts/package.sh
42
43 - builder:
44     name: 'engine-upload-artifact-macro'
45     builders:
46       - shell:
47           !include-raw: ./scripts/upload-artifact.sh
48
49 - builder:
50     name: 'engine-download-artifact-macro'
51     builders:
52       - shell:
53           !include-raw: ./scripts/download-artifact.sh
54
55 - builder:
56     name: 'engine-deploy-macro'
57     builders:
58       - shell:
59           !include-raw: ./scripts/deploy.sh
60
61 - builder:
62     name: 'engine-test-macro'
63     builders:
64       - shell:
65           !include-raw: ./scripts/test.sh
66
67 - builder:
68     name: 'engine-delete-stack-macro'
69     builders:
70       - shell:
71           !include-raw: ./scripts/delete-heat-stack.sh
72
73 - builder:
74     name: 'engine-wait-pkg-mgr-macro'
75     builders:
76       - shell:
77           !include-raw: ./scripts/wait-for-pkg-manager.sh
78 - builder:
79     name: 'engine-generate-job-metadata-macro'
80     builders:
81       - shell:
82           !include-raw: ./scripts/generate-job-metadata.sh
83