[ 
https://issues.apache.org/jira/browse/BEAM-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Rohde resolved BEAM-4015.
---------------------------------
       Resolution: Workaround
    Fix Version/s: 2.5.0

Tentatively resolving, but please feel free to reopen if the suggestions don't 
work for you.

> 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
>            Priority: Blocker
>             Fix For: 2.5.0
>
>
> 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)

Reply via email to