renovatebot / renovate

Home of the Renovate CLI: Cross-platform Dependency Automation by Mend.io
https://mend.io/renovate
GNU Affero General Public License v3.0
17.19k stars 2.25k forks source link

Support binarySource=install for go #13727

Closed rarkins closed 1 year ago

rarkins commented 2 years ago

What would you like Renovate to be able to do?

Support runtime installing of go

If you have any ideas on how this should be implemented, please tell us here.

binarySource=install

Is this a feature you are interested in implementing yourself?

Maybe

rarkins commented 2 years ago

Blocked by https://github.com/containerbase/buildpack/issues/119

maxbrunet commented 2 years ago

Now that updating the Go version in go.mod is supported (#16541), the need for binarySource has increased as it is unlikely Renovate will be running the latest Go version as it is released, and won't be able to update the go.sum file. The PR for Go 1.19 have just been created and it seems they will remain in a broken state for a few days

sheldonhull commented 1 year ago

I'm a little confused where this stands. Am I am able to use docker as source or is it still pending resolution if I'm on Go 1.19?

https://docs.renovatebot.com/self-hosted-configuration/#binarysource

The docs don't yet mention Go, but do mention Docker as a source. If I can point to a newer version via docker as a the source I'd like to know. Thanks!

rarkins commented 1 year ago

BinarySource=docker works for all package managers. This issue refers to binarySource=install

sheldonhull commented 1 year ago

@rarkins i still get go.mod 1.19 faulure for go mod tidy. Was hoping this would help. I've searched all the issues for a workaround but this was the closest I could find.

rarkins commented 1 year ago

@sheldonhull please start a new Discussion, and it's impossible to answer you without more details

renovate-release commented 1 year ago

:tada: This issue has been resolved in version 34.36.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: