File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if hash powerline-shell 2>/dev/null; then
1111 fi
1212fi
1313
14- # alias odo=odo-v1.0.0-beta1
15- alias odo=odo-latest
14+ alias odo=odo-v1.0.0-beta1
15+ # alias odo=odo-latest
1616
1717complete -C /opt/app-root/bin/odo odo
Original file line number Diff line number Diff line change 66 exit 1
77}
88
9- WORKSHOP_IMAGE=" quay.io/openshiftlabs/lab-developing-with-odo:latest "
9+ WORKSHOP_IMAGE=" quay.io/openshiftlabs/lab-developing-with-odo:summit-2019 "
1010
1111TEMPLATE_REPO=https://raw.githubusercontent.com/openshift-labs/workshop-spawner
1212TEMPLATE_VERSION=3.0.5
@@ -17,6 +17,9 @@ JUPYTERHUB_APPLICATION=${JUPYTERHUB_APPLICATION:-developing-with-odo}
1717
1818JUPYTERHUB_NAMESPACE=` oc project --short 2> /dev/null`
1919
20+ IDLE_TIMEOUT=900
21+ MAX_SESSION_AGE=9000
22+
2023if [ " $? " != " 0" ]; then
2124 fail " Error: Cannot determine name of project."
2225 exit 1
2831
2932oc process -f $TEMPLATE_PATH \
3033 --param APPLICATION_NAME=" $JUPYTERHUB_APPLICATION " \
31- --param PROJECT_NAME=" $JUPYTERHUB_NAMESPACE " | oc apply -f -
34+ --param PROJECT_NAME=" $JUPYTERHUB_NAMESPACE " \
35+ --param IDLE_TIMEOUT=" $IDLE_TIMEOUT " \
36+ --param MAX_SESSION_AGE=" $MAX_SESSION_AGE " | oc apply -f -
3237
3338if [ " $? " != " 0" ]; then
3439 fail " Error: Failed to create deployment for spawner."
You can’t perform that action at this time.
0 commit comments