WIP: Replace job execution with runner delegation

Server now accepts runner connections via websockets. Jobs
will be delegated to these runners. This is currently a WIP,
as it is still hardcoded to use the first available runner.
This commit is contained in:
2022-10-16 14:54:49 -06:00
parent b44d4352ff
commit bbe9dcaf2a
7 changed files with 255 additions and 213 deletions
+4 -16
View File
@@ -4,25 +4,13 @@ go 1.19
require (
git.ohea.xyz/golang/config v0.0.0-20220915224621-b9debd233173
github.com/docker/docker v20.10.18+incompatible
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
nhooyr.io/websocket v1.8.7
)
require (
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/gobwas/ws v1.1.0 // indirect
github.com/klauspost/compress v1.10.3 // indirect
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
gotest.tools/v3 v3.3.0 // indirect
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect
)