Skip to content

Commit

Permalink
issue-1445: changing temp directory for output artifacts from root to…
Browse files Browse the repository at this point in the history
… tmp (argoproj#1458)
  • Loading branch information
alexcapras authored and Duske committed Aug 15, 2019
1 parent 7a21adf commit a3e841f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (

const (
// This directory temporarily stores the tarballs of the artifacts before uploading
tempOutArtDir = "/argo/outputs/artifacts"
tempOutArtDir = "/tmp/argo/outputs/artifacts"
)

// WorkflowExecutor is program which runs as the init/wait container
Expand Down Expand Up @@ -447,7 +447,7 @@ func (we *WorkflowExecutor) SaveLogs() (*wfv1.Artifact, error) {
if err != nil {
return nil, err
}
tempLogsDir := "/argo/outputs/logs"
tempLogsDir := "/tmp/argo/outputs/logs"
err = os.MkdirAll(tempLogsDir, os.ModePerm)
if err != nil {
return nil, errors.InternalWrapError(err)
Expand Down

0 comments on commit a3e841f

Please sign in to comment.