-
Notifications
You must be signed in to change notification settings - Fork 13
148 lines (135 loc) · 5.33 KB
/
cd-allPackages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
name: CD - All Packages
on:
workflow_dispatch:
inputs:
bal_central_environment:
description: Ballerina Central Environment
type: choice
options:
- STAGE
- DEV
- PROD
required: true
package_name:
description: CD Package
type: choice
options:
- ALL
- BASE
- COMMONS
- HL7V23
- HL7V24
- HL7V25
- HL7V26
- HL7V27
- HL7V28
- HL7V231
- HL7V251
- HL7V271
- V2TOFHIRR4
required: false
ballerina_version:
description: Ballerina Version
type: choice
options:
- 2201.9.0
- 2201.8.5
- 2201.10.2
required: true
jobs:
build_cd-base:
if: github.event.inputs.package_name == 'BASE' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./base
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v2commons:
if: github.event.inputs.package_name == 'COMMONS' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./commons
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v23:
if: github.event.inputs.package_name == 'HL7V23' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./hl7v23
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v24:
if: github.event.inputs.package_name == 'HL7V24' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./hl7v24
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v25:
if: github.event.inputs.package_name == 'HL7V25' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./hl7v25
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v26:
if: github.event.inputs.package_name == 'HL7V26' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./hl7v26
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v27:
if: github.event.inputs.package_name == 'HL7V27' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./hl7v27
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v28:
if: github.event.inputs.package_name == 'HL7V28' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./hl7v28
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v231:
if: github.event.inputs.package_name == 'HL7V231' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./hl7v231
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v251:
if: github.event.inputs.package_name == 'HL7V251' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./hl7v251
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-hl7v271:
if: github.event.inputs.package_name == 'HL7V271' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./hl7v271
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}
build_cd-v2tofhirr4:
if: github.event.inputs.package_name == 'V2TOFHIRR4' || github.event.inputs.package_name == 'ALL'
uses: ./.github/workflows/build-executor.yml
secrets: inherit
with:
working_dir: ./utils/v2tofhirr4
bal_central_environment: ${{ inputs.bal_central_environment }}
ballerina_version: ${{ inputs.ballerina_version }}