Migrate helm chart from archived helm charts repo. (#241)

* Migrate helm chart from archived helm charts repo. Add github action which generates helm chart releases.

Signed-off-by: Adam Hamsik <adam.hamsik@lablabs.io>

* Add helm chart repository documentation

Signed-off-by: Adam Hamsik <adam.hamsik@lablabs.io>
This commit is contained in:
Adam Hamsik 2020-11-18 21:41:20 +01:00 committed by GitHub
parent af7e7e19e2
commit bfba43007a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 1386 additions and 0 deletions

29
.github/workflows/lint-test.yaml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run chart-testing (lint)
id: lint
uses: helm/chart-testing-action@v1.1.0
with:
command: lint
config: ct.yaml
- name: Create kind cluster
uses: helm/kind-action@v1.0.0
if: steps.lint.outputs.changed == 'true'
- name: Run chart-testing (install)
uses: helm/chart-testing-action@v1.1.0
with:
command: install
config: ct.yaml

38
.github/workflows/release.yaml vendored Normal file
View file

@ -0,0 +1,38 @@
name: Release Charts
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
run: |
curl -fsSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
- name: Add dependency chart repos
run: |
helm repo add stable https://charts.helm.sh/stable
helm repo add incubator https://charts.helm.sh/incubator
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0
# with:
# charts_dir: kubernetes/charts/coredns
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"