Skip to content

Commit c2e0519

Browse files
authored
Merge pull request #880 from wangzhen127/update-make-push
Remove push-tar
2 parents e14b392 + c74bf4e commit c2e0519

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

Makefile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
.PHONY: all \
1818
vet fmt version test e2e-test \
1919
build-binaries build-container build-tar build \
20-
docker-builder build-in-docker push-container push-tar push clean depup
20+
docker-builder build-in-docker push-container push clean depup
2121

2222
all: build
2323

@@ -35,11 +35,6 @@ TAG?=$(VERSION)
3535
# REGISTRY is the container registry to push into.
3636
REGISTRY?=gcr.io/k8s-staging-npd
3737

38-
# UPLOAD_PATH is the cloud storage path to upload release tar.
39-
UPLOAD_PATH?=gs://kubernetes-release
40-
# Trim the trailing '/' in the path
41-
UPLOAD_PATH:=$(shell echo $(UPLOAD_PATH) | sed '$$s/\/*$$//')
42-
4338
# PKG is the package name of node problem detector repo.
4439
PKG:=k8s.io/node-problem-detector
4540

@@ -264,11 +259,7 @@ endif
264259
# Build should be cached from build-container
265260
docker buildx build --push --platform $(DOCKER_PLATFORMS) -t $(IMAGE) --build-arg BASEIMAGE=$(BASEIMAGE) --build-arg LOGCOUNTER=$(LOGCOUNTER) .
266261

267-
push-tar: build-tar
268-
gsutil cp $(TARBALL) $(UPLOAD_PATH)/node-problem-detector/
269-
gsutil cp node-problem-detector-$(VERSION)-*.tar.gz* $(UPLOAD_PATH)/node-problem-detector/
270-
271-
push: push-container push-tar
262+
push: push-container build-tar
272263

273264
coverage.out:
274265
rm -f coverage.out

0 commit comments

Comments
 (0)