blob: fc9162453574de980d3181da902b278b0d2adc66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# frozen_string_literal: true
module QA
module Service
module ClusterProvider
class Minikube < Base
def validate_dependencies
find_executable('minikube') || raise("You must first install `minikube` executable to run these tests.")
end
def set_credentials(admin_user)
end
def setup
shell 'minikube stop'
shell "minikube profile #{cluster_name}"
shell 'minikube start'
end
def teardown
shell 'minikube delete'
end
end
end
end
end
|