Skip to content

Commit

Permalink
feat: add CI with Monokle Action
Browse files Browse the repository at this point in the history
  • Loading branch information
WitoDelnat committed Oct 13, 2022
1 parent 5f3b7cf commit 8520ea0
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
name: Test Kubernetes
on: [push]

jobs:
validate_job:
runs-on: ubuntu-latest
name: Validate Monokle resources
permissions:
security-events: write
name: Validate with Monokle
steps:
- name: Validate
id: validate
uses: kubeshop/monokle-action@v0.1.0
- id: checkout
uses: actions/checkout@master
- id: bake
uses: azure/k8s-bake@v2.2
with:
milliseconds: "350"
renderEngine: "kustomize"
kustomizationPath: "./kustomize-happy-cms/overlays/local"
- id: validate
uses: kubeshop/monokle-action@v0.1.4
with:
path: ${{ steps.bake.outputs.manifestsBundle }}
- id: upload-sarif
if: always()
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.validate.outputs.sarif }}

0 comments on commit 8520ea0

Please sign in to comment.