Skip to content

Commit 37cf392

Browse files
committed
ci: add ci to release the helm chart
1 parent ccd66ba commit 37cf392

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release Charts
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
release:
11+
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
12+
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
13+
permissions:
14+
contents: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Add repositories
23+
run: |
24+
for dir in $(ls -d charts/*/); do
25+
helm dependency list $dir 2> /dev/null | grep -v 0.0.0 | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done
26+
done
27+
28+
- name: Configure Git
29+
run: |
30+
git config user.name "$GITHUB_ACTOR"
31+
git config user.email "[email protected]"
32+
33+
- name: Run chart-releaser
34+
uses: helm/[email protected]
35+
env:
36+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

charts/trieve/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This contains
2+
3+
## Dependencies
4+
5+
This helm chart contains multiple dependencies for an easy 1 click install process.
6+
7+
It is recommend that these are installed as seperate releases if you plan on doing this in a prodcution environment.
8+
9+
(It is much harder to migrate the databases if they are in a helm release)
10+
11+
- `qdrant`
12+
- `postgres`
13+
- `clickhouse`
14+
- `redis`
15+
- OIDC provider (`keycloak` is bundled in this chart)
16+
17+
```sh
18+
helm repo add trieve https://devflowinc.github.io/trieve-helm
19+
helm repo update
20+
```

0 commit comments

Comments
 (0)