Updated argo build to use minio
This commit is contained in:
20
main.go
20
main.go
@@ -102,16 +102,16 @@ func main() {
|
||||
|
||||
workflowName = getContainerName(argoFilePath)
|
||||
|
||||
// if conf.GetConfig().KubeHost == "" {
|
||||
// // Not in a k8s environment, get conf from parameters
|
||||
// logger.Info().Msg("Executes outside of k8s")
|
||||
// executeOutside(argoFilePath, builder.Workflow)
|
||||
// } else {
|
||||
// // Executed in a k8s environment
|
||||
// logger.Info().Msg("Executes inside a k8s")
|
||||
// // executeInside(exec.GetID(), "argo", argo_file_path, stepMax) // commenting to use conf.ExecutionID instead of exec.GetID()
|
||||
// executeInside(conf.GetConfig().ExecutionID, exec.ExecutionsID, argoFilePath)
|
||||
// }
|
||||
if conf.GetConfig().KubeHost == "" {
|
||||
// Not in a k8s environment, get conf from parameters
|
||||
logger.Info().Msg("Executes outside of k8s")
|
||||
executeOutside(argoFilePath, builder.Workflow)
|
||||
} else {
|
||||
// Executed in a k8s environment
|
||||
logger.Info().Msg("Executes inside a k8s")
|
||||
// executeInside(exec.GetID(), "argo", argo_file_path, stepMax) // commenting to use conf.ExecutionID instead of exec.GetID()
|
||||
executeInside(conf.GetConfig().ExecutionID, exec.ExecutionsID, argoFilePath)
|
||||
}
|
||||
}
|
||||
|
||||
// So far we only log the output from
|
||||
|
||||
Reference in New Issue
Block a user