1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
Commit graph

77 commits

Author SHA1 Message Date
Markus Lehtonen
bf640d4c4d scripts/test-infra: bump golangci-lint to v1.60.3 2024-08-30 16:32:09 +03:00
Markus Lehtonen
5caaa88d51 scripts/test-infra: bump helm to v3.15.3
Helm is used for linting the chart in the CI.
2024-07-18 08:51:38 +03:00
Markus Lehtonen
4f60f4d8bf scripts/test-infra: bump golangci-lint to v1.59.1 2024-07-17 18:17:03 +03:00
Markus Lehtonen
9d13631dcb cloudbuild: increase the image build timeout
Attempt to fix occasional (rare) build failures.
2024-07-09 12:35:33 +03:00
Markus Lehtonen
c27b9dbc31 scripts/test-infra: setup kind in e2e-test 2024-07-09 09:13:49 +03:00
Kubernetes Prow Robot
005341bf1c
Merge pull request #1763 from marquiz/devel/e2e-postsubmit
scripts/test-infra: run postsubmit e2e test in kind
2024-07-08 22:45:34 -07:00
Markus Lehtonen
23fda76070 scripts/test-infra: run postsubmit e2e test in kind 2024-07-08 13:38:38 +03:00
Markus Lehtonen
f7f6bfa020 scripts/test-infra: drop the unused build-image script 2024-07-08 13:20:58 +03:00
Markus Lehtonen
fb2b1926f6 scripts: refresh e2e-presubmit test script
Update and simplify.
2024-07-05 14:51:13 +03:00
Carlos Eduardo Arango Gutierrez
bd554e75d2
Disable armv7 builds
This patch sets IMAGE_ALL_PLATFORMS=linux/amd64,linux/arm64 at
scripts/test-infra/push-image.sh to explicity set the archs to build
images during cloudbuild post prow steps

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-04-26 12:32:30 +02:00
Kubernetes Prow Robot
688e3ce0ad
Merge pull request #1659 from Links2004/arm-support
add ARMv7 support
2024-04-25 06:21:22 -07:00
Markus Lehtonen
4ffc63b25f scripts/test-infra: bump golangci-lint to v1.57.2 2024-04-24 15:17:47 +03:00
Links2004
8acff5ede6
Add armv7 support
This allows the nfd to run on arm devices like the Raspberry Pi > 2
with armv7 core or armv8 in 32Bit mode.

The build tests will only be run for linux/amd64 and linux/arm64.
Releases will be made for all Platforms.
2024-04-15 16:42:44 +02:00
Carlos Eduardo Arango Gutierrez
06c4733bc5
Add FeatureGate framework to handle new features
Code inspired on https://github.com/kubernetes/component-base/tree/master/featuregate

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-03-15 19:11:32 +01:00
Kubernetes Prow Robot
e0b8a52f8b
Merge pull request #1582 from marquiz/devel/helm-lint
scripts/test-infra: bump helm to v3.14.0
2024-02-12 05:16:31 -08:00
Markus Lehtonen
41092477df scripts/test-infra: bump k8s logcheck to v0.8.1 2024-02-12 12:23:47 +02:00
Markus Lehtonen
cf265e7969 scripts/test-infra: bump helm to v3.14.0 2024-02-12 12:19:39 +02:00
Markus Lehtonen
1b6ae03c88 scripts/test-infra: bump golangci-lint to v1.56.1 2024-02-09 13:56:30 +02:00
Kubernetes Prow Robot
efe5c03071
Merge pull request #1455 from ArangoGutierrez/validation
Create a Validate pkg
2023-12-12 11:04:06 +01:00
Carlos Eduardo Arango Gutierrez
affb93ea50
Create a Validate pkg
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-12-11 16:54:22 +01:00
Carlos Eduardo Arango Gutierrez
f9195ef6a4
Makefile: add env var controls to make test targets configurable
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-12-08 17:48:00 +01:00
Kubernetes Prow Robot
59c689746c
Merge pull request #1438 from marquiz/devel/ci-lint
scripts/test-infra: bump golangci-lint to v1.55.1
2023-10-25 20:08:19 +02:00
Markus Lehtonen
e54bbc9265 scripts/test-infra: bump golangci-lint to v1.55.1 2023-10-25 15:26:55 +03:00
Markus Lehtonen
e6f1f4ddb4 scripts/test-infra: bump mdlint to v0.13.0 2023-10-25 11:20:32 +03:00
Kubernetes Prow Robot
0bbf5f3f1e
Merge pull request #1300 from marquiz/devel/ci-lint
scripts/test-infra: bump golangci-lint to v1.54.0
2023-08-11 05:43:27 -07:00
Markus Lehtonen
972374af0e scripts/test-infra: bump golangci-lint to v1.54.0
Brings e.g. support for Go v1.21.
2023-08-11 11:42:23 +03:00
Markus Lehtonen
7e2a549db2 scripts/test-infra: update logcheck tool to v0.6.0
Update logcheck to the latest version. Fixes the flakiness we've been
experiencing.
2023-08-09 08:23:42 +03:00
Markus Lehtonen
01525de2f1 scripts/test-infra: add logcheck to verify script
Now that we've migrated to structured logging add a verification step to
verify that future additions/changes to logging comply.
2023-05-31 16:01:40 +03:00
Markus Lehtonen
9b74e12f60 scripts/test-infra: bump golangci-lint to v1.52.2 2023-05-30 22:27:05 +03:00
Markus Lehtonen
32072dddf1 scripts/test-infra: provide PR base SHA to codecov
In the hopes that codecov will be properly showing and calculating the
diff. Also quote the args for proper handling of empty values.
2023-04-28 13:47:41 +03:00
Markus Lehtonen
611ed65e43 scripts/test-infra: provide PR info to codecov
Provide the commit SHA repo slug, PR number, prow build id and base
branch  to the codecov tool so that it is able to do its job.
2023-04-26 11:55:13 +03:00
Muyassarov, Feruzjon
6ed43c2926 e2e: add codecov uploader configuration
Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
2023-04-11 23:33:47 +03:00
Markus Lehtonen
28cb0cd15d scripts/test-infra: bump golangci-lint to v1.51.2 2023-03-10 12:12:09 +02:00
Markus Lehtonen
1b8ab4b862 scripts/test-infra: bump golangci-lint to v1.51.1
Update to the latest release.
2023-02-16 19:04:12 +02:00
Muyassarov, Feruzjon
ae25d5319b test: move out unit testing from Dockerfile
Move out running unit tests as part of container image building and
instead add it into verify.sh script which runs linter, formatter
and other checks.

Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
2023-02-02 01:00:32 +02:00
Markus Lehtonen
72e523f277 scripts/mdlint: update mdlint to v0.12.0 2022-12-01 20:57:21 +02:00
Kubernetes Prow Robot
34781af9e5
Merge pull request #917 from fmuyassarov/ephemeral-e2e
add ephemeral environment for e2e test execution
2022-11-02 10:35:15 -07:00
Feruzjon Muyassarov
0118215826 Add ephemeral E2E test environment
This patch adds a script to run E2E test on kind ephemeral cluster
that gets deleted by the end of each test. Eventually, we will use
this script on pull requests as a presubmit test.

Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-11-02 15:30:56 +02:00
Feruzjon Muyassarov
ea8906203a Increase image waiting timeout
We recently increase timeout for image building and pushing to GCR
due to some failures with timeout. This commit extends timeout for
waiting that image to be published.
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-10-27 23:26:26 +03:00
Markus Lehtonen
2e0e93fb84 scripts/test-infra: bump golangci-lint to v1.49.0
Update to the latest version, supporting golang v1.19. Also make the
verify script a tad more verbose.
2022-09-08 11:53:07 +03:00
Feruzjon Muyassarov
1e3bfcc77d Run local markdown tests inside an isolated container
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-09-06 16:08:06 +03:00
Markus Lehtonen
d61f31076f scripts/test-e2e: install kubectl
Kubectl is required bu the topologu-updater end-to-end tests.
2022-08-25 16:27:59 +03:00
Markus Lehtonen
a7835a060f scripts/test-e2e: update aws-iam-authenticator to v0.5.7
We need the latest version to support client.authentication.k8s.io/v1.
The previous version we used only supported v1alpha1 which was dropped
in K8s v1.24.
2022-06-28 16:56:43 +03:00
Markus Lehtonen
9276ad49ac scripts/test-infra: bump golangci-lint to v1.45.2
Adds support for golang v1.18.
2022-04-13 09:53:55 +03:00
Markus Lehtonen
e674631591 cloudbuild.yaml: decrease timeout to 25 minutes
Build time decreased dramatically after upgrading the builder machine
type.
2022-01-21 12:00:14 +02:00
Markus Lehtonen
6f56d5edbf scripts/test-infra: separate task for multiarch image build 2022-01-21 11:18:10 +02:00
Markus Lehtonen
33cfd6eaba scripts: configure docker auth in push-image.sh
Re-introduce docker authentication that was dropped in
bac690813a. Should fix issues with
building multi-arch buildx buildx.
2022-01-21 07:36:22 +02:00
Markus Lehtonen
5e90343fc9 cloudbuild.yaml: increase timeout to 1h 20min
Fourth timeout increase's the charm.
2022-01-20 22:30:42 +02:00
Markus Lehtonen
c0235c490e cloudbuild.yaml: increase timeout to 1 hour
Even 40 minutes failed us for multi-arch builds.

Also, increase the e2e-test image polling timeout correspondingly.
2022-01-20 21:02:03 +02:00
Zvonko Kaiser
c69e47a27a Iniital multi arch build 2022-01-20 15:41:08 +01:00