delete test-hub before starting helm binder
may free up needed resources
@@ -55,6 +55,12 @@ script:
- set -e
# build helm chart
- ./helm-chart/build.py build --commit-range ${TRAVIS_COMMIT_RANGE}
+
+# install jupyterhub for local binderhub testing
+- ./testing/minikube/install-hub
+- pytest -vsx --cov binderhub
+- helm delete --purge binder-test-hub
+
# smoke test helm install
- helm repo add jupyterhub https://jupyterhub.github.io/helm-chart
- helm dependency update helm-chart/binderhub
@@ -65,10 +71,6 @@ script:
helm-chart/binderhub \
-f helm-chart/minikube-binder.yaml
-# install jupyterhub for local binderhub testing
-- ./testing/minikube/install-hub
-- pytest -vsx --cov binderhub
-
# run a few tests again, this time against the helm-installed binder
- |
BINDER_TEST_URL=http://127.0.0.1:30948 \
