philips-labs / garo

Github Actions Runners Orchestrator
MIT License
4 stars 3 forks source link

Feature/server and agent #9

Closed marcofranssen closed 4 years ago

marcofranssen commented 4 years ago

This branch implements the base for implementing the server and agent as described in

https://github.com/philips-labs/garo/tree/feature/server-and-agent/docs

The Server exposes a grpc endpoint using protobuf. For this https://twitchtv.github.io/twirp/docs/intro.html has been used to simplify the grpc implementation.

codecov[bot] commented 4 years ago

Codecov Report

Merging #9 into develop will increase coverage by 5.83%. The diff coverage is 63.8%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop      #9      +/-   ##
==========================================
+ Coverage    56.66%   62.5%   +5.83%     
==========================================
  Files            4      12       +8     
  Lines           60     328     +268     
==========================================
+ Hits            34     205     +171     
- Misses          22     103      +81     
- Partials         4      20      +16
Flag Coverage Δ
#unittests 62.5% <63.8%> (+5.83%) :arrow_up:
Impacted Files Coverage Δ
server/server.go 0% <0%> (ø)
cmd/garo-server/root.go 45.45% <45.45%> (ø)
cmd/garo-agent/root.go 57.14% <57.14%> (ø)
cmd/garo-server/main.go 60% <60%> (ø)
cmd/garo-agent/main.go 60% <60%> (ø)
cmd/config.go 81.25% <81.25%> (ø)
cmd/version.go 93.1% <93.1%> (ø)
server/api.go 95.23% <95.23%> (ø)
... and 6 more