diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-06-24 14:08:42 +1200 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-06-27 17:28:52 +1200 |
commit | 04af6132b14e594aeddef2a6d0c171af667c9539 (patch) | |
tree | 774a42379216c745f8f7e36529b22e48dc17717e /spec/factories/deployments.rb | |
parent | 4615dca1d90975d16b1534292c1b2886da1b2cd5 (diff) | |
download | gitlab-ce-04af6132b14e594aeddef2a6d0c171af667c9539.tar.gz |
Use #cluster for prometheus_adapteradd-clusters-to-deployment
We still fallback to environment.deployment_platform until we can
backfill
Diffstat (limited to 'spec/factories/deployments.rb')
-rw-r--r-- | spec/factories/deployments.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/deployments.rb b/spec/factories/deployments.rb index db438ad32d3..1c7787bc1a6 100644 --- a/spec/factories/deployments.rb +++ b/spec/factories/deployments.rb @@ -22,6 +22,10 @@ FactoryBot.define do ref 'pages-deploy' end + trait :on_cluster do + cluster factory: %i(cluster provided_by_gcp) + end + trait :running do status :running end |