Skip to content

Commit 9b8ec34

Browse files
authored
Merge pull request #13 from heww/pin-vendor
build: pin vendor in repo
2 parents a52017b + e025d6d commit 9b8ec34

File tree

1,179 files changed

+384654
-3
lines changed

Some content is hidden

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

1,179 files changed

+384654
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ IMAGE := goharbor/harbor-scanner-clair:$(IMAGE_TAG)
66
build: $(BINARY)
77

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

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

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

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

2525
container: build
2626
docker build --no-cache -t $(IMAGE) .

vendor/github.com/Microsoft/go-winio/.gitignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Microsoft/go-winio/LICENSE

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Microsoft/go-winio/README.md

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Microsoft/go-winio/backup.go

Lines changed: 280 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)