Skip to content

Commit eaef057

Browse files
committed
Feat: Add chart CI
Signed-off-by: Omer Aplatony <[email protected]>
1 parent ffbcb54 commit eaef057

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/chart-ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Test Helm Chart
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'dist/chart/**'
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out source repository
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Helm
16+
uses: azure/[email protected]
17+
with:
18+
version: v3.17.0
19+
20+
- uses: actions/[email protected]
21+
with:
22+
python-version: '3.x'
23+
check-latest: true
24+
25+
- name: Set up chart-testing
26+
uses: helm/[email protected]
27+
28+
- name: Run chart-testing (lint)
29+
working-directory: ./dist/chart
30+
run: ct lint
31+
32+
- name: Create kind cluster
33+
uses: helm/[email protected]
34+
35+
- name: Install kubectl
36+
uses: azure/setup-kubectl@v4
37+
38+
- name: Install dependencies # TODO: use main dependency and not release one
39+
run: |
40+
kubectl create -f https://github.com/vllm-project/aibrix/releases/download/v0.3.0/aibrix-dependency-v0.3.0.yaml
41+
42+
- name: Chart test
43+
working-directory: ./dist/chart
44+
run: |
45+
kubectl create namespace aibrix-system
46+
ct install --chart-dirs . --charts . --namespace aibrix-system

0 commit comments

Comments
 (0)