Last active
June 18, 2019 17:49
-
-
Save raelga/3d14c15d8916f61030014b54d7f48550 to your computer and use it in GitHub Desktop.
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
sudo: required | |
language: go | |
go: | |
- "1.12" | |
services: | |
- docker | |
install: true | |
script: | |
- echo "Run your tests here" | |
before_install: | |
# Download and install Kind and kubectl | |
- GO111MODULE=on go get sigs.k8s.io/kind | |
- kind create cluster --config kind-config.yaml | |
- export KUBECONFIG="$(kind get kubeconfig-path --name="kind")" | |
- curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.14.3/bin/linux/amd64/kubectl | |
- chmod +x ./kubectl | |
- ./kubectl get nodes -o wide | |
- ./kubectl get pods --all-namespaces -o wide | |
- ./kubectl get services --all-namespaces -o wide |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment