Florian Klink
200ad6332b
main.go: log errors if they are returned from runner.Trigger()
2019-12-03 11:07:44 +01:00
Florian Klink
241ec393ac
main: actually multiply triggerInterval by time.Second, not time.Minute
...
Otherwise, we'd wait a little bit too long ;-)
2019-12-03 10:58:39 +01:00
Florian Klink
4ea1a5a2f0
main.go: add --trigger-interval cli flag
2019-12-03 10:44:29 +01:00
Florian Klink
118a88dace
add rotatingloghandler which removes older log entries
2019-12-02 12:03:46 +01:00
Florian Klink
04a24a0c60
Use Runner
...
This revamps code quite a bit. Series handling has been moved into the
gerrit client, it also handles caching.
The Runner logic itself has been greatly simplified.
The runner logic has been moved into the runner.go, submitqueue.go is
gone.
The "per-run result object" concept has been dropped - we instead just
use annotated logs.
Also, we switched to apex/log
2019-12-02 10:00:32 +01:00
Florian Klink
40b2f11543
frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue()
2019-11-25 17:35:11 +01:00
Florian Klink
26943b7419
main.go: allow --fetch-only to be set via SUBMIT_QUEUE_FETCH_ONLY
2019-11-21 19:01:08 +01:00
Florian Klink
057294830e
frontend: show submittable status and URL, add runner, revamp logging
2019-11-21 16:13:50 +01:00
Florian Klink
dbd7b4807a
use statik to bundle assets, add nix-shell/lorri .envrc
2019-11-18 16:29:57 +01:00
Florian Klink
987b539e33
initial import
2019-11-18 15:40:46 +01:00