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

Fix "Update Go Modules" Job #115

Closed
dmikusa opened this issue Dec 12, 2022 · 1 comment
Closed

Fix "Update Go Modules" Job #115

dmikusa opened this issue Dec 12, 2022 · 1 comment
Labels
type:bug A general bug

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Dec 12, 2022

Expected Behavior

Go modules should update automatically on a weekly basis through CI.

Current Behavior

Presently, the (Update Go Modules job is consistently failing)[https://github.com/paketo-buildpacks/apache-tomee/actions/runs/3672158285].

Possible Solution

I have tried to unwind the issue here with the Go module dependencies but there is an issue with a test dependency that I cannot work out.

> go get -u all
go: all: module github.com/docker/docker@upgrade found (v20.10.21+incompatible), but does not contain package github.com/docker/docker/builder/remotecontext/urlutil

I also tried go clean -modcache which is often suggested online as a fix for issues like this and it didn't help.

Steps to Reproduce

Repeat the steps from the failing action locally, which basically amounts to running go get -u all in the project directory.

Motivations

Until this is resolved, transitive go modules are not being updated. Dependabot will update direct dependencies, but it does not keep transitive dependencies up-to-date.

@dmikusa dmikusa added the type:bug A general bug label Dec 12, 2022
@dmikusa
Copy link
Contributor Author

dmikusa commented Jan 9, 2023

Looks like this was an upstream problem. It eventually resolved itself. #117 manually updates the modules and the CI job is working again.

@dmikusa dmikusa closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant