Fix runner logic and add git clone step
This commit is contained in:
+10
-8
@@ -6,10 +6,11 @@ import (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
ServerUrl string
|
||||
Id string
|
||||
Secret string
|
||||
Tags []string
|
||||
ServerUrl string
|
||||
Id string
|
||||
WorkingDir string
|
||||
Secret string
|
||||
Tags []string
|
||||
}
|
||||
|
||||
func GetConfig() (config.Config[Config], bool, error) {
|
||||
@@ -17,10 +18,11 @@ func GetConfig() (config.Config[Config], bool, error) {
|
||||
Name: "cursorius",
|
||||
Filename: "runner",
|
||||
Config: Config{
|
||||
ServerUrl: "FILL IN",
|
||||
Id: "FILL IN",
|
||||
Secret: "FILL IN",
|
||||
Tags: []string{},
|
||||
ServerUrl: "FILL IN",
|
||||
Id: "FILL IN",
|
||||
Secret: "FILL IN",
|
||||
WorkingDir: "FILL IN",
|
||||
Tags: []string{},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user