Skip to content

Commit

Permalink
chore: lint helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Dec 18, 2023
1 parent 6b389c2 commit 0fe26d1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,3 +244,22 @@ jobs:
name: Lint PWA
working-directory: pwa
run: pnpm lint

# Lint HELM
-
name: Cache Helm Dependencies
uses: actions/cache@v3
with:
path: helm/api-platform/charts/
key: ${{ runner.os }}-helm-dependencies-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-helm-dependencies-
-
name: Build Helm Dependencies
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami/
helm repo add stable https://charts.helm.sh/stable/
helm dependency build ./helm/api-platform
-
name: Lint Helm
run: helm lint ./helm/api-platform/
4 changes: 0 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,12 @@ jobs:
key: ${{ runner.os }}-helm-dependencies-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-helm-dependencies-
# https://github.com/helm/helm/issues/8036
-
name: Build Helm Dependencies
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami/
helm repo add stable https://charts.helm.sh/stable/
helm dependency build ./helm/api-platform
-
name: Lint Helm
run: helm lint ./helm/api-platform/
# Release name MUST start with a letter
-
name: Deploy
Expand Down

0 comments on commit 0fe26d1

Please sign in to comment.