diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-11-21 17:48:14 +0000 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-11-22 10:18:07 +0000 |
commit | 549545bd771bb78d55799c0f5c152df58b0e788b (patch) | |
tree | d7006764611651804fd2c3c311e2519812cd077e | |
parent | 17b887fa3e4ea84937e6084cf8578e3d50bf1014 (diff) | |
download | gitlab-ce-amit1rrr/gitlab-ce-certmanager-temp.tar.gz |
Add install_cert_manager to auto devops QAamit1rrr/gitlab-ce-certmanager-temp
-rw-r--r-- | qa/qa/resource/kubernetes_cluster.rb | 4 | ||||
-rw-r--r-- | qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/qa/qa/resource/kubernetes_cluster.rb b/qa/qa/resource/kubernetes_cluster.rb index 96c8843fb99..eb563056731 100644 --- a/qa/qa/resource/kubernetes_cluster.rb +++ b/qa/qa/resource/kubernetes_cluster.rb @@ -6,7 +6,7 @@ module QA module Resource class KubernetesCluster < Base attr_writer :project, :cluster, - :install_helm_tiller, :install_ingress, :install_prometheus, :install_runner + :install_helm_tiller, :install_ingress, :install_prometheus, :install_runner, :install_cert_manager attribute :ingress_ip do Page::Project::Operations::Kubernetes::Show.perform(&:ingress_ip) @@ -45,10 +45,12 @@ module QA page.install!(:ingress) if @install_ingress page.install!(:prometheus) if @install_prometheus page.install!(:runner) if @install_runner + page.install!(:cert_manager) if @install_cert_manager page.await_installed(:ingress) if @install_ingress page.await_installed(:prometheus) if @install_prometheus page.await_installed(:runner) if @install_runner + page.await_installed(:cert_manager) if @install_cert_manager end end end diff --git a/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb b/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb index 30ec0665973..4c4083be1a1 100644 --- a/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb +++ b/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb @@ -48,6 +48,7 @@ module QA cluster.install_ingress = true cluster.install_prometheus = true cluster.install_runner = true + cluster.install_cert_manager = true end kubernetes_cluster.populate(:ingress_ip) |