Skip to content

Commit

Permalink
Merge pull request #13 from heww/pin-vendor
Browse files Browse the repository at this point in the history
build: pin vendor in repo
  • Loading branch information
heww authored Dec 3, 2019
2 parents a52017b + e025d6d commit 9b8ec34
Show file tree
Hide file tree
Showing 1,179 changed files with 384,654 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ IMAGE := goharbor/harbor-scanner-clair:$(IMAGE_TAG)
build: $(BINARY)

$(BINARY): $(SOURCES)
GOOS=linux GO111MODULE=on CGO_ENABLED=0 go build -o $(BINARY) cmd/harbor-scanner-clair/main.go
GOFLAGS=-mod=vendor GOOS=linux GO111MODULE=on CGO_ENABLED=0 go build -o $(BINARY) cmd/harbor-scanner-clair/main.go

setup:
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.21.0
Expand All @@ -17,10 +17,10 @@ lint:
./bin/golangci-lint run -v

test: $(SOURCES)
GO111MODULE=on go test -v -short -race -timeout 30s -coverprofile=coverage.txt -covermode=atomic ./...
GOFLAGS=-mod=vendor GO111MODULE=on go test -v -short -race -timeout 30s -coverprofile=coverage.txt -covermode=atomic ./...

test-integration: build
GO111MODULE=on go test -v -tags=integration ./test/integration/...
GOFLAGS=-mod=vendor GO111MODULE=on go test -v -tags=integration ./test/integration/...

container: build
docker build --no-cache -t $(IMAGE) .
1 change: 1 addition & 0 deletions vendor/github.com/Microsoft/go-winio/.gitignore

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

22 changes: 22 additions & 0 deletions vendor/github.com/Microsoft/go-winio/LICENSE

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

22 changes: 22 additions & 0 deletions vendor/github.com/Microsoft/go-winio/README.md

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

280 changes: 280 additions & 0 deletions vendor/github.com/Microsoft/go-winio/backup.go

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

Loading

0 comments on commit 9b8ec34

Please sign in to comment.