Skip to content
Snippets Groups Projects
Unverified Commit f321bc49 authored by Frederic Branczyk's avatar Frederic Branczyk Committed by GitHub
Browse files

Merge pull request #671 from paulfantom/tests

tests: allow easy test paralelization
parents e85046ad d5e3c294
No related branches found
No related tags found
No related merge requests found
......@@ -19,3 +19,4 @@ jobs:
script: make --always-make test
- name: Run e2e tests
script: ./tests/e2e/travis-e2e.sh
env: K8S_VERSION=1.19.0
......@@ -8,12 +8,14 @@ set -u
# print each command before executing it
set -x
K8S_VERSION="${K8S_VERSION:-"1.19.1"}"
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x kubectl
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.7.0/kind-linux-amd64
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.9.0/kind-linux-amd64
chmod +x kind
./kind create cluster --image=kindest/node:v1.19.0
./kind create cluster --image="kindest/node:v${K8S_VERSION}"
# the default kube config location used by kind
export KUBECONFIG="${HOME}/.kube/config"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment