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

425 commits

Author SHA1 Message Date
Kubernetes Prow Robot
3c234f28cd
Merge pull request #1132 from marquiz/release-0.6
[release-0.6] docs: mark release as unsupported
2023-04-14 14:14:41 -07:00
Markus Lehtonen
d0d9c899c9 docs: mark release as unsupported 2023-04-14 13:41:10 +03:00
Kubernetes Prow Robot
530a085439
Merge pull request #533 from marquiz/backports/docs-0.6
backport-0.6: docs: show full version number in sidebar
2021-05-19 06:16:50 -07:00
Markus Lehtonen
74cfa35dad scripts: add mdlint.sh stub
In order to make CI happy.
2021-05-19 16:11:22 +03:00
Markus Lehtonen
aee10a9b44 docs: show full version number in sidebar
Change the sidebar customization so that the full version (e.g. v0.8.2)
is displayed, instead of the truncated "releae branch version" (e.g.
v0.8) in the top left corner of the page. The items in the version menu
are unchanged and will still show the shorter form.

(cherry picked from commit 4d19e1ab85)
2021-05-19 11:21:35 +03:00
Markus Lehtonen
ab53e7407b docs: add 'release' parameter in config.yml 2021-05-19 11:19:32 +03:00
Kubernetes Prow Robot
581df3acb1
Merge pull request #382 from marquiz/documentation/release-0.6
release-0.6: fix broken refs in documentation
2020-11-03 06:14:16 -08:00
Markus Lehtonen
c6f8d07de4 docs: fixup site baseurl setting
Change build configuration related to site baseurl and Jekyll output
directory a bit. Making it more coherent e.g. by removing the need to
override baseurl for 'site-serve' makefile target.

(cherry picked from commit 7b8e85c4ea)
2020-11-02 17:18:02 +02:00
Markus Lehtonen
67e7658f58 docs: make Github refs point to release branch
Point to the tip of the release branch instead of master (or v0.6.0
tag).
2020-11-02 17:18:02 +02:00
Markus Lehtonen
18691ab658 docs: fix broken refs 2020-11-02 17:18:02 +02:00
Kubernetes Prow Robot
477eb2ed7b
Merge pull request #380 from marquiz/documentation/release-0.6
release-0.6: migrate documentation from README to docs/
2020-10-30 16:00:52 -07:00
Markus Lehtonen
6874ea3b71 docs: add instructions for working on documentation
(cherry picked from commit 0c276b6298)
2020-10-31 00:34:31 +02:00
Markus Lehtonen
1f492784c0 docs: markdown style fixes
Fix markdown syntax and style for content that was moved from README.md
to docs/:

Unify the spelling of master and worker in headings and beginning of
senctences.

Also, env variable for container name in developers-guide.
2020-10-31 00:34:31 +02:00
Markus Lehtonen
5acfaf7ead README: move content over to docs/
Similar re-organization what was done on master branch in
a9d45c80ac.

Move all content from README.md to the Jekyll site under docs/. Also
re-organize it into multiple sub-pages.

Populate README with fresh content turning it into virtually a big link
to the html-based documentation site. Spiced up with super-quick-start
instructions.
2020-10-31 00:34:31 +02:00
Markus Lehtonen
9ab0ba1cc1 README: drop References and unused links
The references listed have lost relevance in this context.

(cherry picked from commit 49d66aa941)
2020-10-31 00:30:55 +02:00
Markus Lehtonen
21a744c9aa README: add Community section
(cherry picked from commit fff8c811f1)
2020-10-31 00:30:55 +02:00
Markus Lehtonen
c49e9a835f docs: add landing page and quick-start guide
Virtually a copy-paste from master.
2020-10-31 00:30:55 +02:00
Kubernetes Prow Robot
8786540848
Merge pull request #377 from marquiz/devel/release-0.6
release-0.6: sync docs CI and theme from master
2020-10-30 10:00:09 -07:00
Markus Lehtonen
777144d39b docs: polish the version menu
Only show the dynamic version menu in production environment where it's
available. Local (development) builds only show a stub version menu with
one item.

Also, fix the theme customization. Append version list items to the
correct element in html so that they are displayed correctly. Drop
unnecessary <div/>.

(cherry picked from commit 5295feb1ee)
2020-10-30 16:21:28 +02:00
Markus Lehtonen
c3844a63c5 docs: update the navbar versions menu
Make it hidden, by default. Unify style with other items in the navbar
(making version list horizontal, for example). Show current version next
to the caret mark that opens the menu.

(cherry picked from commit e036d26953)
2020-10-30 08:56:40 +02:00
Markus Lehtonen
f570c5f96c docs: sync navbar from jekyll-rdt-theme v2.0.9
(cherry picked from commit 82f5c89e1a)
2020-10-30 08:56:31 +02:00
Markus Lehtonen
9fe3a14f04 docs: make the list of available versions dynamic
Make the list of available versions dynamic. The items displayed is now
generated with javascript. The parent directory of the site is supposed
to contain versions.js providing getVersionListItems() that returns the
available versions.

The update-gh-pages.sh script is modified to update/create versions.js
on every invocation. It simply lists all directories in the root
directory and adds them to the version list.

(cherry picked from commit c05c6f2e5b)
2020-10-30 08:54:38 +02:00
Markus Lehtonen
eb721cdff9 update-gh-pages.sh: create 'stable' symlink
Create/update a symlink to the documentation of the latest released
version (if one exists).

(cherry picked from commit 502a8c83a9)
2020-10-30 08:52:10 +02:00
Kubernetes Prow Robot
5f4427e95d
Merge pull request #372 from marquiz/devel/release-0.6
release-0.6: sync CI and docs/ from master
2020-10-29 14:18:06 -07:00
Markus Lehtonen
96e9dbd2c1 Enable automated update of gh-pagaes
Add 'scripts/github/update-gh-pages.sh' for updating gh-pages branch.
This new script intended for github actions integration and builds the
html documentation from the currently checked-out commit and updates the
corresponding version subfolder in the gh-pages branch. The version is
taken from GITHUB_REF environment variable and defaults to 'master' if
the env var is empty. For testing purposes or manual updates the
subfolder can also be given directly as a command line argument.

Add 'scripts/test-infra/build-gh-pages.sh' for verifying that site
(gh-pages) builds successfully. This is intended for integration with
kubernetes test-infra.

Finally, add Github workflow for updating gh-pages. This job is run on
master and release branches plus all tags starting with letter 'v'.

(cherry picked from commit c5beeffb6a)
2020-10-22 21:52:12 +03:00
Markus Lehtonen
6249bfc5cb scripts: copy prow integration from master
Copy all test-infra scripts and cloudbuild.yaml from master.

Also cherry-pick the required poll-image Makefile target.

(copied from commit a08fb66fa7)
2020-10-22 21:51:56 +03:00
Markus Lehtonen
d2bfee21cd Makefile: add rules for building html docs
Add rules for building and serving the html documentation inside a
container.
- 'make site-build' will build the html content unders docs/_site.
- 'make site-serve' builds the site content and serves it at
  http://localhost:4000/

(cherry picked from commit 5ec91935df)
2020-10-22 21:51:12 +03:00
Markus Lehtonen
46f669fb1a docs: update site setup to release-0.6 branch 2020-10-22 21:51:12 +03:00
Markus Lehtonen
578c8f2b9f docs: copy site setup from master
Copy the virtually empty Jekyll site as a base.

(copied from commit a08fb66fa7)
2020-10-22 21:50:32 +03:00
Markus Lehtonen
f4e7e7309e Fix up Makefile variable initialization and documentation
An attempt to organize the Makefile variables a bit further. The idea is
to only document variables that are really intended for build
customization and initialize all these variables in the Makefile with
'=?' so that they can be specified in the environment (and not just with
variable overrides). Thus, this patch drops some variables from the
README and change the initialization of some variables in the Makefile
so that the two files would be in sync.

(cherry picked from commit 890380892d)
2020-10-21 15:37:37 +03:00
Carlos Eduardo Arango Gutierrez
c193da1d45 Fix Makefile to take vaules from ENV VAR values
make image and make push fails when trying to use an ENV VAR value, as
it is now they can only be overrided.

the Var modified are
GO_CMD
GO_FMT
IMAGE_BUILD_EXTRA_OPTS
IMAGE_BUILD_CMD
IMAGE_PUSH_CMD
IMAGE_TAG_NAME
IMAGE_REGISTRY
IMAGE_NAME
IMAGE_EXTRA_TAG_NAMES
K8S_NAMESPACE
HOSTMOUNT_PREFIX

This new behaviour has also been updated on the README.

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
(cherry picked from commit 4bcb0cf851)
2020-10-21 15:37:29 +03:00
Markus Lehtonen
910ec7c19c Makefile: add IMAGE_EXTRA_TAG_NAMES variable
Make it possible to create and push multiple container image tags with
single invocation of make.

(cherry picked from commit 4e5df73747)
2020-10-21 15:36:13 +03:00
Markus Lehtonen
a785f2825d README: document new hostmount prefix Makefile variables
(cherry picked from commit 906b1a075f)
2020-10-21 15:27:56 +03:00
Markus Lehtonen
d75beace9b Dockerfile: rename version ARG
Use the same naming across Makefile and Dockerfile.

(cherry picked from commit 1f873f0dfc)
2020-10-21 15:25:47 +03:00
Markus Lehtonen
326ff24b2a Dockerfile: use make for building
Modify Makefile to have separate hostmount prefix settings for local and
container builds in order to preserve the current behavior.

(cherry picked from commit 342c1dfbc6)
2020-10-21 15:25:47 +03:00
Markus Lehtonen
90802ca450 Makefile: add install target
(cherry picked from commit 2b5488299e)
2020-10-21 15:25:47 +03:00
Markus Lehtonen
3f27699d9e Makefile: add build target
(cherry picked from commit 02dc1ae1e9)
2020-10-21 15:25:47 +03:00
Markus Lehtonen
c409d653bf README: change image registry to k8s.gcr.io
(cherry picked from commit 6ef6cdec65)
2020-10-21 15:24:57 +03:00
Markus Lehtonen
73dcd08529 Makefile: change image registry to k8s.gcr.io/nfd
(cherry picked from commit 844c73799e)
2020-10-21 15:24:57 +03:00
Markus Lehtonen
038c84ee1d Use k8s.gcr.io image registry in deployment spec templates
Shift from quay.io to the new community managed image registry.

(cherry picked from commit bb99b2b627)
2020-10-21 15:24:57 +03:00
Markus Lehtonen
9c8a428839 Drop TravisCI integration
All CI has been migrated over to Kubernetes test-infra.

(cherry picked from commit 006234b69d)
2020-10-21 14:56:12 +03:00
Kubernetes Prow Robot
c2503a20ab
Merge pull request #319 from marquiz/devel/v0.6.0
Use release v0.6.0 in deployment templates and README
2020-05-28 08:58:03 -07:00
Markus Lehtonen
5e62ced4d8 Use release v0.6.0 in deployment templates and README 2020-05-26 15:08:31 +03:00
Kubernetes Prow Robot
1b84e19024
Merge pull request #323 from marquiz/devel/docs
README: document E2E_TEST_CONFIG Makefile variable
2020-05-26 04:33:11 -07:00
Markus Lehtonen
32290ea8f8 README: document E2E_TEST_CONFIG Makefile variable 2020-05-25 10:38:54 +03:00
Kubernetes Prow Robot
59a88b07e1
Merge pull request #322 from adaptant-labs/cpuid-arm
cpu: Add support for ARM/Aarch32 cpuid
2020-05-24 23:35:11 -07:00
Kubernetes Prow Robot
fd1275a7e1
Merge pull request #317 from marquiz/devel/network
source/network: run discovery under /host-sys
2020-05-21 10:52:15 -07:00
Paul Mundt
4d5b5974df cpu: Add support for ARM/Aarch32 cpuid
This provides support for 32-bit ARM cpuid capabilities based on
the HWCAP flags, and enables the build of NFD on the 32-bit ARM
userland - notably, this also applies to ARM64 systems that are
running userspace in Aarch32 mode, which is where this problem
was first encountered.

Signed-off-by: Paul Mundt <paul.mundt@adaptant.io>
2020-05-21 19:42:44 +02:00
Markus Lehtonen
d216fca1c0 source/network: run discovery under host sysfs
Instead of relying on golang "net" package, use the configured host
sysfs for all discovery. No need to use hostNetwork after that so drop
it from the worker deployment templates.
2020-05-21 20:33:30 +03:00
Kubernetes Prow Robot
e9017bef06
Merge pull request #304 from marquiz/devel/config-reload
Rework config handling
2020-05-21 03:10:36 -07:00