Skip to content

Commit 6278cff

Browse files
authored
Use shared helm flows (#109)
* Use shared helm flows * include changes to workflow in triggers * update docs with latest helmdocs binary * bump chart for doc change * update docs for vesion bump...
1 parent 0b75339 commit 6278cff

File tree

8 files changed

+18
-191
lines changed

8 files changed

+18
-191
lines changed

.github/ct.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/helm-docs.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/kubeval.sh

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/chart-qa.yml

Lines changed: 9 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,14 @@
1-
name: Lint and Test Charts
1+
name: Lint and Test Chart
2+
23
on:
34
pull_request:
45
paths:
56
- 'charts/**'
6-
concurrency:
7-
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
8-
cancel-in-progress: true
9-
jobs:
10-
lint-chart:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: Checkout
14-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
15-
with:
16-
fetch-depth: 0
17-
- name: Install Helm
18-
uses: azure/[email protected]
19-
with:
20-
version: v3.7.1
21-
- uses: actions/setup-python@b4fe97ecda6b7a5fcd2448cdbf6a8fc76b3bedb0
22-
with:
23-
python-version: 3.7
24-
- name: Install chart-testing
25-
uses: helm/chart-testing-action@09ed88797198755e5031f25be13da255e7e33aad
26-
with:
27-
version: v3.4.0
28-
- name: Run lint
29-
run: ct lint --config .github/ct.yaml
30-
lint-docs:
31-
runs-on: ubuntu-latest
32-
needs: lint-chart
33-
steps:
34-
- name: Checkout
35-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
36-
- name: Run helm-docs
37-
run: .github/helm-docs.sh
38-
kubeval-chart:
39-
runs-on: ubuntu-latest
40-
needs:
41-
- lint-chart
42-
- lint-docs
43-
strategy:
44-
matrix:
45-
k8s:
46-
- v1.18.20
47-
- v1.19.12
48-
- v1.20.8
49-
- v1.21.2
50-
steps:
51-
- name: Checkout
52-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
53-
with:
54-
fetch-depth: 0
55-
- name: Run kubeval
56-
env:
57-
KUBERNETES_VERSION: ${{ matrix.k8s }}
58-
run: .github/kubeval.sh
59-
install-chart:
60-
name: install-chart
61-
runs-on: ubuntu-latest
62-
needs:
63-
- lint-chart
64-
- lint-docs
65-
- kubeval-chart
66-
strategy:
67-
matrix:
68-
k8s:
69-
- v1.18.19
70-
- v1.19.11
71-
- v1.20.7
72-
- v1.21.2
73-
steps:
74-
- name: Checkout
75-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
76-
with:
77-
fetch-depth: 0
78-
79-
- name: Create kind ${{ matrix.k8s }} cluster
80-
uses: helm/kind-action@d08cf6ff1575077dee99962540d77ce91c62387d
81-
with:
82-
node_image: kindest/node:${{ matrix.k8s }}
83-
version: v0.11.1
7+
- '.github/workflows/chart-qa.yml'
848

85-
- name: Install chart-testing
86-
uses: helm/chart-testing-action@09ed88797198755e5031f25be13da255e7e33aad
87-
with:
88-
version: v3.4.0
89-
90-
- name: Run chart install
91-
run: ct install --config .github/ct.yaml
9+
jobs:
10+
test:
11+
name: 'Helm'
12+
uses: curium-rocks/flows/.github/workflows/helm-qa.yml@main
13+
with:
14+
charts_dir: 'charts'
Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Release Charts
1+
name: Release Chart
2+
23
on:
34
push:
45
branches:
@@ -8,17 +9,7 @@ on:
89
- ".github/workflows/chart-release.yml"
910
jobs:
1011
release:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: Checkout
14-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
15-
- name: Configure Git
16-
run: |
17-
git config user.name "$GITHUB_ACTOR"
18-
git config user.email "[email protected]"
19-
- name: Run chart-releaser
20-
uses: helm/chart-releaser-action@main
21-
env:
22-
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
23-
with:
24-
charts_dir: charts
12+
name: 'Helm'
13+
uses: curium-rocks/flows/.github/workflows/helm-release.yml@main
14+
with:
15+
charts_dir: charts

charts/k8s-dev-pod/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: k8s-dev-pod
33
description: A Helm chart for deploying a dev environment inside a K8S cluster that is compatible with Visual Studio Code remote targets
44
type: application
5-
version: 0.1.9
5+
version: 0.1.10
66
appVersion: "0.1.0"
77
maintainers:
88
- name: Bryopsida

charts/k8s-dev-pod/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# k8s-dev-pod
22

3-
![Version: 0.1.9](https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
3+
![Version: 0.1.10](https://img.shields.io/badge/Version-0.1.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
44

55
A Helm chart for deploying a dev environment inside a K8S cluster that is compatible with Visual Studio Code remote targets
66

@@ -23,4 +23,4 @@ A Helm chart for deploying a dev environment inside a K8S cluster that is compat
2323
| passwordLoginEnabled | bool | `true` | |
2424

2525
----------------------------------------------
26-
Autogenerated from chart metadata using [helm-docs v1.7.0](https://github.com/norwoodj/helm-docs/releases/v1.7.0)
26+
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)

0 commit comments

Comments
 (0)