Skip to content

Commit 51411a7

Browse files
authored
Merge branch 'main' into perf_test
2 parents ae6c726 + 6ace72a commit 51411a7

File tree

24 files changed

+532
-94
lines changed

24 files changed

+532
-94
lines changed

.github/workflows/ci-changes.yml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
name: CI Changes
2+
on:
3+
workflow_call:
4+
outputs:
5+
core:
6+
value: ${{ jobs.filter.outputs.core }}
7+
dashboard:
8+
value: ${{ jobs.filter.outputs.dashboard }}
9+
website:
10+
value: ${{ jobs.filter.outputs.website }}
11+
docs:
12+
value: ${{ jobs.filter.outputs.docs }}
13+
helm:
14+
value: ${{ jobs.filter.outputs.helm }}
15+
e2e:
16+
value: ${{ jobs.filter.outputs.e2e }}
17+
ci:
18+
value: ${{ jobs.filter.outputs.ci }}
19+
docker:
20+
value: ${{ jobs.filter.outputs.docker }}
21+
make:
22+
value: ${{ jobs.filter.outputs.make }}
23+
24+
jobs:
25+
filter:
26+
runs-on: ubuntu-latest
27+
outputs:
28+
core: ${{ steps.changes.outputs.core }}
29+
dashboard: ${{ steps.changes.outputs.dashboard }}
30+
website: ${{ steps.changes.outputs.website }}
31+
docs: ${{ steps.changes.outputs.docs }}
32+
helm: ${{ steps.changes.outputs.helm }}
33+
e2e: ${{ steps.changes.outputs.e2e }}
34+
ci: ${{ steps.changes.outputs.ci }}
35+
docker: ${{ steps.changes.outputs.docker }}
36+
make: ${{ steps.changes.outputs.make }}
37+
steps:
38+
- uses: actions/checkout@v4
39+
with:
40+
fetch-depth: 0
41+
- id: changes
42+
uses: dorny/paths-filter@v3
43+
with:
44+
token: ${{ github.token }}
45+
filters: |
46+
core:
47+
- 'src/**'
48+
- 'candle-binding/**'
49+
- 'bench/**'
50+
- 'config/**'
51+
- 'scripts/**'
52+
- 'examples/**'
53+
- 'e2e/**'
54+
- 'tools/**'
55+
- 'go.mod'
56+
- 'go.sum'
57+
- 'Cargo.toml'
58+
- 'Cargo.lock'
59+
- 'pyproject.toml'
60+
- 'e2e-tests/llm-katan/**'
61+
dashboard:
62+
- 'dashboard/**'
63+
website:
64+
- 'website/**'
65+
docs:
66+
- 'docs/**'
67+
- '**/*.md'
68+
- '**/*.mdx'
69+
helm:
70+
- 'deploy/helm/**'
71+
e2e:
72+
- 'e2e-tests/**'
73+
- 'e2e/**'
74+
- 'scripts/quickstart.sh'
75+
- 'deploy/docker-compose/**'
76+
- 'deploy/kubernetes/**'
77+
- 'deploy/kserve/**'
78+
- 'deploy/openshift/**'
79+
ci:
80+
- '.github/workflows/**'
81+
docker:
82+
- 'Dockerfile*'
83+
- 'docker/**'
84+
- 'docker-compose*'
85+
- 'deploy/docker-compose/**'
86+
make:
87+
- 'Makefile'
88+
- 'tools/make/**'

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ on:
2929
- "src/**"
3030
- "e2e-tests/llm-katan/**"
3131

32+
concurrency:
33+
group: ${{ github.workflow }}-${{ github.ref }}
34+
cancel-in-progress: true
35+
3236
jobs:
3337
# Build job for multi-architecture Docker images
3438
build_multiarch:

.github/workflows/docker-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
tags:
66
- 'v*' # Triggers on version tags like v1.0.0, v2.1.3, etc.
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
build_and_push_extproc:
1014
if: github.repository == 'vllm-project/semantic-router'

.github/workflows/integration-test-docker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
- '**/*.md'
1616
workflow_dispatch: # Allow manual triggering
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1822
jobs:
1923
test-quickstart:
2024
if: github.repository == 'vllm-project/semantic-router'

.github/workflows/integration-test-dynamic-config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
- '**/*.md'
1616
workflow_dispatch: # Allow manual triggering
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1822
jobs:
1923
integration-test:
2024
runs-on: ubuntu-latest

.github/workflows/integration-test-helm.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
- '**/*.md'
1616
workflow_dispatch:
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1822
env:
1923
HELM_VERSION: v3.14.0
2024
KIND_VERSION: v0.22.0

.github/workflows/integration-test-k8s.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
- '**/*.md'
1616
workflow_dispatch: # Allow manual triggering
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1822
jobs:
1923
integration-test:
2024
runs-on: ubuntu-latest

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
branches: [main]
88
workflow_dispatch: # Allow manual triggering
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
pre-commit:
1216
if: github.repository == 'vllm-project/semantic-router'

.github/workflows/precommit-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
paths:
99
- 'Dockerfile.precommit'
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
1115
jobs:
1216
build_and_push:
1317
if: github.repository == 'vllm-project/semantic-router'

.github/workflows/publish-crate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- 'v*' # Triggers on version tags like v1.0.0, v2.1.3, etc.
77
workflow_dispatch: # Allow manual triggering
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
publish:
1115
if: github.repository == 'vllm-project/semantic-router'

0 commit comments

Comments
 (0)