Skip to content

Commit

Permalink
make charts check work
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Nov 6, 2024
1 parent 970bd40 commit 1c21428
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/check_charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
with:
version: v3.9.2

# Add DevSeed helm repository
- name: Add DevSeed helm repository
run: helm repo add devseed https://devseed.com/eoapi-k8s/

- uses: actions/setup-python@v5
with:
python-version: 3.7
Expand All @@ -46,13 +50,13 @@ jobs:
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --chart-dirs deployment --target-branch ${{ github.event.repository.default_branch }})
changed=$(ct list-changed --chart-dirs deployment/helm --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
run: ct lint --chart-dirs deployment --target-branch ${{ github.event.repository.default_branch }}
run: ct lint --chart-dirs deployment/helm --target-branch ${{ github.event.repository.default_branch }}

- name: Build container
uses: docker/build-push-action@v6
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ Session.vim
**/charts/*.tgz

.history
.venv/

0 comments on commit 1c21428

Please sign in to comment.