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 jessesuen committed Jul 10, 2019
1 parent 7a21adf commit e392d85
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 e392d85

Please sign in to comment.