Skip to content

Commit

Permalink
feat(kustomize): try to build overlays during as part of pr validatio…
Browse files Browse the repository at this point in the history
…n workflow
  • Loading branch information
weisdd committed May 19, 2024
1 parent b67e441 commit 2c0a145
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pr-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,14 @@ jobs:
exit 1
fi
- name: Check if overlays can be successfully built
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
for d in deploy/kustomize/overlays/*/ ; do
kustomize build "$d" --load-restrictor LoadRestrictionsNone > /dev/null
done
trivy:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 2c0a145

Please sign in to comment.