mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-03-04 19:10:26 +00:00
Test Travis Kubernetes in Docker
This commit is contained in:
@@ -15,7 +15,10 @@ addons:
|
||||
before_install:
|
||||
- make dep
|
||||
- go get sigs.k8s.io/kind
|
||||
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
|
||||
- kind create cluster
|
||||
- export KUBECONFIG="$(kind get kubeconfig-path --name="1")"
|
||||
- ./kubectl cluster-info
|
||||
|
||||
script:
|
||||
- make test
|
||||
|
||||
Reference in New Issue
Block a user