diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-21 17:26:35 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-21 17:26:35 +0100 |
commit | a36d556137116385e84eca592ec62e46ecb97e03 (patch) | |
tree | 439638d981ab25807843c19ed2b369344d27f67c /spec/factories | |
parent | 1d16f137d93576385e403f5caf5f64bfe0b3a647 (diff) | |
download | gitlab-ce-chatops-deploy-command.tar.gz |
Introduce deploy command that allows to start deployment from one environment to second onechatops-deploy-command
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/builds.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index 0c93bbdfe26..eb20bd7dd58 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -55,6 +55,12 @@ FactoryGirl.define do self.when 'manual' end + trait :teardown_environment do + options do + { environment: { action: 'stop' } } + end + end + trait :allowed_to_fail do allow_failure true end |