-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from Shopify/dev
Add a dev.yml which uses dev's minikube support to get Shopify employees set up quickly
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: kubernetes-deploy | ||
up: | ||
- ruby: 2.3.3 | ||
- bundler | ||
- homebrew: | ||
- Caskroom/cask/minikube | ||
- custom: | ||
name: Minikube Cluster | ||
met?: test $(minikube status | grep Running | wc -l) -eq 2 && $(minikube status | grep -q 'Correctly Configured') | ||
meet: minikube start --vm-driver=xhyve --kubernetes-version=v1.7.5 | ||
down: minikube stop | ||
commands: | ||
reset-minikube: minikube delete && rm -rf ~/.minikube | ||
test: | ||
run: bundle exec rake 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 |