-
Notifications
You must be signed in to change notification settings - Fork 115
121 lines (116 loc) · 5.55 KB
/
post-merge.yml
File metadata and controls
121 lines (116 loc) · 5.55 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
---
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
name: Post-Merge CI Pipeline
on: # yamllint disable-line rule:truthy
push:
branches:
- main
- release-*
workflow_dispatch:
permissions:
contents: read # needed for actions/checkout
pull-requests: read # needed for gh pr list
issues: write # needed to post PR comment
jobs:
filter:
runs-on: ubuntu-latest
outputs:
dlstreamer-pipeline-server_changed: ${{ steps.filter.outputs.dlstreamer-pipeline-server }}
document-ingestion_changed: ${{ steps.filter.outputs.document-ingestion }}
model-registry_changed: ${{ steps.filter.outputs.model-registry }}
object-store_changed: ${{ steps.filter.outputs.object-store }}
chat-question-and-answer_changed: ${{ steps.filter.outputs.chat-question-and-answer }}
visual-pipeline-platform-tool_changed: ${{ steps.filter.outputs.visual-pipeline-platform-tool }}
chat-question-and-answer-core_changed: ${{ steps.filter.outputs.chat-question-and-answer-core }}
steps:
- uses: actions/checkout@v4
- name: Set paths filter
id: filter
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50
with:
filters: |
dlstreamer-pipeline-server:
- 'microservices/dlstreamer-pipeline-server/docs**'
document-ingestion:
- 'microservices/document-ingestion/docs**'
model-registry:
- 'microservices/model-registry/docs**'
object-store:
- 'microservices/object-store/docs**'
chat-question-and-answer:
- 'sample-applications/chat-question-and-answer/docs**'
visual-pipeline-platform-tool:
- 'tools/visual-pipeline-and-platform-evaluation-tool/docs**'
chat-question-and-answer-core:
- 'sample-applications/chat-question-and-answer-core/docs**'
build_dlstreamer-pipeline-server:
needs: filter
if: ${{ needs.filter.outputs.dlstreamer-pipeline-server_changed == 'true' }}
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
secrets:
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }}
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: microservices/dlstreamer-pipeline-server
build_document-ingestion:
needs: filter
if: ${{ needs.filter.outputs.document-ingestion_changed == 'true' }}
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
secrets:
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }}
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: microservices/document-ingestion
build_model-registry:
needs: filter
if: ${{ needs.filter.outputs.model-registry_changed == 'true' }}
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
secrets:
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }}
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: microservices/model-registry
build_object-store:
needs: filter
if: ${{ needs.filter.outputs.object-store_changed == 'true' }}
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
secrets:
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }}
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: microservices/object-store
build_chat-question-and-answer:
needs: filter
if: ${{ needs.filter.outputs.chat-question-and-answer_changed == 'true' }}
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
secrets:
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }}
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: sample-applications/chat-question-and-answer
build_visual-pipeline-platform-tool:
needs: filter
if: ${{ needs.filter.outputs.visual-pipeline-platform-tool_changed == 'true' }}
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
secrets:
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }}
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: tools/visual-pipeline-and-platform-evaluation-tool
build_chat-question-and-answer-core:
needs: filter
if: ${{ needs.filter.outputs.chat-question-and-answer-core_changed == 'true' }}
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
secrets:
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }}
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: sample-applications/chat-question-and-answer-core