Commit a05bef0a authored by Daniel Webster's avatar Daniel Webster
Browse files

Fix the gitlab-ci.yml

parent 00014fbf
Pipeline #646 passed with stages
in 1 minute and 4 seconds
......@@ -24,7 +24,7 @@ variables:
HOSTNAME: h5.apps.okd2.ceric.fedcloud.eu
IMAGE: $REGISTRY/$PROJECT/$APP
NOTEBOOK: notebook
NOTEBOOK_IMAGE: notebook
NOTEBOOK_IMAGE: $PROJECT/s2i-minimal-notebook:3.6
PVCNAME: h5-data
PVSIZE: 5Gi
DATADIR: /opt/app-root/src/data
......@@ -39,6 +39,7 @@ build-app:
- oc delete all -lapp=${NOTEBOOK} --ignore-not-found=true
- 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 $PVCNAME -t pvc --claim-mode ReadWriteMany --claim-name $PVCNAME --overwrite --claim-class $STORAGECLASS --claim-size $PVSIZE -m ${DATADIR} || true
- sleep 30
deploy-app:
......
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