Skip to content

Commit

Permalink
feat: data dir as working dir (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsukhin authored Nov 2, 2023
1 parent 11468a1 commit f61e073
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/executor/v1/executor_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ type ExecutorSpec struct {

// Slaves data to run test in distributed environment
Slaves *SlavesMeta `json:"slaves,omitempty"`

// use data dir as working dir for executor
UseDataDirAsWorkingDir bool `json:"useDataDirAsWorkingDir,omitempty"`
}

type SlavesMeta struct {
Expand Down
3 changes: 3 additions & 0 deletions config/crd/bases/executor.testkube.io_executors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ spec:
uri:
description: URI for rest based executors
type: string
useDataDirAsWorkingDir:
description: use data dir as working dir for executor
type: boolean
type: object
status:
description: ExecutorStatus defines the observed state of Executor
Expand Down

0 comments on commit f61e073

Please sign in to comment.