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:
Jose Diaz-Gonzalez
2026-07-07 07:06:24 -04:00
parent 3fee5b881a
commit fe11d508d3
9 changed files with 175 additions and 106 deletions

View File

@@ -1,5 +1,12 @@
TRIGGERS = triggers/scheduler-cron-write triggers/scheduler-storage-exec
BUILD = triggers
TRIGGERS = triggers/report triggers/scheduler-cron-write triggers/scheduler-storage-exec
BUILD = report-subcommand triggers
PLUGIN_NAME = scheduler-docker-local
clean-report-subcommand:
rm -rf report-subcommand
report-subcommand: clean-report-subcommand src/subcommands/subcommands.go
GOARCH=$(GOARCH) go build -mod=readonly -ldflags="-s -w" $(GO_ARGS) -o report-subcommand src/subcommands/subcommands.go
ln -sf ../report-subcommand subcommands/report
include ../../common.mk