Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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
Expand Down