Skip to content

Commit

Permalink
Merge aac132f into 2439f58
Browse files Browse the repository at this point in the history
  • Loading branch information
trispera authored Feb 23, 2024
2 parents 2439f58 + aac132f commit 3b5046a
Showing 1 changed file with 38 additions and 10 deletions.
48 changes: 38 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,51 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]

- name: Create Kind Cluster
uses: helm/[email protected]

with:
fetch-depth: 0

- name: Create k3s Cluster
uses: debianmaster/[email protected]
with:
version: 'latest'

- name: Create namespace
run: kubectl create ns tesk

- name: Lint chart
run: helm lint
working-directory: charts/tesk
- name: Helm Deps
run: |
for dir in $(ls -d charts/*); do
helm dependency update $dir;
done
- name: Helm Lint
run: |
for dir in $(ls -d charts/*); do
helm lint $dir
done
- name: Apply Helm file
run: helm install -n tesk tesk . -f values.yaml
working-directory: charts/tesk

- name: Sleep for 10 seconds
run: sleep 10

- name: Sleep for 30 seconds
run: sleep 30
- name: Get Helm and k8s
run: helm list -n tesk && kubectl get all -n tesk

- name: curl URL
run: curl localhost -vL

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
with:
skip_existing: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 3b5046a

Please sign in to comment.