Commit a08cce86 authored by Dylan Griffith's avatar Dylan Griffith

Remove unused let and rename var in QA autodevops spec

parent 8a7a3f92
module QA module QA
feature 'Auto Devops', :kubernetes do feature 'Auto Devops', :kubernetes do
let(:executor) { "qa-runner-#{Time.now.to_i}" }
after do after do
@cluster&.remove! @cluster&.remove!
end end
...@@ -28,13 +26,13 @@ module QA ...@@ -28,13 +26,13 @@ module QA
# Create and connect K8s cluster # Create and connect K8s cluster
@cluster = Service::KubernetesCluster.new.create! @cluster = Service::KubernetesCluster.new.create!
kubernetes_cluster = Factory::Resource::KubernetesCluster.fabricate! do |c| kubernetes_cluster = Factory::Resource::KubernetesCluster.fabricate! do |cluster|
c.project = project cluster.project = project
c.cluster = @cluster cluster.cluster = @cluster
c.install_helm_tiller = true cluster.install_helm_tiller = true
c.install_ingress = true cluster.install_ingress = true
c.install_prometheus = true cluster.install_prometheus = true
c.install_runner = true cluster.install_runner = true
end end
project.visit! project.visit!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment