summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-06-30 12:57:26 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-07-06 13:04:36 +0200
commit073c2a556e145d511e976b92f364b03aa4f3dd7f (patch)
treeef1d641b1eeec565cf2fd3a923fe95f97fb4c6be /app/models/commit.rb
parentb27f990de8a1b53974eb9aa0bd6bdde18f93d6db (diff)
downloadgitlab-ci-073c2a556e145d511e976b92f364b03aa4f3dd7f.tar.gz
Added support for image and services
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 73e485a..dae2658 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -108,7 +108,8 @@ class Commit < ActiveRecord::Base
project: project,
name: build_attrs[:name],
commands: build_attrs[:script],
- tag_list: build_attrs[:tags]
+ tag_list: build_attrs[:tags],
+ options: build_attrs[:options]
})
end
end
@@ -145,6 +146,7 @@ class Commit < ActiveRecord::Base
name: build_attrs[:name],
commands: build_attrs[:script],
tag_list: build_attrs[:tags],
+ options: build_attrs[:options],
deploy: true
})
end