Skip to content

Commit 46fd1c1

Browse files
committed
Update new release scripts
1 parent a9dd308 commit 46fd1c1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ $(NPD_NAME_VERSION)-%.tar.gz: $(ALL_BINARIES) test/e2e-install.sh
275275

276276
image-$(NPD_NAME_VERSION)-linux_%.tar.gz: output/linux_%/test/bin/problem-maker test/e2e-install.sh
277277
mkdir -p output/linux_$*/bin output/linux_$*/test
278-
docker create --name npd-$* --platform linux/$* gcr.io/k8s-staging-npd/node-problem-detector:$(TAG)
278+
docker create --name npd-$* --platform linux/$* registry.k8s.io/node-problem-detector/node-problem-detector:$(TAG)
279279
docker cp npd-$*:/node-problem-detector output/linux_$*/bin/
280280
docker cp npd-$*:/home/kubernetes/bin/health-checker output/linux_$*/bin/
281281
docker cp npd-$*:/home/kubernetes/bin/log-counter output/linux_$*/bin/
@@ -284,19 +284,19 @@ image-$(NPD_NAME_VERSION)-linux_%.tar.gz: output/linux_%/test/bin/problem-maker
284284
cp test/e2e-install.sh output/linux_$*/test/e2e-install.sh
285285
(cd output/linux_$*/ && tar -zcvf ../../$@ *)
286286
cp $@ $(NPD_NAME_VERSION)-linux_$*.tar.gz
287-
sha512sum $@ > $(NPD_NAME_VERSION)-linux_$*.tar.gz.sha512
287+
sha512sum $(NPD_NAME_VERSION)-linux_$*.tar.gz > $(NPD_NAME_VERSION)-linux_$*.tar.gz.sha512
288288

289289
image-$(NPD_NAME_VERSION)-windows_%.tar.gz: output/windows_%/test/bin/problem-maker.exe test/e2e-install.sh
290290
mkdir -p output/windows_$*/bin output/windows_$*/test/
291-
docker create --name npd-$* --platform windows/$* gcr.io/k8s-staging-npd/node-problem-detector-windows:$(TAG)
291+
docker create --name npd-$* --platform windows/$* registry.k8s.io/node-problem-detector/node-problem-detector-windows:$(TAG)
292292
docker cp npd-$*:/Files/node-problem-detector.exe output/windows_$*/bin/
293293
docker cp npd-$*:/Files/etc/kubernetes/node/bin/health-checker.exe output/windows_$*/bin/
294294
docker cp npd-$*:/Files/config output/windows_$*/
295295
docker rm -v npd-$*
296296
cp test/e2e-install.sh output/windows_$*/test/e2e-install.sh
297297
(cd output/windows_$*/ && tar -zcvf ../../$@ *)
298298
cp $@ $(NPD_NAME_VERSION)-windows_$*.tar.gz
299-
sha512sum $@ > $(NPD_NAME_VERSION)-windows_$*.tar.gz.sha512
299+
sha512sum $(NPD_NAME_VERSION)-windows_$*.tar.gz > $(NPD_NAME_VERSION)-windows_$*.tar.gz.sha512
300300

301301
build-binaries: $(ALL_BINARIES)
302302

@@ -346,7 +346,7 @@ release: push-container build-tar print-tar-sha-md5
346346
# `make release-new` is experimentally used when releasing a new NPD version.
347347
release-new: image-$(NPD_NAME_VERSION)-linux_amd64.tar.gz image-$(NPD_NAME_VERSION)-linux_arm64.tar.gz image-$(NPD_NAME_VERSION)-windows_amd64.tar.gz print-tar-sha-md5
348348

349-
print-tar-sha-md5: build-tar
349+
print-tar-sha-md5:
350350
./hack/print-tar-sha-md5.sh $(VERSION)
351351

352352
coverage.out:

0 commit comments

Comments
 (0)