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
This commit is contained in:
Florian Klink 2019-12-02 10:00:32 +01:00
parent 7bafef7a84
commit 04a24a0c60
14 changed files with 486 additions and 537 deletions

2
go.mod
View file

@ -4,9 +4,9 @@ go 1.12
require (
github.com/andygrunwald/go-gerrit v0.0.0-20190825170856-5959a9bf9ff8
github.com/apex/log v1.1.1
github.com/gin-gonic/gin v1.4.0
github.com/google/go-querystring v1.0.0 // indirect
github.com/rakyll/statik v0.1.6
github.com/sirupsen/logrus v1.4.2
github.com/urfave/cli v1.22.1
)