[Snyk] Fix for 7 vulnerabilities #24
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
name: Test Kind Cluster | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "**.jpg" | |
- "**.png" | |
- "**.gif" | |
- "**.svg" | |
- "adr/**" | |
- "docs/**" | |
- "package.json" | |
- "package-lock.json" | |
- "CODEOWNERS" | |
permissions: | |
contents: read | |
# Abort prior jobs in the same workflow / PR | |
concurrency: | |
group: e2e-kind-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | |
- name: Setup golang | |
uses: ./.github/actions/golang | |
- name: Setup NodeJS | |
uses: ./.github/actions/node | |
- name: Build binary and zarf packages | |
uses: ./.github/actions/packages | |
- name: Setup Kind | |
run: | | |
kind delete cluster && kind create cluster | |
kubectl scale deploy -n kube-system coredns --replicas=1 | |
- name: Run tests | |
run: make test-e2e ARCH=amd64 | |
- name: Save logs | |
if: always() | |
uses: ./.github/actions/save-logs |