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

Lock to govulncheck@v1.0.1 temporarily to avoid dirty tags #1554

Merged

Conversation

RebeccaMahany
Copy link
Contributor

@RebeccaMahany RebeccaMahany commented Jan 17, 2024

Noticed this morning that all of our our latest builds are tagged with -dirty. This doesn't appear to have anything to do with changes we've made in our CI.

Through troubleshooting, I narrowed it down to the Jan 16 govulncheck v1.0.2 release -- installing and running this version modifies go.sum, which results in a dirty state immediately before the build process, which runs git describe ... to set launcher version.

I think the issue is not golang/go#65130, but maybe similar/related.

Other options to consider besides locking to v1.0.1:

  • We could move the govulncheck step after the build step in our CI
  • We could run go mod tidy immediately after running govulncheck

@RebeccaMahany RebeccaMahany changed the title GitHub version troubleshooting Lock to govulncheck@v1.0.1 temporarily to avoid dirty tags Jan 17, 2024
@RebeccaMahany RebeccaMahany marked this pull request as ready for review January 17, 2024 15:30
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Jan 17, 2024
Merged via the queue into kolide:main with commit 334ea78 Jan 17, 2024
26 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/version-troubleshooting branch January 17, 2024 15:57
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.

None yet

2 participants