diff --git a/.prow.yaml b/.prow.yaml index 25742b1..4f128e3 100644 --- a/.prow.yaml +++ b/.prow.yaml @@ -125,3 +125,22 @@ presubmits: requests: memory: 4Gi cpu: 2 + + - name: pull-api-syncagent-test-e2e-kcp-0.29 + always_run: true + decorate: true + clone_uri: "https://github.com/kcp-dev/api-syncagent" + labels: + preset-goproxy: "true" + spec: + containers: + - image: ghcr.io/kcp-dev/infra/build:1.24.9-1 + command: + - hack/ci/run-e2e-tests.sh + env: + - name: KCP_VERSION + value: "0.29.0" + resources: + requests: + memory: 4Gi + cpu: 2 diff --git a/Makefile b/Makefile index 95dbbf1..7ced5f3 100644 --- a/Makefile +++ b/Makefile @@ -73,8 +73,14 @@ build-tests: .PHONY: clean clean: - rm -rf $(BUILD_DEST) $(UGET_DIRECTORY) - @echo "Cleaned $(BUILD_DEST) and $(UGET_DIRECTORY)" + rm -rf $(BUILD_DEST) + @echo "Cleaned $(BUILD_DEST)." + +.PHONY: clean-tools +clean-tools: + if [ -d $(UGET_DIRECTORY)/k8s ]; then chmod -R +w $(UGET_DIRECTORY)/k8s; fi + rm -rf $(UGET_DIRECTORY) + @echo "Cleaned $(UGET_DIRECTORY)." .PHONY: lint lint: install-golangci-lint @@ -154,6 +160,7 @@ install-yq: @UNCOMPRESSED=true hack/uget.sh https://github.com/mikefarah/yq/releases/download/v{VERSION}/yq_{GOOS}_{GOARCH} yq $(YQ_VERSION) yq_* .PHONY: install-kcp +install-kcp: UGET_CHECKSUMS=false # do not checksum because the version regularly gets overwritten in CI jobs install-kcp: @hack/uget.sh https://github.com/kcp-dev/kcp/releases/download/v{VERSION}/kcp_{VERSION}_{GOOS}_{GOARCH}.tar.gz kcp $(KCP_VERSION) @@ -182,7 +189,7 @@ install-reconciler-gen: .PHONY: update-tools update-tools: UGET_UPDATE=true -update-tools: clean install-boilerplate install-gimps install-golangci-lint install-kubectl install-yq +update-tools: clean-tools install-boilerplate install-gimps install-golangci-lint install-kubectl install-yq ############################################################################ ### docs