Skip to content

Commit b6f158c

Browse files
authored
Merge branch 'main' into perf_test
2 parents fcedc2b + 90c7cda commit b6f158c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2289
-190
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: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@ 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:
35-
if: github.repository == 'vllm-project/semantic-router'
39+
if: github.repository == 'vllm-project/semantic-router' && !github.event.pull_request.draft
3640
runs-on: ubuntu-latest
3741
permissions:
3842
contents: read

.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/helm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Publish Helm Chart
22

33
on:
44
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
56
branches:
67
- main
78
paths:
@@ -22,6 +23,7 @@ env:
2223
jobs:
2324
validate-and-package:
2425
name: Validate and Package
26+
if: ${{ !github.event.pull_request.draft }}
2527
runs-on: ubuntu-latest
2628
permissions:
2729
contents: read

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Integration Test [Docker Compose]
22

33
on:
44
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
56
branches:
67
- main
78
paths-ignore:
@@ -15,9 +16,13 @@ on:
1516
- '**/*.md'
1617
workflow_dispatch: # Allow manual triggering
1718

19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
22+
1823
jobs:
1924
test-quickstart:
20-
if: github.repository == 'vllm-project/semantic-router'
25+
if: github.repository == 'vllm-project/semantic-router' && !github.event.pull_request.draft
2126
runs-on: ubuntu-latest
2227
timeout-minutes: 30
2328

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Integration Test [Dynamic Config]
22

33
on:
44
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
56
branches:
67
- main
78
paths-ignore:
@@ -15,8 +16,13 @@ on:
1516
- '**/*.md'
1617
workflow_dispatch: # Allow manual triggering
1718

19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
22+
1823
jobs:
1924
integration-test:
25+
if: ${{ !github.event.pull_request.draft }}
2026
runs-on: ubuntu-latest
2127
timeout-minutes: 180
2228

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@ on:
88
- 'website/**'
99
- '**/*.md'
1010
pull_request:
11+
types: [opened, synchronize, reopened, ready_for_review]
1112
branches:
1213
- main
1314
paths-ignore:
1415
- 'website/**'
1516
- '**/*.md'
1617
workflow_dispatch:
1718

19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
22+
1823
env:
1924
HELM_VERSION: v3.14.0
2025
KIND_VERSION: v0.22.0
@@ -26,6 +31,7 @@ jobs:
2631
# Lint and validate Helm chart
2732
lint-chart:
2833
name: Lint Helm Chart
34+
if: ${{ !github.event.pull_request.draft }}
2935
runs-on: ubuntu-latest
3036
steps:
3137
- name: Checkout code

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Integration Test [Kubernetes]
22

33
on:
44
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
56
branches:
67
- main
78
paths-ignore:
@@ -15,14 +16,19 @@ on:
1516
- '**/*.md'
1617
workflow_dispatch: # Allow manual triggering
1718

19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
22+
1823
jobs:
1924
integration-test:
25+
if: ${{ !github.event.pull_request.draft }}
2026
runs-on: ubuntu-latest
2127
timeout-minutes: 75
2228
strategy:
2329
fail-fast: false # Continue testing other profiles even if one fails
2430
matrix:
25-
profile: [ai-gateway, aibrix, routing-strategies, llm-d, istio]
31+
profile: [ai-gateway, aibrix, routing-strategies, llm-d, istio, production-stack]
2632

2733
steps:
2834
- name: Check out the repo
@@ -71,6 +77,17 @@ jobs:
7177
run: |
7278
make build-e2e
7379
80+
- name: Free up disk space
81+
run: |
82+
# Remove unnecessary toolchains to free ~25GB disk space
83+
# This helps prevent "no space left on device" errors
84+
echo "Disk before cleanup:"
85+
df -h /
86+
# Note: Do NOT remove $AGENT_TOOLSDIRECTORY - it contains Go/Rust from setup actions
87+
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost /usr/local/lib/android /opt/hostedtoolcache/CodeQL || true
88+
echo "Disk after cleanup:"
89+
df -h /
90+
7491
- name: Run Integration E2E tests (${{ matrix.profile }})
7592
id: e2e-test
7693
run: |

.github/workflows/owner-notification.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Owner Notification
22

33
on:
44
pull_request_target:
5-
types: [assigned, opened, reopened, synchronize]
5+
types: [assigned, opened, reopened, synchronize, ready_for_review]
66

77
jobs:
88
notify-owners:
9-
if: ${{ github.repository == 'vllm-project/semantic-router' }}
9+
if: ${{ github.repository == 'vllm-project/semantic-router' && !github.event.pull_request.draft }}
1010
runs-on: ubuntu-latest
1111
permissions:
1212
contents: read

.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'

0 commit comments

Comments
 (0)