Skip to content

Commit 14b27c9

Browse files
authored
Merge branch 'main' into codex/fix-router-transcription-auth
2 parents 38bea49 + 5a3f13d commit 14b27c9

54 files changed

Lines changed: 6164 additions & 1644 deletions

File tree

Some content is hidden

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

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
groups:
9+
github-actions:
10+
patterns:
11+
- "*"

.github/values-01-2pods-minimal-example.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ servingEngineSpec:
2929
extraArgs: ["--gpu-memory-utilization", "0.4"]
3030

3131
routerSpec:
32-
repository: "localhost:5000/git-act-router"
32+
repository: "git-act-router"
33+
tag: "ci"
3334
imagePullPolicy: "IfNotPresent"
3435
enableRouter: true

.github/values-04-multiple-models.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ servingEngineSpec:
2626
- ReadWriteOnce
2727

2828
routerSpec:
29-
repository: "localhost:5000/git-act-router"
29+
repository: "git-act-router"
30+
tag: "ci"
3031
imagePullPolicy: "IfNotPresent"
3132
enableRouter: true

.github/values-05-secure-vllm.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ servingEngineSpec:
1414
requestGPU: 1
1515

1616
routerSpec:
17-
repository: "localhost:5000/git-act-router"
17+
repository: "git-act-router"
18+
tag: "ci"
1819
imagePullPolicy: "IfNotPresent"
1920
enableRouter: true

.github/values-11-monitoring.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ servingEngineSpec:
1717
requestGPU: 1
1818

1919
routerSpec:
20-
repository: "localhost:5000/git-act-router"
20+
repository: "git-act-router"
21+
tag: "ci"
2122
imagePullPolicy: "IfNotPresent"
2223
enableRouter: true
2324
serviceMonitor:

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout Code
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929

3030
- name: Install uv
31-
uses: astral-sh/setup-uv@v5
31+
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
3232
with:
3333
enable-cache: true
3434
ignore-nothing-to-cache: true

.github/workflows/functionality-helm-chart.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
3030
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
3131
- name: Check out repository code
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
3434
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
3535
- name: Helm uninstall
@@ -61,17 +61,16 @@ jobs:
6161
run: |
6262
cd ${{ github.workspace }}
6363
kubectl config use-context minikube
64-
sudo docker build --build-arg INSTALL_OPTIONAL_DEP=default -t localhost:5000/git-act-router -f docker/Dockerfile .
65-
sudo docker push localhost:5000/git-act-router
6664
sudo sysctl fs.protected_regular=0
67-
minikube image load localhost:5000/git-act-router
65+
eval "$(minikube docker-env)"
66+
docker build --build-arg INSTALL_OPTIONAL_DEP=default -t git-act-router:ci -f docker/Dockerfile .
6867
helm install vllm ./helm -f .github/values-05-secure-vllm.yaml
6968
- name: Validate the installation and send query to the stack
7069
run: |
7170
bash .github/port-forward.sh curl-05-secure-vllm
7271
timeout-minutes: 3
7372
- name: Archive functionality results
74-
uses: actions/upload-artifact@v4
73+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7574
if: always()
7675
with:
7776
name: output-05-secure-vllm
@@ -120,7 +119,7 @@ jobs:
120119
bash .github/port-forward.sh curl-02-two-pods
121120
timeout-minutes: 3
122121
- name: Archive functionality results
123-
uses: actions/upload-artifact@v4
122+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
124123
if: always()
125124
with:
126125
name: output-02-two-pods
@@ -167,7 +166,7 @@ jobs:
167166
bash .github/port-forward.sh curl-04-multiple-models
168167
timeout-minutes: 5
169168
- name: Archive functionality results
170-
uses: actions/upload-artifact@v4
169+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
171170
if: always()
172171
with:
173172
name: output-04-multiple-models
@@ -187,7 +186,7 @@ jobs:
187186
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
188187
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
189188
- name: Check out repository code
190-
uses: actions/checkout@v4
189+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
191190
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
192191
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
193192
- name: Helm uninstall
@@ -219,17 +218,16 @@ jobs:
219218
run: |
220219
cd ${{ github.workspace }}
221220
kubectl config use-context minikube
222-
sudo docker build --build-arg INSTALL_OPTIONAL_DEP=default -t localhost:5000/git-act-router -f docker/Dockerfile .
223-
sudo docker push localhost:5000/git-act-router
224221
sudo sysctl fs.protected_regular=0
225-
minikube image load localhost:5000/git-act-router
222+
eval "$(minikube docker-env)"
223+
docker build --build-arg INSTALL_OPTIONAL_DEP=default -t git-act-router:ci -f docker/Dockerfile .
226224
helm install vllm ./helm -f .github/values-11-monitoring.yaml
227225
- name: Validate the installation and send query to the stack
228226
run: |
229227
bash .github/port-forward.sh curl-06-monitoring
230228
timeout-minutes: 3
231229
- name: Archive functionality results
232-
uses: actions/upload-artifact@v4
230+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
233231
if: always()
234232
with:
235233
name: curl-06-monitoring

.github/workflows/helm-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
- name: Checkout Repository
3030
if: ${{ github.event_name == 'push' || github.event.inputs.release_type == 'helm_only' || github.event.inputs.release_type == 'all' }}
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3232
with:
3333
fetch-depth: 0
3434

@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Run chart-releaser
4747
if: ${{ github.event_name == 'push' || github.event.inputs.release_type == 'helm_only' || github.event.inputs.release_type == 'all' }}
48-
uses: helm/chart-releaser-action@v1.7.0
48+
uses: helm/chart-releaser-action@a0d2dc62c5e491af8ef6ba64a2e02bcf3fb33aa1 # v1.7.0
4949
with:
5050
skip_existing: false
5151
packages_with_index: true
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-latest
6363
steps:
6464
- name: Checkout repository
65-
uses: actions/checkout@v4
65+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6666
with:
6767
fetch-depth: 0
6868

@@ -75,26 +75,26 @@ jobs:
7575
echo "Chart version: ${CHART_VERSION}"
7676
7777
- name: Set up Docker Buildx
78-
uses: docker/setup-buildx-action@v3
78+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
7979

8080
# Login only on main (since PRs must NOT push)
8181
- name: Login to GHCR
82-
uses: docker/login-action@v3
82+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
8383
with:
8484
registry: ghcr.io
8585
username: ${{ github.actor }}
8686
password: ${{ secrets.GITHUB_TOKEN }}
8787

8888
- name: Login to Docker Hub
89-
uses: docker/login-action@v3
89+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
9090
with:
9191
registry: docker.io
9292
username: lmcache
9393
password: ${{ secrets.LMCACHE_DOCKER_SECRET }}
9494

9595
- name: Build and push router Docker image
9696
if: ${{ github.event_name == 'push' || github.event.inputs.release_type == 'router_only' || github.event.inputs.release_type == 'all' }}
97-
uses: docker/build-push-action@v5
97+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
9898
with:
9999
context: .
100100
file: docker/Dockerfile
@@ -110,7 +110,7 @@ jobs:
110110

111111
- name: Build and push CRD controller Docker image
112112
if: ${{ github.event_name == 'push' || github.event.inputs.release_type == 'crd_only' || github.event.inputs.release_type == 'all' }}
113-
uses: docker/build-push-action@v5
113+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
114114
with:
115115
context: operator
116116
file: operator/Dockerfile

.github/workflows/operator-docker-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
fetch-depth: 0
2323

2424
- name: Set up Docker Buildx
25-
uses: docker/setup-buildx-action@v3
25+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
2626

2727
# Login to GitHub Container Registry (GHCR)
2828
- name: Login to GHCR
29-
uses: docker/login-action@v3
29+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
3030
with:
3131
registry: ghcr.io
3232
username: ${{ github.actor }}
3333
password: ${{ secrets.GITHUB_TOKEN }}
3434

3535
# Login to Docker Hub
3636
- name: Login to Docker Hub
37-
uses: docker/login-action@v3
37+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
3838
with:
3939
registry: docker.io
4040
username: lmcache
4141
password: ${{ secrets.LMCACHE_DOCKER_SECRET }}
4242

4343
- name: Build and push image
44-
uses: docker/build-push-action@v5
44+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
4545
with:
4646
context: operator
4747
file: operator/Dockerfile

.github/workflows/operator-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
3030

3131
- name: Check out repository code
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333

3434
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
3535
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
@@ -65,7 +65,7 @@ jobs:
6565
kubectl delete crd vllmrouters.production-stack.vllm.ai || true
6666
6767
- name: Archive test results
68-
uses: actions/upload-artifact@v4
68+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6969
if: always()
7070
with:
7171
name: operator-test-results

0 commit comments

Comments
 (0)