Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: avoid to modify go.mod file #16842

Merged
merged 7 commits into from
Mar 6, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .ci/scripts/install-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ chmod +x "${GVM_CMD}"
gvm ${GO_VERSION}|cut -d ' ' -f 2|tr -d '\"' > ${PROPERTIES_FILE}

eval $(gvm ${GO_VERSION})
go get -u github.com/kardianos/govendor
# see https://github.com/golang/go/issues/27643
# GO111MODULE=off go get -u github.com/kardianos/govendor
kuisathaverat marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion .ci/scripts/install-tools.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ IF ERRORLEVEL 1 (
curl -sL -o %WORKSPACE%\bin\gvm.exe https://github.com/andrewkroh/gvm/releases/download/v0.2.1/gvm-windows-amd64.exe
)
FOR /f "tokens=*" %%i IN ('"gvm.exe" use %GO_VERSION% --format=batch') DO %%i

set GO111MODULE=off
kuisathaverat marked this conversation as resolved.
Show resolved Hide resolved
go install github.com/elastic/beats/vendor/github.com/magefile/mage
kuisathaverat marked this conversation as resolved.
Show resolved Hide resolved