diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-14 23:33:56 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-19 11:07:12 +0300 |
commit | 2cc9a785dfdada5e2976b8341d3c9e6eae8fa66f (patch) | |
tree | bd291b0cabd3e6784f07f8f75f6981f4b6908bd4 /lib | |
parent | 08272ec1513cbd565e5db5995a681c25e1f4544f (diff) |
Properly create deployment using all possible options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ci/api/entities.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/ci/api/entities.rb b/lib/ci/api/entities.rb index 3f5bdaba3f5..66c05773b68 100644 --- a/lib/ci/api/entities.rb +++ b/lib/ci/api/entities.rb @@ -15,6 +15,15 @@ module Ci expose :filename, :size end + class BuildOptions < Grape::Entity + expose :image + expose :services + expose :artifacts + expose :cache + expose :dependencies + expose :after_script + end + class Build < Grape::Entity expose :id, :ref, :tag, :sha, :status expose :name, :token, :stage |