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

102 commits

Author SHA1 Message Date
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
Markus Lehtonen
72bf84c4fa github: separate workflow for helm repo index update
No need to (re-)build documentation when a release is published.
Great simplification of the Helm repo index update script: do not scan
all releases but just get the assets from the release that was
published.

This separation should make the maintenance of scripts and workflows
easier.
2023-09-18 11:28:10 +03:00
Markus Lehtonen
f5084cb19d scripts/update-gh-pages: sync OWNERS from master to gh-pages
The gh-pages branch is normally automatically managed by the GitHub
workflow. However, on really rare occasions there may beed to contribute
something manually via a PR. Thus, this patch updates the
update-gh-pages script to sync the OWNERS from master the gh-pages
branch branch, to enable the usual prow-based workflow for PRs in
gh-pages branch.
2023-09-11 16:14:20 +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
97590e200a scripts: move hacky scripts to hack directory
Move prepare-release.sh and kustomize.sh from scripts/ to hack/.
2022-09-13 17:58:09 +03:00
Markus Lehtonen
4f34451db8 Update NFD registry to registry.k8s.io
Kubernetes has moved to a new container image registry:
https://groups.google.com/a/kubernetes.io/g/dev/c/DYZYNQ_A6_c/m/FpHqeVR2BAAJ
2022-09-12 11:21:12 +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
989565de97 scripts/prepare-release: patch golang version in Makefile
Make it mandatory to specify a golang version with "-g" when running the
script (and patching repo content). The given version will be patched
into the Makefile to fix the version used in the release build - it is
meant to use a exact point release (like 1.18.3) to get reproducible
builds.
2022-08-09 08:22:58 +03:00
Markus Lehtonen
e41c5a712f scripts/prepare-release: option -k to specify the signing key
Make the GPG signing an optional argument. It doesn't make much sense to
require that when no assets are being generated (i.e. when "-b" is
used).
2022-08-09 08:22:58 +03:00
Markus Lehtonen
3f084a4307 scripts/prepare-release: option -b to not generate assets
Implement a new command line option "-b" to prevent the script from
creating release assets (Helm chart).
2022-08-09 08:22:58 +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
f659372af2 scripts/update-gh-pages: adjust commit message body
Align the version number inserted in the commit message with what we use
in the Makefile.
2022-04-11 16:45:26 +03:00
Markus Lehtonen
3ff50e5ce4 scripts/prepare-release: fix upating of readme
Fix the sed script to update the version of kustomize overlay.

Also, add a sed script to update the documentation link to point to the
correct version in gh-pages.
2022-01-25 17:43:05 +02: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
Kubernetes Prow Robot
8ea6b765c8
Merge pull request #698 from zvonkok/multi-arch
Multi ARCH build amd64, arm64
2022-01-20 07:21:52 -08:00