diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2017-06-05 17:15:09 +0300 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2017-06-12 13:58:35 +0300 |
commit | c70e9f2ed107ac3d0189a803eae6e7e7917f6224 (patch) | |
tree | 5006c53ceee82297827a0c18285f728d8e1cdc6f /spec/factories | |
parent | 8c6e2bada222745c9994da42f21bad2ab43b9351 (diff) |
Send new configuration options with job's payload
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/builds.rb | 4 |
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', |