summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2017-06-05 16:15:09 +0200
committerTomasz Maczukin <tomasz@maczukin.pl>2017-06-12 12:58:35 +0200
commitc70e9f2ed107ac3d0189a803eae6e7e7917f6224 (patch)
tree5006c53ceee82297827a0c18285f728d8e1cdc6f /spec/factories
parent8c6e2bada222745c9994da42f21bad2ab43b9351 (diff)
downloadgitlab-ce-c70e9f2ed107ac3d0189a803eae6e7e7917f6224.tar.gz
Send new configuration options with job's payload
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/builds.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index 0bb5a86d9b9..0cc498f0ce9 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -194,8 +194,8 @@ FactoryGirl.define do
trait :extended_options do
options do
{
- image: 'ruby:2.1',
- services: ['postgres'],
+ image: { name: 'ruby:2.1', entrypoint: '/bin/sh' },
+ services: ['postgres', { name: 'docker:dind', entrypoint: '/bin/sh', command: 'sleep 30', alias: 'docker' }],
after_script: %w(ls date),
artifacts: {
name: 'artifacts_file',