diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3eafa944..74f0fece 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ on: env: # Common versions GO_VERSION: '1.22.4' - GOLANGCI_VERSION: 'v1.56.1' + GOLANGCI_VERSION: 'v1.61.0' DOCKER_BUILDX_VERSION: 'v0.10.0' # Common users. We can't run a step 'if secrets.AWS_USR != ""' but we can run @@ -178,7 +178,7 @@ jobs: submodules: true - name: Run Trivy vulnerability scanner in fs mode - uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # 0.12.0 + uses: aquasecurity/trivy-action@0.28.0 with: scan-type: 'fs' ignore-unfixed: true @@ -295,7 +295,7 @@ jobs: BUILD_ARGS: "--load" - name: Run E2E Tests - run: make e2e USE_HELM3=true + run: make e2e USE_HELM3=true USE_HELM=true publish-artifacts: runs-on: ubuntu-22.04 diff --git a/Makefile b/Makefile index 35277025..cc6d2407 100644 --- a/Makefile +++ b/Makefile @@ -108,6 +108,15 @@ cobertura: manifests: @$(WARN) Deprecated. Please run make generate instead. +# integration tests +e2e.run: test-integration + +# Run integration tests. +test-integration: $(KIND) $(KUBECTL) $(UP) $(HELM) + @$(INFO) running integration tests using kind $(KIND_VERSION) + @KIND_NODE_IMAGE_TAG=${KIND_NODE_IMAGE_TAG} $(ROOT_DIR)/cluster/local/integration_tests.sh || $(FAIL) + @$(OK) integration tests passed + # Update the submodules, such as the common build scripts. submodules: @git submodule sync