Skip to content

[bot] [main] Automated dependencies update #852

[bot] [main] Automated dependencies update

[bot] [main] Automated dependencies update #852

Workflow file for this run

name: Go
on:
- push
env:
golang-version: "1.18"
kind-version: "v0.14.0"
jobs:
config-generation:
runs-on: ubuntu-latest
name: Default config generation check
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.golang-version }}
- run: cd installer && make generate && git diff --exit-code
e2e-tests:
name: E2E tests
runs-on: ubuntu-latest
strategy:
matrix:
kind-image:
- "kindest/node:v1.24.0"
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-go@v2
with:
go-version: ${{ env.golang-version }}
- name: Start KinD
uses: engineerd/[email protected]
with:
version: ${{ env.kind-version }}
image: ${{ matrix.kind-image }}
wait: 300s
config: .github/workflows/kind/config.yml
- name: Wait for cluster to finish bootstraping
run: kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=300s
- name: Create monitoring-satellite
run: |
make generate
./hack/deploy-crds.sh
cd installer && make apply-satellite
- name: Run tests
run: |
export KUBECONFIG="${HOME}/.kube/config"
make test-e2e