-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
cc6272f
commit caeaabb
Showing
3 changed files
with
53 additions
and
39 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
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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
name: 'Lint Helm' | ||
|
||
on: | ||
push: | ||
pull_request: | ||
# push: | ||
# pull_request: | ||
|
||
jobs: | ||
lint: | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- uses: 'actions/checkout@v4' | ||
- uses: 'actions/checkout@v4' | ||
|
||
- name: 'Set up Helm' | ||
run: | | ||
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null | ||
sudo apt-get install apt-transport-https --yes | ||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list | ||
sudo apt-get update | ||
sudo apt-get install helm | ||
- name: 'Set up Helm' | ||
run: | | ||
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null | ||
sudo apt-get install apt-transport-https --yes | ||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list | ||
sudo apt-get update | ||
sudo apt-get install helm | ||
- name: 'Update dependencies' | ||
run: | | ||
#!/bin/bash | ||
- name: 'Update dependencies' | ||
run: | | ||
#!/bin/bash | ||
for chart in ./charts/*; do | ||
cd $chart | ||
helm dependency update | ||
cd - | ||
done; | ||
for chart in ./charts/*; do | ||
cd $chart | ||
helm dependency update | ||
cd - | ||
done; | ||
# Lint Helm charts | ||
- name: 'Lint Helm charts' | ||
run: 'make lint' | ||
# Lint Helm charts | ||
- name: 'Lint Helm charts' | ||
run: 'make lint' |
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
name: 'Test Helm' | ||
|
||
on: | ||
push: | ||
pull_request: | ||
# push: | ||
# pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- uses: 'actions/checkout@v4' | ||
- uses: 'actions/checkout@v4' | ||
|
||
# Set up Helm | ||
- name: 'Set up Helm' | ||
uses: 'azure/setup-helm@v3' | ||
# Set up Helm | ||
- name: 'Set up Helm' | ||
uses: 'azure/setup-helm@v3' | ||
|
||
# Test Helm charts | ||
- name: 'Test helm charts' | ||
run: 'make test' | ||
# Test Helm charts | ||
- name: 'Test helm charts' | ||
run: 'make test' |