Page MenuHomePhabricator

Toolforge: Update go runtime
Open, LowestPublic

Description

Could toolforge offer a more modern version of the Go programming language? Currently it’s offering 1.7.4, which was released in 2016. It’s difficult to write code for such an ancient runtime, most libraries won’t work.

$ ssh login.toolforge.org
$ go version
go version go1.7.4 linux/amd64

Event Timeline

Majavah added a subscriber: Majavah.

The kubernetes cluster seems to have go 1.11, still fairly old considering 1.16 was released recently.

Golang will work just downloading a tarball, which makes it extremely easy to add to a container during the build instead of the deb packages. That would likely be better than having people put it in their NFS home directories.

I should also add that if you have a statically compiled binary (default in golang) that is compiled for Linux amd64, you don't need golang itself on Toolforge at all to run it there. This is only strictly useful if you are submitting build jobs.

The bastions are not a good place to run compiles anyway. They deliberately limit your cpu usage and ram to prevent taking over the environment. I don't, personally, recommend anybody using golang that old (1.7.4) at this point.

Phamhi triaged this task as Lowest priority.Mar 9 2021, 5:37 PM