feat: port scheduler-docker-local :report subcommand to golang
The bash :report implementation for the scheduler-docker-local plugin is replaced with a compiled golang binary. The plugin already shipped golang code, so the report subcommand is added alongside its existing triggers binary, and the init-process and parallel-schedule-count helpers remain in bash for the deploy pipeline.
This commit is contained in:
9 files changed
+175
-106
No files matched your search
@@ -47,6 +47,9 @@ func main() {
|
||||
AsUser: *asUser,
|
||||
Command: cmd,
|
||||
})
|
||||
case "report":
|
||||
appName := flag.Arg(0)
|
||||
err = schedulerdockerlocal.ReportSingleApp(appName, "", "")
|
||||
default:
|
||||
err = fmt.Errorf("Invalid plugin trigger call: %s", trigger)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user