[
https://issues.apache.org/jira/browse/BEAM-12830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470774#comment-17470774
]
Robert Burke commented on BEAM-12830:
-------------------------------------
[~amuletxheart] Unfortunately, the output provided isn't useful, since it's not
producing the script output. My guess is that you either don't have go
installed, or don't have a go > 1.16 installed. See https://go.dev/doc/install
I'm purely on the Go side, so I have no idea about intellij. My set up is a
linux VM on a chromebook, so it's pretty bare bones.
That said we need to narrow down if it's a machine/platform thing vs an
intellij thing. What operating system + architecture are you runnning eg
linux-amd64? macos or darwin on arm64?
Does running `./gradlew :sdks:go:test:goPrepare` from your beam root directory
from the command line work?
> 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)