Commit Graph

72 Commits

Author SHA1 Message Date
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
Jeremy Edwards
adc587f222 Support filelog watching in Windows. 2021-01-13 17:16:46 +00:00
Jeremy Edwards
aadb16b3d4 Remove Dockerfile.in rewrite hack and use updated arg in Dockerfile 2020-12-08 06:31:29 +00:00
Jeremy Edwards
4adec4bbc6 Introduce Windows build of Node Problem Detector 2020-12-05 23:54:52 +00:00
Lantao Liu
ed783da499 Change default staging bucket.
The new staging bucket for the promoter is `gcr.io/k8s-staging-npd`.
2020-11-20 09:08:35 -08:00
Archit Bansal
44dc4aa6c1 Add health-check-monitor 2020-05-27 14:08:42 -07:00
Xuewei Zhang
fb8304bec8 Rent Boskos project only once per test run.
The old implementation rents Boskos project for each Ginkgo node.
2020-01-03 14:49:35 -08:00
Xuewei Zhang
dd37dfe12c Add e2e tests for reporting filesystem problems
Also added support for running e2e tests in parallel.
2019-12-06 14:49:17 -08:00
Xuewei Zhang
5da72e86bb Add problem maker to simulate problems for e2e test 2019-12-06 14:49:17 -08:00
Xuewei Zhang
5e55ef89f1 Make log-counter respect ENABLE_JOURNALD 2019-11-26 13:58:10 -08:00
Xuewei Zhang
3c80676e94 Fix build tags manipulation in Makefile 2019-11-26 12:12:23 -08:00
Xuewei Zhang
1989ab3681 Allow e2e test to pick up test VM image using image family 2019-09-18 16:09:14 -07:00
Xuewei Zhang
fb7fd239bb Add logic for renting test project from Boskos 2019-09-14 15:22:09 -07:00
Xuewei Zhang
0f0e5eff0f Adding stackdriver exporter 2019-09-12 18:30:00 -07:00
Xuewei Zhang
f9b5e60a43 Add e2e test for NPD
The first test is a very simple test. It installs NPD on a VM, and then
verifies that NPD reports metric host_uptime in Prometheus format.
2019-08-16 01:33:29 -07:00
Michał Sochoń
4641ba114f Bump base image debian-base to tag v1.0.0 to pick up some CVE fixes 2019-08-03 18:21:16 +02:00
Xuewei Zhang
be2647a686 Allow compilation time disabling for each type of Problem Daemon. 2019-06-17 16:02:45 -07:00
Lantao Liu
d520ca89bd Build node-problem-detector from a directory.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-06-13 18:54:23 -07:00
Zhen Wang
6a1beac0eb Update Makefile and remove godep 2019-06-04 11:49:25 -07:00
Zhen Wang
c9c7864087 Register gcloud as a Docker credential in Makefile 2019-03-22 11:56:45 -07:00
Lantao Liu
4fcad4a236 Update base image for CVE fix. 2018-11-28 15:40:46 -08:00
Zhen Wang
1f636381b8 Detect kubelet and container runtime frequent crashes 2018-11-26 22:41:06 -08:00
Steve Scaffidi
2d77ebde36 Added new targets from previous commits to .PHONY in Makefile 2018-09-12 10:59:07 -04:00