forked from kubernetes-sigs/node-feature-discovery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,303 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
node-feature-discovery | ||
node-feature-discovery-job.json | ||
vendor/ | ||
intel-cmt-cat/ | ||
rdt-discovery/l2-alloc-discovery | ||
rdt-discovery/l3-alloc-discovery | ||
rdt-discovery/mon-discovery |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
sudo: required | ||
|
||
services: | ||
- docker | ||
|
||
script: | ||
- docker build -t intelsdi/dbi-iafeature-discovery . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM golang:1.6 | ||
|
||
ADD . /go/src/github.com/kubernetes-incubator/node-feature-discovery | ||
|
||
WORKDIR /go/src/github.com/kubernetes-incubator/node-feature-discovery | ||
|
||
RUN git clone --depth 1 https://github.com/01org/intel-cmt-cat.git | ||
RUN cd intel-cmt-cat/lib; make install | ||
RUN cd rdt-discovery; make | ||
RUN go get github.com/Masterminds/glide | ||
RUN glide install | ||
RUN go install \ | ||
-ldflags "-s -w -X main.version=`git describe --tags --dirty --always`" \ | ||
github.com/kubernetes-incubator/node-feature-discovery | ||
|
||
ENTRYPOINT ["/go/bin/node-feature-discovery"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.PHONY: all | ||
|
||
DOCKER_REGISTRY_USER := kubernetesincubator | ||
DOCKER_IMAGE_NAME := node-feature-discovery | ||
|
||
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) ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.