-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }}" | ||
|