Commit 3a46f5f9 authored by Daniel Webster's avatar Daniel Webster
Browse files

fixup configmap chars

parent ea2bea3f
Pipeline #734 passed with stages
in 1 minute and 9 seconds
......@@ -25,7 +25,7 @@ variables:
IMAGE: $REGISTRY/$PROJECT/$APP
NOTEBOOK: notebook
NOTEBOOK_IMAGE: $PROJECT/s2i-minimal-notebook:3.6
NOTEBOOK_CFG: jupyter_notebook_config
NOTEBOOK_CFG: jupyter-notebook-config
CFG_DIR: /opt/app-root/etc/
PVCNAME: h5-data
PVSIZE: 5Gi
......@@ -43,7 +43,7 @@ build-app:
- oc create cm $NOTEBOOK_CFG --from-file=jupyter/jupyter_notebook_config.py
- oc new-app --name $APP python~${GITREPO} --as-deployment-config=true -e NOTEBOOK_TOKEN=${NOTEBOOK_TOKEN}
- oc new-app --name $NOTEBOOK -i $NOTEBOOK_IMAGE --as-deployment-config=true -e JUPYTER_NOTEBOOK_PASSWORD=${NOTEBOOK_TOKEN}
- oc set volume dc/${NOTEBOOK} --add --name $NOTEBOOK_CFG --configmap-name $NOTEBOOK_CFG -m ${CFG_DIR}/${NOTEBOOK_CFG}.py --sub-path ${NOTEBOOK_CFG}.py --overwrite || true
- oc set volume dc/${NOTEBOOK} --add --name $NOTEBOOK_CFG --configmap-name $NOTEBOOK_CFG -m ${CFG_DIR}/jupyter_notebook_config.py --sub-path jupyter_notebook_config.py --overwrite || true
- oc set volume dc/${NOTEBOOK} --add --name $PVCNAME -t pvc --claim-mode ReadWriteMany --claim-name $PVCNAME --overwrite --claim-class $STORAGECLASS --claim-size $PVSIZE -m ${DATADIR} || true
- sleep 30
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment