Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
d4fbf9d3
Unverified
Commit
d4fbf9d3
authored
Jan 23, 2026
by
Tushar Sharma
Committed by
GitHub
Jan 24, 2026
Browse files
ci: add filters for frontend image workflow (#5585)
Signed-off-by:
Tushar Sharma
<
tusharma@nvidia.com
>
parent
912a4d4b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
2 deletions
+49
-2
.github/actions/changed-files/action.yml
.github/actions/changed-files/action.yml
+6
-1
.github/filters.yaml
.github/filters.yaml
+16
-0
.github/workflows/build-frontend-image.yaml
.github/workflows/build-frontend-image.yaml
+27
-1
No files found.
.github/actions/changed-files/action.yml
View file @
d4fbf9d3
...
...
@@ -25,6 +25,9 @@ outputs:
trtllm
:
description
:
'
Whether
trtllm
files
changed'
value
:
${{ steps.filter.outputs.trtllm_any_modified }}
frontend
:
description
:
'
Whether
frontend
files
changed'
value
:
${{ steps.filter.outputs.frontend_any_modified }}
runs
:
using
:
"
composite"
...
...
@@ -78,6 +81,7 @@ runs:
echo "vllm: ${{ steps.filter.outputs.vllm_any_modified }}"
echo "sglang: ${{ steps.filter.outputs.sglang_any_modified }}"
echo "trtllm: ${{ steps.filter.outputs.trtllm_any_modified }}"
echo "frontend: ${{ steps.filter.outputs.frontend_any_modified }}"
echo ""
echo "=== Files Matching Each Filter ==="
echo "docs: ${{ steps.filter.outputs.docs_all_modified_files }}"
...
...
@@ -89,12 +93,13 @@ runs:
echo "vllm: ${{ steps.filter.outputs.vllm_all_modified_files }}"
echo "sglang: ${{ steps.filter.outputs.sglang_all_modified_files }}"
echo "trtllm: ${{ steps.filter.outputs.trtllm_all_modified_files }}"
echo "frontend: ${{ steps.filter.outputs.frontend_all_modified_files }}"
-
name
:
Check for uncovered files
shell
:
bash
run
:
|
# Combine all filter-specific files into one list
COVERED_FILES=$(echo "${{ steps.filter.outputs.docs_all_modified_files }} ${{ steps.filter.outputs.examples_all_modified_files }} ${{ steps.filter.outputs.ignore_all_modified_files }} ${{ steps.filter.outputs.ci_all_modified_files }} ${{ steps.filter.outputs.core_all_modified_files }} ${{ steps.filter.outputs.operator_all_modified_files }} ${{ steps.filter.outputs.deploy_all_modified_files }} ${{ steps.filter.outputs.planner_all_modified_files }} ${{ steps.filter.outputs.vllm_all_modified_files }} ${{ steps.filter.outputs.sglang_all_modified_files }} ${{ steps.filter.outputs.trtllm_all_modified_files }}" | tr ' ' '\n' | grep -v '^$' | sort -u)
COVERED_FILES=$(echo "${{ steps.filter.outputs.docs_all_modified_files }} ${{ steps.filter.outputs.examples_all_modified_files }} ${{ steps.filter.outputs.ignore_all_modified_files }} ${{ steps.filter.outputs.ci_all_modified_files }} ${{ steps.filter.outputs.core_all_modified_files }} ${{ steps.filter.outputs.operator_all_modified_files }} ${{ steps.filter.outputs.deploy_all_modified_files }} ${{ steps.filter.outputs.planner_all_modified_files }} ${{ steps.filter.outputs.vllm_all_modified_files }} ${{ steps.filter.outputs.sglang_all_modified_files }} ${{ steps.filter.outputs.trtllm_all_modified_files
}} ${{ steps.filter.outputs.frontend_all_modified_files
}}" | tr ' ' '\n' | grep -v '^$' | sort -u)
# Get all modified files
ALL_FILES=$(echo "${{ steps.filter.outputs.all_all_modified_files }}" | tr ' ' '\n' | grep -v '^$' | sort -u)
...
...
.github/filters.yaml
View file @
d4fbf9d3
...
...
@@ -7,6 +7,7 @@
# vllm -> vllm build and test
# sglang -> sglang build and test
# trtllm -> trtllm build and test
# frontend -> frontend EPP image build
#
# Filters for coverage only (no CI triggered):
# docs, examples, ignore, planner
...
...
@@ -119,3 +120,18 @@ trtllm:
-
'
examples/backends/trtllm/**'
-
'
components/src/dynamo/trtllm/**'
-
'
container/build_trtllm_wheel.sh'
frontend
:
-
*ci
-
'
.cargo/config.toml'
-
'
lib/**'
-
'
*.toml'
-
'
*.lock'
-
'
container/build.sh'
-
'
container/Dockerfile'
-
'
container/deps/*'
-
'
components/src/dynamo/router/**'
-
'
components/src/dynamo/mocker/**'
-
'
components/src/dynamo/frontend/**'
-
'
components/src/dynamo/common/**'
-
'
deploy/inference-gateway/**'
.github/workflows/build-frontend-image.yaml
View file @
d4fbf9d3
...
...
@@ -35,8 +35,25 @@ concurrency:
cancel-in-progress
:
${{ github.ref != 'refs/heads/main' }}
jobs
:
changed-files
:
runs-on
:
ubuntu-latest
outputs
:
frontend
:
${{ steps.changes.outputs.frontend }}
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
# v4.3.0
with
:
fetch-depth
:
0
-
name
:
Check for changes
id
:
changes
uses
:
./.github/actions/changed-files
with
:
gh_token
:
${{ github.token }}
build-frontend-image
:
name
:
Build Frontend Image (${{ matrix.platform.arch }})
needs
:
changed-files
if
:
needs.changed-files.outputs.frontend == 'true'
strategy
:
fail-fast
:
false
matrix
:
...
...
@@ -102,3 +119,12 @@ jobs:
azure_acr_hostname
:
${{ secrets.AZURE_ACR_HOSTNAME }}
azure_acr_user
:
${{ secrets.AZURE_ACR_USER }}
azure_acr_password
:
${{ secrets.AZURE_ACR_PASSWORD }}
frontend-status-check
:
runs-on
:
ubuntu-latest
needs
:
[
changed-files
,
build-frontend-image
]
if
:
always()
steps
:
-
name
:
"
Check
all
dependent
jobs"
run
:
|
echo '${{ toJson(needs) }}' | jq -e 'to_entries | map(.value.result) | all(. as $result | ["success", "skipped"] | any($result == .))'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment