Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI build error #394

Merged
merged 3 commits into from
Jan 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,19 @@ matrix:
# the latest supported kubernetes-client,
# and use the latest supported kubernetes
# version along for the kubernetes-client.
#
# KUBE_PY represent the version of kubernetes-client/python, and client
# version 8 supports k8s API version 1.12, and version 9 supports k8s API
# version 1.13 and so on.
- python: 3.8
env: KUBE_PY=8 KUBE_VERSION=1.12.10
- python: 3.7
# NOTE: TravisCI's linux kernel, has since 2020 or so, when specifying
# bionic as a distribution, made minikube fail to start a k8s 1.13
# cluster. This is why we use xenial here.
# Reference - a build failure with bionic:
# https://travis-ci.org/jupyterhub/kubespawner/jobs/642305915
- dist: xenial
python: 3.7
env: KUBE_PY=9 KUBE_VERSION=1.13.12
- python: 3.6
env: &latest_supported KUBE_PY=10 KUBE_VERSION=1.14.9
Expand All @@ -52,13 +62,13 @@ matrix:
# python dependencies
- &allowed_failure_1
python: 3.8
env: PRE_RELEASES=TRUE KUBE_VERSION=1.15.3
env: PRE_RELEASES=TRUE KUBE_VERSION=1.15.9

# 2. Test with latest stable kubernetes client along with the latest
# kubernetes cluster version
- &allowed_failure_2
python: 3.8
env: KUBE_PY=10 KUBE_VERSION=1.16.3
env: KUBE_PY=10 KUBE_VERSION=1.17.2

# 3. Test with a nightly python build using latest known
# supported configuration.
Expand Down
6 changes: 3 additions & 3 deletions ci/minikube.env
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# default values for relevant environment variables

# ref: https://github.com/kubernetes/minikube/releases
export KUBE_VERSION=${KUBE_VERSION:-1.16.3}
# ref: https://github.com/kubernetes/kubernetes/releases
export KUBE_VERSION=${KUBE_VERSION:-1.17.2}

# ref: https://github.com/kubernetes/minikube/releases
export MINIKUBE_VERSION=${MINIKUBE_VERSION:-1.5.2}
export MINIKUBE_VERSION=${MINIKUBE_VERSION:-1.6.2}

# ref: https://github.com/helm/helm/releases
export HELM_VERSION=${HELM_VERSION:-2.16.1}
Expand Down