Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
  • Loading branch information
eddycharly committed Feb 15, 2024
1 parent d0e552d commit 8d26211
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
path: bin
key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Makefile') }}
- name: Install chainsaw
uses: kyverno/action-install-chainsaw@07b6c986572f2abaf6647c85d37cbecfddc4a6ab # v0.1.3
uses: kyverno/action-install-chainsaw@v0.1.4
- name: Install tools
run: make install-tools
- name: Prepare e2e tests
Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ generate: controller-gen
# end-to-tests
.PHONY: e2e
e2e: chainsaw
chainsaw test --test-dir ./tests/e2e
$(CHAINSAW) test --test-dir ./tests/e2e

# end-to-end-test for testing autoscale
.PHONY: e2e-autoscale
Expand Down Expand Up @@ -248,10 +248,10 @@ e2e-upgrade: undeploy chainsaw
$(CHAINSAW) test --test-dir ./tests/e2e-upgrade

.PHONY: prepare-e2e
prepare-e2e: set-image-controller add-image-targetallocator add-image-opampbridge container container-target-allocator container-operator-opamp-bridge start-kind cert-manager install-metrics-server install-targetallocator-prometheus-crds load-image-all deploy
prepare-e2e: chainsaw set-image-controller add-image-targetallocator add-image-opampbridge container container-target-allocator container-operator-opamp-bridge start-kind cert-manager install-metrics-server install-targetallocator-prometheus-crds load-image-all deploy

.PHONY: prepare-e2e-with-featuregates
prepare-e2e-with-featuregates: enable-operator-featuregates prepare-e2e
prepare-e2e-with-featuregates: chainsaw enable-operator-featuregates prepare-e2e

.PHONY: scorecard-tests
scorecard-tests: operator-sdk
Expand Down Expand Up @@ -371,7 +371,7 @@ KIND_VERSION ?= v0.20.0
ifneq ($(shell which chainsaw),)
CHAINSAW ?= $(shell which chainsaw)
else
CHAINSAW ?= $(LOCALBIN)/bin/chainsaw
CHAINSAW ?= $(LOCALBIN)/chainsaw
endif

.PHONY: install-tools
Expand Down Expand Up @@ -409,7 +409,7 @@ chainsaw: ## Find or download chainsaw
ifeq (, $(shell which chainsaw))
@{ \
set -e ;\
go install github.com/kyverno/chainsaw@v0.1.3 ;\
go install github.com/kyverno/chainsaw@v0.1.4 ;\
}
CHAINSAW ?= $(GOBIN)/chainsaw
else
Expand Down

0 comments on commit 8d26211

Please sign in to comment.