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
11
11
fi
12
12
fi
13
13
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
16
16
17
17
complete -C /opt/app-root/bin/odo odo
Original file line number Diff line number Diff line change 6
6
exit 1
7
7
}
8
8
9
- WORKSHOP_IMAGE=" quay.io/openshiftlabs/lab-developing-with-odo:latest "
9
+ WORKSHOP_IMAGE=" quay.io/openshiftlabs/lab-developing-with-odo:summit-2019 "
10
10
11
11
TEMPLATE_REPO=https://raw.githubusercontent.com/openshift-labs/workshop-spawner
12
12
TEMPLATE_VERSION=3.0.5
@@ -17,6 +17,9 @@ JUPYTERHUB_APPLICATION=${JUPYTERHUB_APPLICATION:-developing-with-odo}
17
17
18
18
JUPYTERHUB_NAMESPACE=` oc project --short 2> /dev/null`
19
19
20
+ IDLE_TIMEOUT=900
21
+ MAX_SESSION_AGE=9000
22
+
20
23
if [ " $? " != " 0" ]; then
21
24
fail " Error: Cannot determine name of project."
22
25
exit 1
28
31
29
32
oc process -f $TEMPLATE_PATH \
30
33
--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 -
32
37
33
38
if [ " $? " != " 0" ]; then
34
39
fail " Error: Failed to create deployment for spawner."
You can’t perform that action at this time.
0 commit comments