Skip to content

Commit

Permalink
Merge pull request #2 from deads2k/init
Browse files Browse the repository at this point in the history
prime repo
  • Loading branch information
sttts authored Jul 17, 2019
2 parents 7616794 + 69ab1c3 commit 399ad59
Show file tree
Hide file tree
Showing 29,346 changed files with 6,632,368 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/openshift-sdn
/sdn-cni-plugin
31 changes: 31 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
all: build
.PHONY: all

GO_BUILD_PACKAGES = \
./cmd/... \
./vendor/github.com/containernetworking/plugins/plugins/ipam/host-local \
./vendor/github.com/containernetworking/plugins/plugins/main/loopback

# Include the library makefile
include $(addprefix ./vendor/github.com/openshift/library-go/alpha-build-machinery/make/, \
golang.mk \
targets/openshift/deps.mk \
targets/openshift/images.mk \
)

# This will call a macro called "build-image" which will generate image specific targets based on the parameters:
# $0 - macro name
# $1 - target suffix
# $2 - Dockerfile path
# $3 - context directory for image build
# It will generate target "image-$(1)" for builing the image an binding it as a prerequisite to target "images".
$(call build-image,origin-node,./images/sdn/Dockerfile,.)
$(call build-image,origin-sdn-controller,./images/sdn-controller/Dockerfile,.)

clean:
$(RM) ./openshift-sdn
$(RM) ./sdn-cni-plugin
$(RM) ./network-controller
.PHONY: clean

GO_TEST_PACKAGES :=./pkg/... ./cmd/...
Loading

0 comments on commit 399ad59

Please sign in to comment.