-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from qpoint-io/marc-barry/auto-deploy
Auto release updated charts and update to Qpoint v0.5.16.
- Loading branch information
Showing
6 changed files
with
66 additions
and
59 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: PR Validation | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'charts/**' | ||
|
||
jobs: | ||
lint-charts: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Fetch all history for all branches | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v4 | ||
|
||
- name: Identify Changed Charts | ||
id: changed_charts | ||
run: | | ||
git fetch origin ${{ github.base_ref }} | ||
CHANGED_CHARTS=$(git diff --name-only origin/${{ github.base_ref }} --diff-filter=ACDMRT | grep '^charts/' | awk -F/ '{print $2}' | uniq | tr '\n' ' ') | ||
echo "Changed charts detected: $CHANGED_CHARTS" | ||
echo "CHANGED_CHARTS=$CHANGED_CHARTS" >> $GITHUB_ENV | ||
- name: Lint Changed Charts | ||
if: env.CHANGED_CHARTS != '' | ||
run: | | ||
for chart in $CHANGED_CHARTS; do | ||
CHART_PATH="charts/$chart" | ||
if [ -d "$CHART_PATH" ]; then | ||
echo "Linting $chart..." | ||
helm lint $CHART_PATH | ||
fi | ||
done |
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
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.