File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed
Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -x
4+
5+ set -eo pipefail
6+
7+ # Use odo v1.0.0-beta1
8+ # ----------------
9+ curl -kLs https://github.com/openshift/odo/releases/download/v1.0.0-beta1/odo-linux-amd64 -o /opt/app-root/bin/odo-v1.0.0-beta1
10+ chmod 755 /opt/app-root/bin/odo-v1.0.0-beta1
11+ # ----------------
12+ # Also get odo latest binary built
13+ # ----------------
14+ curl -kLs https://dl.bintray.com/odo/odo/latest/linux-amd64/odo -o /opt/app-root/bin/odo-latest
15+ chmod 755 /opt/app-root/bin/odo-latest
16+ # ----------------
17+
18+ /opt/app-root/bin/odo-latest preference set UpdateNotification false
Original file line number Diff line number Diff line change 44
55set -eo pipefail
66
7- # Use odo v1.0.0-beta1
8- # ----------------
9- curl -kLs https://github.com/openshift/odo/releases/download/v1.0.0-beta1/odo-linux-amd64 -o /opt/app-root/bin/odo-v1.0.0-beta1
10- chmod 755 /opt/app-root/bin/odo-v1.0.0-beta1
11- # ----------------
12- # Also get odo latest binary built
13- # ----------------
14- curl -kLs https://dl.bintray.com/odo/odo/latest/linux-amd64/odo -o /opt/app-root/bin/odo-latest
15- chmod 755 /opt/app-root/bin/odo-latest
16- # ----------------
17-
18- /opt/app-root/bin/odo-latest preference set UpdateNotification false
19-
207if [ x" $PROJECT_NAMESPACE " != x" " ]; then
218 # TODO: Change back to view once the issue is solved
229 oc policy add-role-to-user edit -z default -n " $PROJECT_NAMESPACE " || true
You can’t perform that action at this time.
0 commit comments