Skip to content

Commit

Permalink
jupyter: remove README.ipynb since it is fairly specific to Ouranos
Browse files Browse the repository at this point in the history
This repo is intended to be generic.

That README.ipynb is moved to PR Ouranosinc/PAVICS-landing#31.
  • Loading branch information
tlvu committed Sep 15, 2021
1 parent a6f05b9 commit d3a3abc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 252 deletions.
2 changes: 1 addition & 1 deletion birdhouse/components/monitoring/prometheus.rules.template
Expand Up @@ -293,7 +293,7 @@ groups:
rules:

- alert: ContainerKilled
expr: time() - container_last_seen{name!~"deploy_tutorial_notebooks|notebookdeploy|autodeploy|deploy_README_ipynb"} > 60
expr: time() - container_last_seen{name!~"deploy_tutorial_notebooks|notebookdeploy|autodeploy"} > 60
for: 5m
labels:
severity: warning
Expand Down
9 changes: 0 additions & 9 deletions birdhouse/deployment/deploy.sh
Expand Up @@ -180,15 +180,6 @@ set -x
# restart everything, only changed containers will be destroyed and recreated
./pavics-compose.sh up -d

# deploy new README.ipynb to Jupyter instance
docker run --rm --name deploy_README_ipynb \
-v "$JUPYTERHUB_USER_DATA_DIR":/notebook_dir \
-v $REPO_ROOT/docs/source/notebooks:/nb:ro \
-u root \
bash:5.1.4 \
bash -c "cp -v /nb/README.ipynb /notebook_dir/.; \
chown root:root /notebook_dir/README.ipynb"

set +x

echo "
Expand Down

0 comments on commit d3a3abc

Please sign in to comment.