forked from Shopify/krane
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.yml
More file actions
26 lines (26 loc) · 1.06 KB
/
dev.yml
File metadata and controls
26 lines (26 loc) · 1.06 KB
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
---
name: kubernetes-deploy
up:
- ruby: 3.2.2 # Matches gemspec
- bundler
- homebrew:
- Caskroom/cask/minikube
- custom:
name: Install the minikube fork of driver-hyperkit
met?: command -v docker-machine-driver-hyperkit
meet: curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-hyperkit && sudo install -o root -g wheel -m 4755 docker-machine-driver-hyperkit /usr/local/bin/ && rm ./docker-machine-driver-hyperkit
- custom:
name: Minikube Cluster
met?: test $(minikube status | grep Running | wc -l) -ge 2 && $(minikube status | grep -q 'Correctly Configured')
meet: minikube start --kubernetes-version=v1.11.6 --vm-driver=hyperkit
down: minikube stop
commands:
reset-minikube: minikube delete && rm -rf ~/.minikube
test:
run: bin/test
tophat:
run: PRINT_LOGS=1 bundle exec ruby -I test test/integration/kubernetes_deploy_test.rb -n/${1}/
desc: Tophat a change by running a test scenario with logging output enabled.
syntax:
optional:
argument: TEST_REGEX