mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-15 13:07:48 +00:00
- Added interface FeatureSource, moved cpuid, rdt and pstate discovery logic into implementations. - Updated logging output to make it more machine-readable (one feature, in label-format, per line). - Normalized label names (derived from the underlying feature source). - Added makefile. - Added command-line argument parsing and proper CLI documentation. - Added ability to filter the enabled feature sources: cpuid,rdt,pstate. - Added ability to print the software version and exit. - Added ability to print the CLI help. - Updated README. - Updated dep versions. - Added -s -w to ldflags. - Output version label along with discovered feature labels. - Added sources section to README. - Normalized README link for pstate
13 lines
351 B
Makefile
13 lines
351 B
Makefile
.PHONY: all
|
|
|
|
DOCKER_REGISTRY_USER := intelsdi
|
|
DOCKER_IMAGE_NAME := nodelabels
|
|
|
|
VERSION := $(shell git describe --tags --dirty --always)
|
|
|
|
all: docker
|
|
|
|
# To override DOCKER_REGISTRY_USER use the -e option as follows:
|
|
# DOCKER_REGISTRY_USER=<my-username> make docker -e
|
|
docker:
|
|
docker build -t $(DOCKER_REGISTRY_USER)/$(DOCKER_IMAGE_NAME):$(VERSION) ./
|