Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-06-24 05:08:42 +0300
committerThong Kuah <tkuah@gitlab.com>2019-06-27 08:28:52 +0300
commit04af6132b14e594aeddef2a6d0c171af667c9539 (patch)
tree774a42379216c745f8f7e36529b22e48dc17717e /spec/factories
parent4615dca1d90975d16b1534292c1b2886da1b2cd5 (diff)
Use #cluster for prometheus_adapter
We still fallback to environment.deployment_platform until we can backfill
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/deployments.rb4
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