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
path: root/qa
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2019-01-31 17:58:58 +0300
committerMayra Cabrera <mcabrera@gitlab.com>2019-02-04 21:08:09 +0300
commit087af654bbae1e4a843029b33e1aab546f4d7d61 (patch)
tree9230a20b2eb5deecd93d431bf30489d714887c20 /qa
parent8b5553daa43d48fdef42f0f2a3f700580dea770b (diff)
Addresses backend/db review comments
- Fixes multiple typos on AutoDevops script - Add an alias to Clusters::Cluster#domain as base_domain, so it's more descriptive - Removes unnecessary memoization on qa specs - Changes migration to a post migration to deal better with traffic on big instances (like gitlab.com)
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/resource/kubernetes_cluster.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/qa/qa/resource/kubernetes_cluster.rb b/qa/qa/resource/kubernetes_cluster.rb
index 19c6dc8890d..986b31da528 100644
--- a/qa/qa/resource/kubernetes_cluster.rb
+++ b/qa/qa/resource/kubernetes_cluster.rb
@@ -9,11 +9,11 @@ module QA
:install_helm_tiller, :install_ingress, :install_prometheus, :install_runner, :domain
attribute :ingress_ip do
- ingress_ip_value
+ Page::Project::Operations::Kubernetes::Show.perform(&:ingress_ip)
end
attribute :domain do
- "#{ingress_ip_value}.nip.io"
+ "#{ingress_ip}.nip.io"
end
def fabricate!
@@ -56,12 +56,6 @@ module QA
end
end
end
-
- private
-
- def ingress_ip_value
- @ingress_ip_value ||= Page::Project::Operations::Kubernetes::Show.perform(&:ingress_ip)
- end
end
end
end