Created
September 5, 2017 16:32
-
-
Save funollet/d32492a388dd1bdffff00708f490e21a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ task -l | |
Available tasks for this project: | |
* default: Install everything. | |
* kubernetes: Install kubectl (stable release). | |
* minikube: Install minikube. | |
* terraform: Install terraform. https://www.terraform.io |
This file contains hidden or 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
kubernetes: | |
desc: Install kubectl (stable release). | |
dir: /tmp | |
cmds: | |
- wget -nv -c {{.URL}} | |
- sudo install kubectl /usr/local/bin | |
- kubectl completion bash > k8s.completion | |
- sudo install -m 644 k8s.completion /etc/bash_completion.d/kubernetes | |
vars: | |
VERSION: | |
sh: curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt | |
URL: https://storage.googleapis.com/kubernetes-release/release/{{.VERSION}}/bin/linux/amd64/kubectldefault: | |
default: | |
desc: Install everything. | |
deps: | |
- kubernetes | |
- minikube | |
- terraform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment