diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-07-17 13:58:57 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-08-01 13:25:19 +0300 |
commit | 6b0bfda8ac0c2eebfa0e89dd0d37c5fc58160c54 (patch) | |
tree | b209d556ad48786fcd05820f249b113341d7d34d /lib/api | |
parent | 6cccf59cb447fed490c5975e8e7fec6d28b2446b (diff) |
Add `runner_unsupported` CI failure
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/runner.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb index c7595493e11..c9931c2d603 100644 --- a/lib/api/runner.rb +++ b/lib/api/runner.rb @@ -80,7 +80,15 @@ module API params do requires :token, type: String, desc: %q(Runner's authentication token) optional :last_update, type: String, desc: %q(Runner's queue last_update token) - optional :info, type: Hash, desc: %q(Runner's metadata) + optional :info, type: Hash, desc: %q(Runner's metadata) do + optional :name, type: String, desc: %q(Runner's name) + optional :version, type: String, desc: %q(Runner's version) + optional :revision, type: String, desc: %q(Runner's revision) + optional :platform, type: String, desc: %q(Runner's platform) + optional :architecture, type: String, desc: %q(Runner's architecture) + optional :executor, type: String, desc: %q(Runner's executor) + optional :features, type: Hash, desc: %q(Runner's features) + end optional :session, type: Hash, desc: %q(Runner's session data) do optional :url, type: String, desc: %q(Session's url) optional :certificate, type: String, desc: %q(Session's certificate) |