Commit 6048817
Eric Bower
·
2026-05-08 10:29:20 -0400 EDT
parent ffb6d10
chore: cleanup
M
main.go
+0,
-4
| ... | ... | @@ -1112,10 +1112,6 @@ func monitorTick(cfg *Cfg, log *slog.Logger, output io.Writer, jobStates map[str | |
| 1112 | 1112 | } | |
| 1113 | 1113 | } | |
| 1114 | 1114 | ||
| 1115 | - | // d. Sync artifacts once per tick | |
| 1116 | - | if cfg.HumanOutput { | |
| 1117 | - | fmt.Fprint(output, " 📦 syncing artifacts...\n") //nolint:errcheck | |
| 1118 | - | } | |
| 1119 | 1115 | if err := syncArtifacts(cfg, log); err != nil { | |
| 1120 | 1116 | log.Error("sync artifacts", "err", err) | |
| 1121 | 1117 | } |
M
run.fish
+2,
-1
| ... | ... | @@ -5,9 +5,10 @@ | |
| 5 | 5 | # Usage: ./run.fish | |
| 6 | 6 | ||
| 7 | 7 | while true | |
| 8 | + | echo "waiting for build.event ..." | |
| 8 | 9 | set event (ssh pipe sub build.event 2>/dev/null) | |
| 9 | 10 | if test -n "$event" | |
| 10 | - | echo "$event" | pici runner | |
| 11 | + | echo "$event" | pici runner --wait | |
| 11 | 12 | else | |
| 12 | 13 | echo "could not connect to pipe, waiting 5s..." | |
| 13 | 14 | sleep 5 |