Remove unused let and rename var in QA autodevops spec

This commit is contained in:
Dylan Griffith 2018-06-06 11:39:22 +02:00
parent 8a7a3f92a4
commit a08cce86dd

View file

@ -1,7 +1,5 @@
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
# 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!