Skip to content

Makefile: run "go mod tidy" when vendoring#4975

Merged
estesp merged 1 commit intocontainerd:masterfrom
thaJeztah:mod_tidy
Jan 27, 2021
Merged

Makefile: run "go mod tidy" when vendoring#4975
estesp merged 1 commit intocontainerd:masterfrom
thaJeztah:mod_tidy

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

relates to #4717 (comment)

make vendor did not do a go mod tidy after vendoring, whereas CI does this as part of the vendor validation, causing CI to fail if make vendor was used to update vendoring, without doing a go mod tidy afterwards.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jan 27, 2021

Build succeeded.

Comment thread Makefile Outdated
`make vendor` did not do a `go mod tidy` after vendoring, whereas
CI does this as part of the vendor validation, causing CI to fail
if `make vendor` was used to update vendoring, without doing a
`go mod tidy` as well.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@dims
Copy link
Copy Markdown
Member

dims commented Jan 27, 2021

LGTM

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jan 27, 2021

Build succeeded.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit cb6f665 into containerd:master Jan 27, 2021
@thaJeztah thaJeztah deleted the mod_tidy branch January 27, 2021 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants