kopia lustrzana https://github.com/jupyterhub/repo2docker
verify that postBuild is run in tests/venv/start/postBuild
rodzic
d0ef0828d4
commit
5798f45bba
|
@ -2,3 +2,5 @@
|
|||
|
||||
# this value should not be visible in `verify`
|
||||
export TEST_START_VAR="var is set by postBuild"
|
||||
|
||||
echo 'Done!' > $HOME/postbuild.txt
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
jupyter nbextension list | grep 'jupyter-leaflet' | grep enabled
|
||||
|
||||
grep 'Done!' $HOME/postbuild.txt
|
||||
# set value of TEST_START_VAR to empty string when it is not defined
|
||||
if [ "${TEST_START_VAR:-}" != "var is set" ]
|
||||
then
|
||||
|
|
Ładowanie…
Reference in New Issue