diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-10-02 17:06:29 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-10-02 17:06:29 +0000 |
commit | 607f263c4869d78b113c3610f11cfc3f909ec3b4 (patch) | |
tree | 8badae69eef5ac4770d462dc4be9d9d1b5c82ef1 /spec/factories | |
parent | cfc72c126e22df2485f08f11be500a183727c306 (diff) | |
parent | f6ff32d9bd7a9817bb74379a1f28954aa378559c (diff) | |
download | gitlab-ce-607f263c4869d78b113c3610f11cfc3f909ec3b4.tar.gz |
Merge branch '49952-port-upgrade-command-to-ce' into 'master'
Port UpgradeCommand to CE
See merge request gitlab-org/gitlab-ce!21949
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/clusters/applications/helm.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/factories/clusters/applications/helm.rb b/spec/factories/clusters/applications/helm.rb index c13b0249d94..5756486df27 100644 --- a/spec/factories/clusters/applications/helm.rb +++ b/spec/factories/clusters/applications/helm.rb @@ -22,11 +22,24 @@ FactoryBot.define do status 3 end + trait :updating do + status 4 + end + + trait :updated do + status 5 + end + trait :errored do status(-1) status_reason 'something went wrong' end + trait :update_errored do + status(6) + status_reason 'something went wrong' + end + trait :timeouted do installing updated_at ClusterWaitForAppInstallationWorker::TIMEOUT.ago |