initial structure
This commit is contained in:
commit
25a3b4ae26
|
|
@ -0,0 +1,27 @@
|
||||||
|
name: Lint and Test Charts
|
||||||
|
|
||||||
|
on: pull_request
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Run chart-testing (lint)
|
||||||
|
id: lint
|
||||||
|
uses: helm/chart-testing-action@v1.0.0-alpha.3
|
||||||
|
with:
|
||||||
|
command: lint
|
||||||
|
|
||||||
|
- name: Create kind cluster
|
||||||
|
uses: helm/kind-action@v1.0.0-alpha.3
|
||||||
|
with:
|
||||||
|
install_local_path_provisioner: true
|
||||||
|
if: steps.lint.outputs.changed == 'true'
|
||||||
|
|
||||||
|
- name: Run chart-testing (install)
|
||||||
|
uses: helm/chart-testing-action@v1.0.0-alpha.3
|
||||||
|
with:
|
||||||
|
command: install
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
name: Release Charts
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Configure Git
|
||||||
|
run: |
|
||||||
|
git config user.name "$GITHUB_ACTOR"
|
||||||
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||||
|
# See https://github.com/helm/chart-releaser-action/issues/6
|
||||||
|
- name: Install Helm
|
||||||
|
run: |
|
||||||
|
curl -sSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get
|
||||||
|
chmod 700 get_helm.sh
|
||||||
|
./get_helm.sh
|
||||||
|
helm init --client-only
|
||||||
|
- name: Add dependency chart repos
|
||||||
|
run: |
|
||||||
|
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
|
||||||
|
helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
|
||||||
|
- name: Run chart-releaser
|
||||||
|
uses: helm/chart-releaser-action@v1.0.0-alpha.2
|
||||||
|
env:
|
||||||
|
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2020 Christian Kotzbauer
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Helm Charts
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Add the repo:
|
||||||
|
|
||||||
|
```
|
||||||
|
helm repo add code-chris https://code-chris.github.io/helm-charts
|
||||||
|
```
|
||||||
|
|
||||||
|
## Charts
|
||||||
|
|
||||||
|
- [cadvisor](https://github.com/code-chris/helm-charts/tree/master/charts/cadvisor)
|
||||||
|
- [prometheus-blackbox-exporter](https://github.com/code-chris/helm-charts/tree/master/charts/prometheus-blackbox-exporter)
|
||||||
|
- [prometheus-msteams](https://github.com/code-chris/helm-charts/tree/master/charts/prometheus-msteams)
|
||||||
Loading…
Reference in New Issue