chatqna-core config yaml #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # 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: | |
| 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 }} | |
| time-series-analytics-docs_changed: ${{ steps.filter.outputs.time-series-analytics-docs }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - 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/**' | |
| time-series-analytics-docs: | |
| - 'microservices/time-series-analytics/docs/**' | |
| build_dlstreamer-pipeline-server: | |
| permissions: | |
| contents: read # needed for actions/checkout | |
| needs: filter | |
| if: ${{ needs.filter.outputs.dlstreamer-pipeline-server_changed == 'true' }} | |
| uses: open-edge-platform/orch-ci/.github/workflows/build-documentation.yml@d690355163684f717d02a1e65650b8401670cd9a | |
| 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: | |
| permissions: | |
| contents: read # needed for actions/checkout | |
| needs: filter | |
| if: ${{ needs.filter.outputs.document-ingestion_changed == 'true' }} | |
| uses: open-edge-platform/orch-ci/.github/workflows/build-documentation.yml@d690355163684f717d02a1e65650b8401670cd9a | |
| 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: | |
| permissions: | |
| contents: read # needed for actions/checkout | |
| needs: filter | |
| if: ${{ needs.filter.outputs.model-registry_changed == 'true' }} | |
| uses: open-edge-platform/orch-ci/.github/workflows/build-documentation.yml@d690355163684f717d02a1e65650b8401670cd9a | |
| 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: | |
| permissions: | |
| contents: read # needed for actions/checkout | |
| needs: filter | |
| if: ${{ needs.filter.outputs.object-store_changed == 'true' }} | |
| uses: open-edge-platform/orch-ci/.github/workflows/build-documentation.yml@d690355163684f717d02a1e65650b8401670cd9a | |
| 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: | |
| permissions: | |
| contents: read # needed for actions/checkout | |
| needs: filter | |
| if: ${{ needs.filter.outputs.chat-question-and-answer_changed == 'true' }} | |
| uses: open-edge-platform/orch-ci/.github/workflows/build-documentation.yml@d690355163684f717d02a1e65650b8401670cd9a | |
| 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: | |
| permissions: | |
| contents: read # needed for actions/checkout | |
| needs: filter | |
| if: ${{ needs.filter.outputs.visual-pipeline-platform-tool_changed == 'true' }} | |
| uses: open-edge-platform/orch-ci/.github/workflows/build-documentation.yml@d690355163684f717d02a1e65650b8401670cd9a | |
| 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: | |
| permissions: | |
| contents: read # needed for actions/checkout | |
| needs: filter | |
| if: ${{ needs.filter.outputs.chat-question-and-answer-core_changed == 'true' }} | |
| uses: open-edge-platform/orch-ci/.github/workflows/build-documentation.yml@d690355163684f717d02a1e65650b8401670cd9a | |
| 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 | |
| build_time-series-analytics-docs: | |
| permissions: | |
| contents: read # needed for actions/checkout | |
| needs: filter | |
| if: ${{ needs.filter.outputs.time-series-analytics-docs_changed == 'true' }} | |
| uses: open-edge-platform/orch-ci/.github/workflows/build-documentation.yml@d690355163684f717d02a1e65650b8401670cd9a | |
| 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/time-series-analytics | |
| branch_pattern: '^main$' # TimeSeries Analytics Microservice only exists on 'main' branch | |