@@ -19,9 +19,14 @@ import (
19
19
"encoding/json"
20
20
"flag"
21
21
"fmt"
22
+
22
23
"github.com/kubeflow/pipelines/backend/src/apiserver/config/proxy"
23
24
"github.com/kubeflow/pipelines/backend/src/common/util"
24
25
26
+ "os"
27
+ "path/filepath"
28
+ "strconv"
29
+
25
30
"github.com/golang/glog"
26
31
"github.com/golang/protobuf/jsonpb"
27
32
"github.com/kubeflow/pipelines/api/v2alpha1/go/pipelinespec"
@@ -30,9 +35,6 @@ import (
30
35
"github.com/kubeflow/pipelines/backend/src/v2/driver"
31
36
"github.com/kubeflow/pipelines/backend/src/v2/metadata"
32
37
"github.com/kubeflow/pipelines/kubernetes_platform/go/kubernetesplatform"
33
- "os"
34
- "path/filepath"
35
- "strconv"
36
38
)
37
39
38
40
const (
77
79
logLevel = flag .String ("log_level" , "1" , "The verbosity level to log." )
78
80
79
81
// proxy
80
- httpProxy = flag .String (httpProxyArg , unsetProxyArgValue , "The proxy for HTTP connections." )
81
- httpsProxy = flag .String (httpsProxyArg , unsetProxyArgValue , "The proxy for HTTPS connections." )
82
- noProxy = flag .String (noProxyArg , unsetProxyArgValue , "Addresses that should ignore the proxy." )
82
+ httpProxy = flag .String (httpProxyArg , unsetProxyArgValue , "The proxy for HTTP connections." )
83
+ httpsProxy = flag .String (httpsProxyArg , unsetProxyArgValue , "The proxy for HTTPS connections." )
84
+ noProxy = flag .String (noProxyArg , unsetProxyArgValue , "Addresses that should ignore the proxy." )
85
+ publishLogs = flag .String ("publish_logs" , "true" , "Whether to publish component logs to the object store" )
83
86
)
84
87
85
88
// func RootDAG(pipelineName string, runID string, component *pipelinespec.ComponentSpec, task *pipelinespec.PipelineTaskSpec, mlmd *metadata.Client) (*Execution, error) {
@@ -189,6 +192,7 @@ func drive() (err error) {
189
192
DAGExecutionID : * dagExecutionID ,
190
193
IterationIndex : * iterationIndex ,
191
194
PipelineLogLevel : * logLevel ,
195
+ PublishLogs : * publishLogs ,
192
196
}
193
197
var execution * driver.Execution
194
198
var driverErr error
0 commit comments