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

twoliter: fix purge-go-vendor task #307

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

bcressey
Copy link
Contributor

Issue number:
N/A

Description of changes:
Fixes a failure observed in the core kit CI, where purge-go-vendor fails if the Go module cache doesn't yet exist.

Testing done:
Tested locally on a clean checkout.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Check for the gomodcache directory before the chown operation, which
will fail if it doesn't exist.

Signed-off-by: Ben Cressey <[email protected]>
@bcressey bcressey merged commit 3753b78 into bottlerocket-os:develop Jun 19, 2024
1 check passed
@bcressey bcressey deleted the fix-go-purge-vendor branch June 19, 2024 17:06
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.

3 participants