opened
sgotti
username_0
- [ ] Add a "version" endpoint to every agola service.
- [ ] Add a "version" command to the agola command to report the gateway version and the client version.
services/cmd: add version endpoint and version reporting
issue
created
camandel
username_1
Simply something like this:
```
$ agola version --token $TOKEN
Gateway version:        gw-dirty
Client version:         d73cc47b8336715ed1ffb63ff6f0a1109b18d61a-dirty
```
or with versions from all services (executor and gitserver don't have a client already implemented)?
```
$ agola version --token $TOKEN 
Gateway version:        gw-dirty
RunService version:     gw-dirty
ConfigStore version:    gw-dirty
Executor version:       unknown
GitServer version:      unknown

Client version:         d73cc47b8336715ed1ffb63ff6f0a1109b18d61a-dirty
```
comment
created
sgotti
username_0
* executor: it doesn't makes sense, there can be tons of executors
* gitserver: just ignore it, it doesn't have any http endpont
The same for the "notification" services.

But as I said previously let's just implement this for the gateway.
comment
created
camandel
username_1
Implemented in #135.
comment
closed
sgotti
username_0
issue