Skip to content

Commit

Permalink
Merge pull request jupyterhub#394 from consideRatio/resolve-ci-issue
Browse files Browse the repository at this point in the history
Fix CI build error
  • Loading branch information
consideRatio committed Jan 27, 2020
2 parents 892780a + 23b6453 commit fb1de7a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
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

0 comments on commit fb1de7a

Please sign in to comment.