-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
60 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,37 @@ on: | |
- main | ||
|
||
jobs: | ||
test-pre-commit: | ||
release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: azure/setup-helm@v3 | ||
- name: Add helm repo for dependencies | ||
run: | | ||
for dir in $(ls -d charts/*/); do | ||
helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done | ||
done | ||
- run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
mkdir -p public | ||
mv README.md public/index.md | ||
- uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: public | ||
cname: charts.metatype.dev | ||
enable_jekyll: true | ||
- uses: helm/[email protected] | ||
with: | ||
charts_dir: charts | ||
env: | ||
charts_repo_url: https://charts.metatype.dev | ||
skip_existing: true | ||
mark_as_latest: true | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
CR_SKIP_EXISTING: true | ||
CR_OWNER: metatypedev | ||
CR_GIT_REPO: charts | ||
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,30 @@ | ||
# [Metatype](https://github.com/metatypedev/metatype) charts | ||
|
||
- [Typegate](charts/typegate/README.md) | ||
|
||
## Usage | ||
|
||
[Helm](https://helm.sh) must be installed to use the charts. Please refer to | ||
Helm's [documentation](https://helm.sh/docs) to get started. | ||
|
||
Once Helm has been set up correctly, add the repo as follows: | ||
|
||
```shell | ||
helm repo add metatype https://charts.metatype.dev | ||
``` | ||
|
||
If you had already added this repo earlier, run `helm repo update` to retrieve | ||
the latest versions of the packages. You can then run | ||
`helm search repo metatyoe` to see the charts. | ||
|
||
To install the <chart-name> chart: | ||
|
||
```shell | ||
helm install my-<chart-name> metatype/<chart-name> | ||
``` | ||
|
||
To uninstall the chart: | ||
|
||
```shell | ||
helm delete my-<chart-name> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
dependencies: | ||
- name: redis | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 17.0.1 | ||
version: 17.10.1 | ||
- name: common | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 1.16.1 | ||
digest: sha256:e7d37a1d09fa50a250deae8a304e0d17ce05654f100b86b1023f5a4c64b1efa2 | ||
generated: "2022-07-17T14:32:36.890016+02:00" | ||
version: 1.17.1 | ||
digest: sha256:43e2d8608b65bab85da408e910340a8f5e011ad54f8377413b618fc7c83d6047 | ||
generated: "2023-05-04T20:20:57.517615+02:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters