Ismaël Mejía created BEAM-4015:
----------------------------------
Summary: GCS artifact proxy is breaking the build when credentials
are not available
Key: BEAM-4015
URL: https://issues.apache.org/jira/browse/BEAM-4015
Project: Beam
Issue Type: Bug
Components: sdk-go
Reporter: Ismaël Mejía
Assignee: Henning Rohde
When running the maven build in a machine without the valid auth credentials
the module breaks like this:
{{{code:bash}}}
{{[INFO] --- mvn-golang-wrapper:2.1.6:build (go-build) @
beam-runners-gcp-gcsproxy ---}}
{{[INFO] Prepared command line : bin/go build -buildmode=default -o
/home/ismael/upstream/beam/runners/gcp/gcsproxy/target/gcsproxy
github.com/apache/beam/cmd/gcsproxy}}
{{[ERROR] }}
{{[ERROR] ---------Exec.Err---------}}
{{[ERROR] # github.com/apache/beam/sdks/go/pkg/beam/util/gcsx}}
{{[ERROR] github.com/apache/beam/sdks/go/pkg/beam/util/gcsx/gcs.go:46:37:
undefined: option.WithoutAuthentication}}
{{[ERROR] }}
{{------------------------------------------------------------------------}}
{{[INFO] Apache Beam :: Runners :: Google Cloud Platform :: GCS artifact proxy
FAILURE [ 1.038 s]}}
{{------------------------------------------------------------------------}}
{{[INFO] BUILD FAILURE}}
{{------------------------------------------------------------------------}}
{{[ERROR] Failed to execute goal
com.igormaznitsa:mvn-golang-wrapper:2.1.6:build (go-build) on project
beam-runners-gcp-gcsproxy: Can't find generated target file :
/home/ismael/upstream/beam/runners/gcp/gcsproxy/target/gcsproxy -> [Help 1]}}
{{[ERROR] }}
{{{code}}}{{}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)