diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2017-06-05 16:15:09 +0200 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2017-06-12 12:58:35 +0200 |
commit | c70e9f2ed107ac3d0189a803eae6e7e7917f6224 (patch) | |
tree | 5006c53ceee82297827a0c18285f728d8e1cdc6f /lib/api | |
parent | 8c6e2bada222745c9994da42f21bad2ab43b9351 (diff) | |
download | gitlab-ce-c70e9f2ed107ac3d0189a803eae6e7e7917f6224.tar.gz |
Send new configuration options with job's payload
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/entities.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index a836df3dc81..8d3d34b844d 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -804,7 +804,11 @@ module API end class Image < Grape::Entity - expose :name + expose :name, :entrypoint + end + + class ServiceImage < Image + expose :alias, :command end class Artifacts < Grape::Entity @@ -848,7 +852,7 @@ module API expose :variables expose :steps, using: Step expose :image, using: Image - expose :services, using: Image + expose :services, using: ServiceImage expose :artifacts, using: Artifacts expose :cache, using: Cache expose :credentials, using: Credentials |