-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (31 loc) · 978 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on: [push, pull_request]
jobs:
chart-test:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.10.0
- name: Testing add greptime helm repo
run: |
helm repo add greptime https://greptimeteam.github.io/helm-charts/
helm search repo greptime --devel
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Set up chart testing
uses: helm/[email protected]
- name: Run chart-testing (lint)
run: ct lint --config .github/chart-test.yaml --validate-maintainers=false
- name: Create Kubernetes
uses: helm/[email protected]
with:
wait: 120s
- name: Run chart-testing (install)
run: ct install --config .github/chart-test.yaml