Skip to content

Commit 399ad59

Browse files
authored
Merge pull request #2 from deads2k/init
prime repo
2 parents 7616794 + 69ab1c3 commit 399ad59

File tree

29,346 files changed

+6632368
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

29,346 files changed

+6632368
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/openshift-sdn
2+
/sdn-cni-plugin

Makefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
all: build
2+
.PHONY: all
3+
4+
GO_BUILD_PACKAGES = \
5+
./cmd/... \
6+
./vendor/github.com/containernetworking/plugins/plugins/ipam/host-local \
7+
./vendor/github.com/containernetworking/plugins/plugins/main/loopback
8+
9+
# Include the library makefile
10+
include $(addprefix ./vendor/github.com/openshift/library-go/alpha-build-machinery/make/, \
11+
golang.mk \
12+
targets/openshift/deps.mk \
13+
targets/openshift/images.mk \
14+
)
15+
16+
# This will call a macro called "build-image" which will generate image specific targets based on the parameters:
17+
# $0 - macro name
18+
# $1 - target suffix
19+
# $2 - Dockerfile path
20+
# $3 - context directory for image build
21+
# It will generate target "image-$(1)" for builing the image an binding it as a prerequisite to target "images".
22+
$(call build-image,origin-node,./images/sdn/Dockerfile,.)
23+
$(call build-image,origin-sdn-controller,./images/sdn-controller/Dockerfile,.)
24+
25+
clean:
26+
$(RM) ./openshift-sdn
27+
$(RM) ./sdn-cni-plugin
28+
$(RM) ./network-controller
29+
.PHONY: clean
30+
31+
GO_TEST_PACKAGES :=./pkg/... ./cmd/...

0 commit comments

Comments
 (0)