Skip to content

Commit 3b5046a

Browse files
authored
Merge aac132f into 2439f58
2 parents 2439f58 + aac132f commit 3b5046a

File tree

1 file changed

+38
-10
lines changed

1 file changed

+38
-10
lines changed

.github/workflows/build.yaml

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,51 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/[email protected]
13-
14-
- name: Create Kind Cluster
15-
uses: helm/[email protected]
16-
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Create k3s Cluster
17+
uses: debianmaster/[email protected]
18+
with:
19+
version: 'latest'
20+
1721
- name: Create namespace
1822
run: kubectl create ns tesk
1923

20-
- name: Lint chart
21-
run: helm lint
22-
working-directory: charts/tesk
24+
- name: Helm Deps
25+
run: |
26+
for dir in $(ls -d charts/*); do
27+
helm dependency update $dir;
28+
done
29+
30+
- name: Helm Lint
31+
run: |
32+
for dir in $(ls -d charts/*); do
33+
helm lint $dir
34+
done
2335
2436
- name: Apply Helm file
2537
run: helm install -n tesk tesk . -f values.yaml
2638
working-directory: charts/tesk
2739

28-
- name: Sleep for 10 seconds
29-
run: sleep 10
30-
40+
- name: Sleep for 30 seconds
41+
run: sleep 30
42+
3143
- name: Get Helm and k8s
3244
run: helm list -n tesk && kubectl get all -n tesk
45+
46+
- name: curl URL
47+
run: curl localhost -vL
48+
49+
- name: Configure Git
50+
run: |
51+
git config user.name "$GITHUB_ACTOR"
52+
git config user.email "[email protected]"
53+
54+
- name: Run chart-releaser
55+
uses: helm/[email protected]
56+
with:
57+
skip_existing: true
58+
env:
59+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
60+

0 commit comments

Comments
 (0)