Skip to content

Commit 332278f

Browse files
authored
Remove vendor (#845)
* Remove vendor We don't build with it, no need to have it in the repo. * Update makefile * Remove flag from workflow * And remove from AZP
1 parent 8e50d50 commit 332278f

File tree

3,228 files changed

+2
-910322
lines changed

Some content is hidden

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

3,228 files changed

+2
-910322
lines changed

.azure-pipelines/all.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ jobs:
4848
DD_ENV: prod
4949
DD_SERVICE: terraform-provider-datadog
5050
DD_TAGS: "team:integration-tools-and-libraries,build.requested_by:$(Build.RequestedForId),build.attempt:$(System.StageAttempt),pull_request.number:$(System.PullRequest.PullRequestNumber)"
51-
GOFLAGS: "-mod=vendor"

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
run: pre-commit run --all-files --show-diff-on-failure --color=always
2525

2626
test:
27-
env:
28-
GOFLAGS: "-mod=vendor"
2927
strategy:
3028
matrix:
3129
platform: [ubuntu-latest, macos-latest, windows-latest]

GNUmakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ update-go-client:
7474
echo "Updating the Zorkian client to ${ZORKIAN_VERSION} and the API Client to ${API_CLIENT_VERSION}"
7575
go get github.com/zorkian/go-datadog-api@$(ZORKIAN_VERSION)
7676
go get github.com/DataDog/datadog-api-client-go@${API_CLIENT_VERSION}
77-
go mod vendor
7877
go mod tidy
7978

8079
get-test-deps:
81-
gotestsum --version || (cd `mktemp -d`; GO111MODULE=auto GOFLAGS='' go get -u gotest.tools/gotestsum; cd -)
80+
gotestsum --version || (cd `mktemp -d`; GO111MODULE=off GOFLAGS='' go get -u gotest.tools/gotestsum; cd -)
8281

8382
.PHONY: build test testacc cassettes vet fmt fmtcheck errcheck test-compile get-test-deps

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ require (
2121
gopkg.in/DataDog/dd-trace-go.v1 v1.25.0
2222
)
2323

24-
go 1.13
24+
go 1.15

vendor/cloud.google.com/go/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

0 commit comments

Comments
 (0)