[
https://issues.apache.org/jira/browse/BEAM-12830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470822#comment-17470822
]
Robert Burke commented on BEAM-12830:
-------------------------------------
I need to get a better failure message into the script with the install link
and the minimum Go version (1.16) when either it's NoGo or OldGo. That wouldn't
help with situations when the output is swallowed, but it'll probably work out
if I get it printing to the STDERR output instead of just STDOUT.
> Remove GoGradle plugin
> ----------------------
>
> Key: BEAM-12830
> URL: https://issues.apache.org/jira/browse/BEAM-12830
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-go
> Reporter: Robert Burke
> Assignee: Robert Burke
> Priority: P2
> Time Spent: 8h
> Remaining Estimate: 0h
>
> GoGradle has never been updated to handle Go Modules, and it turns out it
> leaves .gogradle folders everywhere, which contain it's local gopath, and
> it's non-writable mod caches. This was the root cause of
> https://issues.apache.org/jira/browse/BEAM-12829.
> The solution is to stop using it, as it's never been ideal for our use, and
> replace it with direct shellouts to the go command.
> The main functionality that needs replacing is getting and using a set Go
> version so we can be sure what we're testing/validating against and building
> with, and using a common GoPath/ModuleCache throughout the repo. Otherwise,
> most instances can be replaced with simple tasks that call the Go function.
> A single module cache, if able to be reused across jenkins builds will also
> reduce build times. Note that these are for external versioned dependencies
> anyway, and not for Beam repo code.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)