Skip to content

Commit

Permalink
add global() Selector: cherry picked from projectcalico/libcalico-go#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Pflug committed Jun 7, 2021
1 parent 82dc6be commit 4ef7c26
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
all: build

ENVVAR = GOOS=linux GOARCH=amd64
TAG = v0.1.6
TAG = v0.1.7
APP_NAME = calico-accountant
REPO = andreas-p
IMAGE_TAG = $(REPO)/$(APP_NAME):$(TAG)

clean:
rm -f $(APP_NAME)
Expand All @@ -19,6 +21,10 @@ test-unit: clean fmt build
# Make the container using docker multi-stage build process
# So you don't necessarily have to install golang to make the container
container:
docker build -f Dockerfile -t monzo/$(APP_NAME):$(TAG) .
docker build -f Dockerfile -t $(IMAGE_TAG) .


binary: container
docker run --rm $(IMAGE_TAG) cat /calico-accountant >$(APP_NAME)

.PHONY: all clean fmt build container
2 changes: 1 addition & 1 deletion vendor/github.com/coreos/etcd/cmd/etcd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ef7c26

Please sign in to comment.