//
// Example: []string{"crunch-run", "--cgroup-parent-subsystem=memory"}
CrunchRunCommand []string
-
- ArvadosKeepServices []string
}
func main() {
if theConfig.Client.Insecure {
os.Setenv("ARVADOS_API_INSECURE", "1")
}
- os.Setenv("ARVADOS_KEEP_SERVICES", strings.Join(theConfig.ArvadosKeepServices, " "))
+ os.Setenv("ARVADOS_KEEP_SERVICES", strings.Join(theConfig.Client.KeepServiceURIs, " "))
os.Setenv("ARVADOS_EXTERNAL_CLIENT", "")
} else {
log.Printf("warning: Client credentials missing from config, so falling back on environment variables (deprecated).")
"APIHost": "zzzzz.arvadosapi.com",
"AuthToken": "xyzzy",
"Insecure": false
+ "KeepServiceURIs": [],
},
"CrunchRunCommand": ["crunch-run"],
- "ArvadosKeepServices": [""],
"PollPeriod": "10s",
"SbatchArguments": ["--partition=foo", "--exclude=node13"]
}`)