On Wed, Apr 23, 2025 at 3:08 PM Sascha Brawer via Cloud
<cloud@lists.wikimedia.org> wrote:
> Which version of golang does the toolforge build service currently support? 
> Could it be upgraded to a recent version, such as go 1.23 or 1.24?

Hi Sascha, we support the same versions supported by the upstream
Heroku Go buildpack. [0]
You should be able to use Go 1.23 or 1.24 by putting that version in go.mod. [1]

> Somewhat related: Has it been considered to support building containers from 
> a regular Dockerfile/Containerfile? From my personal perspective, I'm not 
> sure if Heroku buildpacks give much value for all their complexity; if I 
> could, I'd rather run "podman build" from a gitlab runner. But that's just my 
> personal opinion as a user;. Surely this has been discussed before?

Yes, this was discussed a few times, but at the moment we have decided
not to support this. [2] Using buildpacks gives us more control on the
way the container images are built.

We understand that some users would prefer using Dockerfiles, but we
also believe that buildpacks should be able to cover most or all use
cases. If you have something that you are struggling to deploy with
buildpacks, we always welcome bug reports and feature requests. :)

Francesco

[0] https://github.com/heroku/buildpacks-go
[1] https://devcenter.heroku.com/articles/go-modules
[2] 
https://wikitech.wikimedia.org/wiki/Wikimedia_Cloud_Services_team/EnhancementProposals/Decision_record_T302863_toolforge_byoc

-- 
Francesco Negri (he/him) -- IRC: dhinus
Site Reliability Engineer, Cloud Services team
Wikimedia Foundation
_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information: 
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

Reply via email to