forked from jupyterhub/zero-to-jupyterhub-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from jupyterhub/master
take over changes
- Loading branch information
Showing
97 changed files
with
2,031 additions
and
906 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# What is this folder about? | ||
|
||
This folder contains the dependency information required by [a notebook](doc/ntbk/draw_function.ipynb) [referenced](doc/source/cost.rst) in our documentation to run on mybinder.org. This dependency information allows a click of [a link](http://mybinder.org/v2/gh/jupyterhub/zero-to-jupyterhub-k8s/master?filepath=doc/ntbk/draw_function.ipynb) to create the rendered notebook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# What is this folder about? | ||
|
||
We use CircleCI to build documentation previews for PRs, as configured through | ||
[.circleci/config.yml], this allows us to easily preview documentation changes | ||
in a PR in its final form before the PR is merged. | ||
|
||
When a PR is merged, the configuration in [readthedocs.yml](readthedocs.yml) will help ReadTheDocs | ||
build the docs and publish to https://z2jh.jupyter.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,98 @@ | ||
dist: xenial | ||
dist: bionic | ||
language: python | ||
python: | ||
- 3.6 | ||
git: | ||
## depth set to false overrides travis default behavior to use shallow clones | ||
## with depth 50 that can cause issues | ||
## | ||
## ref: https://github.com/jupyterhub/chartpress#shallow-clones | ||
## | ||
depth: false | ||
services: | ||
- docker | ||
## stages declares and orders stages | ||
## | ||
## ref: https://docs.travis-ci.com/user/build-stages/#build-stages-and-deployments | ||
## | ||
stages: | ||
- name: lint and validate | ||
- name: test | ||
- name: publish | ||
if: > | ||
branch in (master) | ||
AND | ||
type in (push) | ||
install: | ||
- set -e | ||
- pip3 install --no-cache-dir -r dev-requirements.txt | ||
- . "ci/minikube-${SCENARIO}.env" | ||
- ./ci/install.sh | ||
script: | ||
- ./ci/travis-script.sh | ||
- . ci/common | ||
|
||
stage: test | ||
script: | ||
- setup_kubectl | ||
- setup_kind | ||
- setup_helm | ||
- ./ci/travis-docker-fix | ||
- ./dev kind create | ||
- helm repo add jupyterhub https://jupyterhub.github.io/helm-chart/ | ||
- helm repo update | ||
- ./dev upgrade --chart jupyterhub/jupyterhub --version 0.8.2 | ||
- ./dev upgrade --chart ./jupyterhub | ||
- ./dev port-forward | ||
- ./dev test | ||
env: | ||
# Different scenarios described in | ||
# /ci/minikube-${SCENARIO}.env | ||
matrix: | ||
- SCENARIO=1.13-default | ||
- SCENARIO=1.12-netpol | ||
- SCENARIO=1.11-default | ||
global: | ||
- secure: jpFpbMccpjGP+otWH2Z03VFdtR9AAu2vzrNxsoZ3IvJvrO4MfzYJ3uSCDQuB0NG9gBgaAscpTJtliPTEi7njXHLcsFeWXLUmeBEHLozYxfzDQzMvW3EYdNWcC7oVAAt3de0i0ojw9rGswiofhbu2dAe+Xd2bejv1+PVJcEC3SRPGy17kb6bme6gD3zty5ft4VpzP0nomUNqfZBRLUYxSZuKlHJaZ6Nuq434rKmXrcN6uy+eEWDorTbj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YGL9sYsyXXyW5oI37lB7AqG6D7vOA4TdmTQ= | ||
## NOTE: The environment variables will be expanded to multiple jobs. For | ||
## additional individual jobs, only the first entry is used. | ||
## | ||
## ref: https://docs.travis-ci.com/user/build-stages/#build-stages-and-build-matrix-expansion | ||
## | ||
## | ||
## Z2JH_KUBE_VERSION should match a released kindest/node image tag, but they | ||
## are currently not automatically published. | ||
## | ||
## ref: https://hub.docker.com/r/kindest/node/tags | ||
## ref: https://github.com/kubernetes-sigs/kind/issues/197 | ||
## | ||
- Z2JH_KUBE_VERSION=1.15.6 | ||
- Z2JH_KUBE_VERSION=1.13.12 | ||
- &allow_failure Z2JH_KUBE_VERSION=1.16.3 | ||
|
||
jobs: | ||
## allow experimental setups to fail | ||
## | ||
## ref: https://docs.travis-ci.com/user/customizing-the-build/#rows-that-are-allowed-to-fail | ||
## | ||
allow_failures: | ||
- env: *allow_failure | ||
## don't wait for the jobs that are allowed to fail to report success | ||
## | ||
## ref: https://docs.travis-ci.com/user/customizing-the-build/#fast-finishing | ||
## | ||
fast_finish: true | ||
|
||
## include additional individual jobs | ||
## | ||
include: | ||
- stage: lint and validate | ||
script: | ||
- setup_helm | ||
- setup_kubeval | ||
- ./dev check templates | ||
env: | ||
## inclusions of more than three versions cause rate limiting failures | ||
- Z2JH_VALIDATE_KUBE_VERSIONS=1.11.0,1.14.0,1.16.0 | ||
- stage: publish | ||
script: | ||
- setup_git_crypt | ||
- setup_helm | ||
- helm init --client-only | ||
- ./ci/travis-docker-fix | ||
- ./ci/publish | ||
env: | ||
## encrypted environment variables, used on push to master in the | ||
## publish script to in turn decrypt a SSH key | ||
## | ||
## ref: https://docs.travis-ci.com/user/environment-variables/#encrypting-environment-variables | ||
- secure: jpFpbMccpjGP+otWH2Z03VFdtR9AAu2vzrNxsoZ3IvJvrO4MfzYJ3uSCDQuB0NG9gBgaAscpTJtliPTEi7njXHLcsFeWXLUmeBEHLozYxfzDQzMvW3EYdNWcC7oVAAt3de0i0ojw9rGswi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