This repository was archived by the owner on Jan 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
Autobuilder: always check the vendor directory works and if go.mod exists #312
Merged
sauyon
merged 9 commits into
github:rc/1.25
from
smowton:smowton/autobuilder-fixes-fixed-further
Aug 27, 2020
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
28c6974
Add workaround for go 1.14 explicit vendoring requirement
852ae93
autobuilder: Test for vendor inconsistency
70d425d
autobuilder: move vendor check before dependency installation check
8f6b25e
autobuilder: Use -mod=mod for vendor directories wihtout modules.txt
859b427
Check if the vendor/ directory is usable, even after a successful build
smowton 9ad2d6c
Factor default and custom install paths
smowton b13b54f
Don't try to use -mod=... when go.mod doesn't exist
smowton c6dbb9f
Tidy up -mod argument stringification
smowton 4d08437
Fix autobuilder Go version comparison
smowton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there's any reason to keep
getEnvGoVersion
around, is there? I probably could have tried to test the version support...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only for reporting the version at the top in the same terms as
go version
returns it, which I think is reasonableThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, that makes sense.