Switch iDRAC6 chart to k8s-at-home common chart (#27)

* Switch iDRAC6 chart to k8s-at-home common chart base

* Add test values and CT updates

* Update build workflows

* Switch to k3d

* Try and work out testing issue

* Try hard specifying the config

* Move ct to github folder

* Remove timeout

* Correct config file path
This commit is contained in:
2021-12-04 20:17:00 +00:00
committed by GitHub
parent bc3c1fa17b
commit e259457f30
21 changed files with 362 additions and 554 deletions

10
.github/ct.yaml vendored Normal file
View File

@@ -0,0 +1,10 @@
remote: origin
target-branch: master
chart-dirs:
- charts
excluded-charts:
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
- k8s-at-home-libraries=https://library-charts.k8s-at-home.com
- k8s-at-home=https://k8s-at-home.com/charts
- jetstack=https://charts.jetstack.io

View File

@@ -11,10 +11,10 @@ jobs:
with:
fetch-depth: 0
- name: Set up Helm
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.4.0
version: v3.6.3
- uses: actions/setup-python@v2
with:
@@ -32,11 +32,18 @@ jobs:
fi
- name: Run chart-testing (lint)
run: ct lint
run: ct lint --config .github/ct.yaml
- name: Create kind cluster
uses: helm/kind-action@v1.2.0
- name: Create k3d cluster
uses: nolar/setup-k3d-k3s@v1
with:
version: v1.19
if: steps.list-changed.outputs.changed == 'true'
- name: Remove node taints
run: |
kubectl taint --all=true nodes node.cloudprovider.kubernetes.io/uninitialized- || true
- name: Run chart-testing (install)
run: ct install
run: ct install --config .github/ct.yaml
if: steps.list-changed.outputs.changed == 'true'