-
Notifications
You must be signed in to change notification settings - Fork 110
263 lines (245 loc) · 11.6 KB
/
pre-merge.yml
File metadata and controls
263 lines (245 loc) · 11.6 KB
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
---
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
name: Pre-Merge CI Pipeline
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
- release-*
workflow_dispatch:
permissions: {}
jobs:
filter:
permissions:
contents: read # needed for actions/checkout
runs-on: ubuntu-latest
outputs:
hmi-augmented-worker_changed: ${{ steps.filter.outputs.hmi-augmented-worker }}
image-based-video-search_changed: ${{ steps.filter.outputs.image-based-video-search }}
industrial-edge-insights-time-series_changed: ${{ steps.filter.outputs.industrial-edge-insights-time-series }}
industrial-edge-insights-multimodal_changed: ${{ steps.filter.outputs.industrial-edge-insights-multimodal }}
loitering-detection_changed: ${{ steps.filter.outputs.loitering-detection }}
metro-sdk-manager_changed: ${{ steps.filter.outputs.metro-sdk-manager }}
pallet-defect-detection_changed: ${{ steps.filter.outputs.pallet-defect-detection }}
pcb-anomaly-detection_changed: ${{ steps.filter.outputs.pcb-anomaly-detection }}
robotics-ai-suite_changed: ${{ steps.filter.outputs.robotics-ai-suite }}
smart-intersection_changed: ${{ steps.filter.outputs.smart-intersection }}
smart-parking_changed: ${{ steps.filter.outputs.smart-parking }}
visual-search-question-and-answering_changed: ${{ steps.filter.outputs.visual-search-question-and-answering }}
weld-porosity_changed: ${{ steps.filter.outputs.weld-porosity }}
worker-safety-gear-detection_changed: ${{ steps.filter.outputs.worker-safety-gear-detection }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set paths filter
id: filter
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50
with:
filters: |
hmi-augmented-worker:
- 'manufacturing-ai-suite/hmi-augmented-worker/docs/**'
image-based-video-search:
- 'metro-ai-suite/image-based-video-search/docs/**'
industrial-edge-insights-time-series:
- 'manufacturing-ai-suite/industrial-edge-insights-time-series/docs/**'
industrial-edge-insights-multimodal:
- 'manufacturing-ai-suite/industrial-edge-insights-multimodal/docs/**'
loitering-detection:
- 'metro-ai-suite/metro-vision-ai-app-recipe/loitering-detection/docs/**'
metro-sdk-manager:
- 'metro-ai-suite/metro-sdk-manager/docs/**'
pallet-defect-detection:
- 'manufacturing-ai-suite/industrial-edge-insights-vision/apps/pallet-defect-detection/docs/**'
pcb-anomaly-detection:
- 'manufacturing-ai-suite/industrial-edge-insights-vision/apps/pcb-anomaly-detection/docs/**'
robotics-ai-suite:
- 'robotics-ai-suite/docs/**'
smart-intersection:
- 'metro-ai-suite/metro-vision-ai-app-recipe/smart-intersection/docs/**'
smart-parking:
- 'metro-ai-suite/metro-vision-ai-app-recipe/smart-parking/docs/**'
visual-search-question-and-answering:
- 'metro-ai-suite/visual-search-question-and-answering/docs/**'
weld-porosity:
- 'manufacturing-ai-suite/industrial-edge-insights-vision/apps/weld-porosity/docs/**'
worker-safety-gear-detection:
- 'manufacturing-ai-suite/industrial-edge-insights-vision/apps/worker-safety-gear-detection/docs/**'
build_hmi-augmented-worker:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.hmi-augmented-worker_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: manufacturing-ai-suite/hmi-augmented-worker
exclude_patterns: "**user-guide/overview.md"
build_image-based-video-search:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.image-based-video-search_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: metro-ai-suite/image-based-video-search
build_industrial-edge-insights-time-series:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.industrial-edge-insights-time-series_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: manufacturing-ai-suite/industrial-edge-insights-time-series
exclude_patterns: "**/Overview.md"
build_industrial-edge-insights-multimodal:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.industrial-edge-insights-multimodal_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: manufacturing-ai-suite/industrial-edge-insights-multimodal
exclude_patterns: "**/Overview.md"
build_loitering-detection:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.loitering-detection_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: metro-ai-suite/metro-vision-ai-app-recipe/loitering-detection
build_metro-sdk-manager:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.metro-sdk-manager_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: metro-ai-suite/metro-sdk-manager
build_pallet-defect-detection:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.pallet-defect-detection_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: manufacturing-ai-suite/industrial-edge-insights-vision/apps/pallet-defect-detection
exclude_patterns: "**user-guide/Overview.md"
build_pcb-anomaly-detection:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.pcb-anomaly-detection_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: manufacturing-ai-suite/industrial-edge-insights-vision/apps/pcb-anomaly-detection
exclude_patterns: "**user-guide/Overview.md"
build_robotics-ai-suite:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.robotics-ai-suite_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: robotics-ai-suite
simple_mode: false
build_smart-intersection:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.smart-intersection_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: metro-ai-suite/metro-vision-ai-app-recipe/smart-intersection
build_smart-parking:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.smart-parking_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: metro-ai-suite/metro-vision-ai-app-recipe/smart-parking
build_visual-search-question-and-answering:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.visual-search-question-and-answering_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: metro-ai-suite/visual-search-question-and-answering
exclude_patterns: "**user-guide/Overview.md"
build_weld-porosity:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.weld-porosity_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: manufacturing-ai-suite/industrial-edge-insights-vision/apps/weld-porosity
exclude_patterns: "**user-guide/Overview.md"
build_worker-safety-gear-detection:
permissions:
contents: read # needed for actions/checkout
needs: filter
if: ${{ needs.filter.outputs.worker-safety-gear-detection_changed == 'true' }}
uses: ./.github/workflows/build-documentation.yml
secrets:
SYS_EMF_GH_TOKEN: ${{ secrets.SYS_EMF_GH_TOKEN }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: manufacturing-ai-suite/industrial-edge-insights-vision/apps/worker-safety-gear-detection
exclude_patterns: "**user-guide/Overview.md"