Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue-1445: changing temp directory for output artifacts from root to… #1458

Merged
merged 1 commit into from
Jul 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions workflow/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,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 @@ -444,7 +444,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