Add ability to copy files to and delete files from runner

This commit is contained in:
Jan-Eric Hellenberg
2021-05-31 16:31:15 +02:00
parent 242d0175a2
commit 02b3f52a11
23 changed files with 757 additions and 240 deletions

View File

@ -32,6 +32,9 @@ var (
TLS: false,
Namespace: "default",
},
Runner: runner{
WorkspacePath: "/home/python",
},
Logger: logger{
Level: "INFO",
},
@ -65,6 +68,11 @@ type nomad struct {
Namespace string
}
// runner configures the runners on the executor
type runner struct {
WorkspacePath string
}
// logger configures the used logger.
type logger struct {
Level string
@ -74,6 +82,7 @@ type logger struct {
type configuration struct {
Server server
Nomad nomad
Runner runner
Logger logger
}