Fix runner logic and add git clone step

This commit is contained in:
2022-10-17 01:15:09 -06:00
parent c21e7d5d6b
commit f48872c1b3
3 changed files with 110 additions and 87 deletions
+10 -8
View File
@@ -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{},
},
}