Release of v2.0.0-alpha-2
This is the v2.0.0-alpha-2 release of odo!
In this release we switch the default deployment mechanism from Source-To-Image to Devfile.
In order to start using Devfile, follow our deploying a devfile using odo guide.
Breaking changes:
- As of right now, the following commands do not work:
odo catalog describe component <component-name>
odo catalog describe service <service-name>
Please open a GitHub issue if you encounter any other commands that do not work!
Installing v2.0.0-alpha-2 of odo
v2.0.0-alpha-2 of odo uses devfile as its default deployment mechanism.
Installing odo on Linux
Binary installation
# curl -L https://github.com/openshift/odo/releases/download/v2.0.0-alpha-2/odo-linux-amd64 -o /usr/local/bin/odo
# chmod +x /usr/local/bin/odo
Installing odo on macOS
Binary installation
# curl -L https://github.com/openshift/odo/releases/download/v2.0.0-alpha-2/odo-darwin-amd64 -o /usr/local/bin/odo
# chmod +x /usr/local/bin/odo
Installing odo on Windows
Binary installation
-
Download the latest
odo.exe
file. -
Add the location of your
odo.exe
to yourGOPATH/bin
directory.
Setting the PATH
variable for Windows 10
Edit Environment Variables
using search:
-
Click Search and type
env
orenvironment
. -
Select Edit environment variables for your account.
-
Select Path from the Variable section and click Edit.
-
Click New and type
C:\go-bin
into the field or click Browse and select the directory, and click OK.
Setting the PATH
variable for Windows 7/8
The following example demonstrates how to set up a path variable. Your binaries can be located in any location, but this example uses C:\go-bin as the location.
-
Create a folder at
C:\go-bin
. -
Right click Start and click Control Panel.
-
Select System and Security and then click System.
-
From the menu on the left, select the Advanced systems settings and click the Environment Variables button at the bottom.
-
Select Path from the Variable section and click Edit.
-
Click New and type
C:\go-bin
into the field or click Browse and select the directory, and click OK.