Skip to content

Commit

Permalink
force use of vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezl committed Jan 10, 2020
1 parent f489506 commit 3956ca8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ endif

.PHONY: all-containers
all-containers:
CGO_ENABLED=0 GOOS=linux go build -ldflags "-X github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/version.VERSION=$(VERSION)" -a -installsuffix cgo -o cmd/initializer/initializer ./cmd/initializer
CGO_ENABLED=0 GOOS=linux go build -mod=vendor -ldflags "-X github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/version.VERSION=$(VERSION)" -a -installsuffix cgo -o cmd/initializer/initializer ./cmd/initializer
docker build --no-cache -t $(REGISTRY)/storage-version-migration-initializer:$(VERSION) cmd/initializer
rm cmd/initializer/initializer
CGO_ENABLED=0 GOOS=linux go build -ldflags "-X github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/version.VERSION=$(VERSION)" -a -installsuffix cgo -o cmd/migrator/migrator ./cmd/migrator
CGO_ENABLED=0 GOOS=linux go build -mod=vendor -ldflags "-X github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/version.VERSION=$(VERSION)" -a -installsuffix cgo -o cmd/migrator/migrator ./cmd/migrator
docker build --no-cache -t $(REGISTRY)/storage-version-migration-migrator:$(VERSION) cmd/migrator
rm cmd/migrator/migrator
CGO_ENABLED=0 GOOS=linux go build -ldflags "-X github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/version.VERSION=$(VERSION)" -a -installsuffix cgo -o cmd/trigger/trigger ./cmd/trigger
CGO_ENABLED=0 GOOS=linux go build -mod=vendor -ldflags "-X github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/version.VERSION=$(VERSION)" -a -installsuffix cgo -o cmd/trigger/trigger ./cmd/trigger
docker build --no-cache -t $(REGISTRY)/storage-version-migration-trigger:$(VERSION) cmd/trigger
rm cmd/trigger/trigger

.PHONY: e2e-test
e2e-test:
CGO_ENABLED=0 GOOS=linux go test -c -o ./test/e2e/e2e.test ./test/e2e
CGO_ENABLED=0 GOOS=linux go test -mod=vendor -c -o ./test/e2e/e2e.test ./test/e2e

.PHONY: local-manifests
local-manifests:
Expand Down

0 comments on commit 3956ca8

Please sign in to comment.