94 Commits

Author SHA1 Message Date
Ciprian Hacman
46fd1c14e2 Update new release scripts 2025-12-23 18:31:14 +02:00
Ciprian Hacman
a9dd308982 Revert Makefile changes from v1.36.0-alpha.2
Some checks failed
CodeQL / Analyze (go) (push) Failing after 43s
Scorecard supply-chain security / Scorecard analysis (push) Failing after 6m38s
tag-release / tag (push) Has been skipped
2025-12-23 16:28:37 +02:00
Ciprian Hacman
686837d82d Release v1.36.0-alpha.3 2025-12-23 16:13:09 +02:00
Ciprian Hacman
7800765a88 Release v1.36.0-alpha.2 2025-12-23 15:48:57 +02:00
Ciprian Hacman
55eed94245 Copy the release binaries from the promoted image 2025-12-23 09:05:26 +02:00
Ciprian Hacman
fcb7a19ab1 Fix typo in Windows build 2025-12-04 06:18:32 +02:00
Ciprian Hacman
cdc88bbc63 Build Windows image 2025-12-02 22:28:34 +02:00
Ciprian Hacman
2e69489cc6 Update golangci-lint to v2.6.2 2025-11-29 10:42:18 +02:00
Ciprian Hacman
8ebd18fdcb Push additional stable image name to staging registry 2025-09-28 10:05:49 +03:00
Ciprian Hacman
a5c6501366 Update Cloud Build config 2025-09-11 16:29:15 +03:00
Sergey Kanzhelev
75bf501888 format imports 2025-08-13 16:56:32 +00:00
Sergey Kanzhelev
a4118329f6 enable linter on repository 2025-08-13 16:12:41 +00:00
Dave Young
45dde88c98 chore: update cc def for amd64 to match 2024-11-14 17:54:50 -06:00
Dave Young
b5ce184179 feat(makefile): add CC switch on GOARCH 2024-11-14 17:43:19 -06:00
Kubernetes Prow Robot
200d46726c Merge pull request #912 from sozercan/secure-repo
[StepSecurity] Apply security best practices
2024-09-18 18:00:44 +01:00
Zhen Wang
86750df7c2 Add helper script to print sha/md5 of tar files
During release, there is manual work of generating the sha and md5
values from the built tar. This PR adds the helper script to generate
those in markdown format, so that it easier and less error-prone.
2024-05-18 01:05:37 +00:00
Sertac Ozercan
19c6f4db70 updates
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
2024-05-17 21:39:40 +00:00
Ciprian Hacman
030599e642 Update BASEIMAGE to debian-base:bookworm-v1.0.3 2024-05-13 19:40:09 +03:00
Ciprian Hacman
c0e4778fc0 Update BASEIMAGE to debian-base:bookworm-v1.0.2 2024-03-29 07:30:37 +02:00
Zhen Wang
e14c3e4ae5 Add make release
Adds a `make release` command for releasing new NPD version. It stops
pushing the tar files to gs://kubernetes-release, because no one has
write permission to the GCS bucket any more. We haven't pushed NPD tar
files to that GCS bucket after v0.8.10. k/k has been using NPD v0.8.13+
since 1.29. NPD release should just include the tar files in the release
note.
2024-03-11 04:27:16 +00:00
Zhen Wang
b193e6e392 Revert "Remove push-tar" 2024-03-10 11:50:58 -07:00
Zhen Wang
c74bf4e01c Remove push-tar
The release process and `make push` pushes the tar files to
`gs://kubernetes-release` historically. No one has write permission to the
GCS bucket anymore. We haven't pushed NPD tar files to that GCS bucket
after v0.8.10. k/k has been using NPD v0.8.13+ since 1.29.

This PR cleans up the Make file. NPD release should just include the tar
files in the release note.

Related issues:
- https://github.com/kubernetes/node-problem-detector/issues/874
- https://github.com/kubernetes/node-problem-detector/issues/878
2024-03-09 14:52:36 +00:00
Ciprian Hacman
e1385935b8 Add script to verify dependencies 2024-02-04 06:45:07 +02:00
Ciprian Hacman
58017fd35e Add depup Makefile target 2024-02-04 06:24:02 +02:00
Sonu Kumar Singh
45c3445b2a update debian-base image 2024-02-01 14:15:27 +05:30
Ciprian Hacman
d4a00d4f20 Remove GO111MODULE=on and -mod vendor from Makefile 2023-09-15 07:55:12 +03:00
Ciprian Hacman
e9922b0da7 Fix docker build for multi-arch 2023-09-14 13:13:01 +03:00
Kubernetes Prow Robot
d8e9d550dc Merge pull request #810 from acumino/upg/img
Switch debian base image from bullseye to bookworm
2023-09-14 01:38:17 -07:00
acumino
574b25418f Swich debian base image from bullseye to bookworm 2023-09-13 20:50:50 +05:30
Ciprian Hacman
9ad24ea2c7 Move test dependencies to test dir 2023-09-11 21:14:19 +03:00
Bobby Tiernay
c2b2b0b3df fix: missing build arg in build-in-docker make target 2023-07-07 12:06:54 -04:00
Bobby Tiernay
c27b4beb6d fix: Makefile OS conditional 2023-06-09 11:59:46 -04:00
acumino
00fc95a16a Update debian image 2023-02-21 14:30:52 +05:30
Kubernetes Prow Robot
49fbd5cf4b Merge pull request #727 from yordis/fix-spelling
chore: fix misspelling
2023-01-31 10:06:56 -08:00
Yordis Prieto Lazo
0842910049 chore: fix misspelling 2022-12-18 22:58:07 -05:00
Dan
de33c801a5 update BASEIMAGE to debian-base:bullseye-v1.4.2
This is the latest Debian Bullseye image, it is the same as used in other Kubernetes projects, i.e. https://github.com/kubernetes-sigs/blob-csi-driver/pull/765/files
2022-11-14 18:03:55 +00:00
Pratik
0127a75e05 Update comment to be consistent with reality 2022-09-18 20:21:05 -07:00
vteratipally
92745daa62 fix building multi-arch image 2022-08-27 16:28:39 -07:00
Kubernetes Prow Robot
2d5de8d0fa Merge pull request #684 from acumino/multi-arch-image
Create multi-arch image
2022-07-26 12:03:10 -07:00
Sonu Kumar Singh
04e8d009d4 Use buildx for docker builder 2022-07-05 09:37:52 +05:30
varsha teratipally
20c3b6f13c update ginkgo and gomega dependencies 2022-03-24 16:25:03 +00:00
Kelvie Wong
363d01392a Create multi-arch image
For linux arm64 and amd64, as per #586.

I moved the builder image into the same dockerfile, and bumped the Go
version on it. It didn't seem like the builder dockerfile worked with
the latest code anyway (the go modules require go 1.15 and higher).

This requires a recent enough docker install with buildx, as well as
an arm64 builder.

BASEIMAGE is changed to not specify an arch, so that the image will
build on its native arch in buildx.

Example image is on docker hub as:

    kelvie/node-problem-detector:v0.8.10-5-gb0fa610
2022-02-13 01:23:31 -08:00
michelletandya
203116b614 update make clean and .gitignore 2021-08-04 19:45:08 +00:00
michelletandya
49526abf27 Add coverage.out to Makefile 2021-07-23 18:45:44 +00:00
vteratipally
94d8373a9e Update Makefile
Bump image version from v1.0.0 to v.2.0.0 to fix some of the CVEs.
2021-06-11 10:53:11 -07:00
Peter Schuurman
bd2a900a37 Added arm64 targets for linux binaries 2021-05-26 11:23:36 -07:00
Jeremy Edwards
badc7ff781 Build tarballs for each OS introduce SHA-512 2021-05-07 21:21:48 +00:00
Jeremy Edwards
4181ece888 Windows Support: Fix Build Regressions, Tests Pass 2021-03-14 10:24:45 -07:00
Sean McGinnis
487915e9e4 Use GOHOSTOS to switch journald plugin build
This plugin requires libsystemd to compile, which is only available on
Linux. This uses `go env` to determine if the current build platform can
support this or not, and if not, disables the building of the plugin to
allow compilation on Windows and macOS platforms.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2021-02-02 20:25:17 -06:00
Sean McGinnis
7e7bc2271e Allow building on macOS
Journald is not available on mac. To allow building the rest of the
project while working on a mac, use the same flag as the Windows build
to skip inclusion of journald.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2021-02-02 17:17:38 -06:00