Remove unused let and rename var in QA autodevops spec
This commit is contained in:
parent
8a7a3f92a4
commit
a08cce86dd
1 changed files with 7 additions and 9 deletions
|
@ -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!
|
||||||
|
|
Loading…
Reference in a new issue