You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Daniel Oliveira (Jira)" <ji...@apache.org> on 2021/10/12 02:51:00 UTC

[jira] [Commented] (BEAM-13037) Update Golang version on Jenkins worker images.

    [ https://issues.apache.org/jira/browse/BEAM-13037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427414#comment-17427414 ] 

Daniel Oliveira commented on BEAM-13037:
----------------------------------------

Version support of Go on the Ubuntu version used in the VMs ends at 1.13, so I can't update to 1.16 via Ubuntu's package manager. Instead, I had to uninstall the currently installed Golang and reinstall from a different source.

I decided to go with installing [Go via Snap|https://snapcraft.io/go] as it's a self-contained environment, Snap is already installed and configured on our Jenkins images, and the installation and any future updates are easy to perform.

I strongly considered performing a manual installation of Go as described here [https://golang.org/doc/install]. This is the recommended approach to installing Go and what I would prefer, but it requires adding to the system's PATH and/or making liberal use of symlinks because it installs Go binaries to a different location than the default package manager option. Ultimately I decided against it due to the amount of time it would take to deal with these small headaches. However, if Snap gives us any problems, a manual installation is the best alternative.

> Update Golang version on Jenkins worker images.
> -----------------------------------------------
>
>                 Key: BEAM-13037
>                 URL: https://issues.apache.org/jira/browse/BEAM-13037
>             Project: Beam
>          Issue Type: Task
>          Components: sdk-go, testing
>            Reporter: Daniel Oliveira
>            Assignee: Daniel Oliveira
>            Priority: P2
>
> Update the version of the `go` command on our Jenkins VMs from 1.12.X to 1.16.X, to match as closely as possible the current version specified for Go in our BeamModulePlugin (1.16.5).
> Follows the instructions on Confluence here: https://cwiki.apache.org/confluence/display/BEAM/Jenkins+Tips#JenkinsTips-HowtoinstallandupgradesoftwareonJenkinsworkers



--
This message was sent by Atlassian Jira
(v8.3.4#803005)