blob: 08b2c7fbac9a393f372d02aff0928a1348dd8ecc (
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 CloudProvider
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
|