Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.0.0-beta5 #2075

Merged
merged 1 commit into from
Sep 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 10 additions & 16 deletions docs/cli-reference.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= Overview of the odo (OpenShift Do) CLI Structure
= Overview of the Odo (OpenShift Do) CLI Structure

___________________
Example application
Expand Down Expand Up @@ -156,9 +156,9 @@ odo --alsologtostderr --log_backtrace_at --log_dir --logtostderr --o --skip-conn
set --short : Set the current active project
push --config --context --force-build --ignore --show-log --source : Push source code to a component
service : Perform service catalog operations (create, delete, list)
create --app --parameters --plan --project --wait : Create a new service from service catalog using the plan defined and deploy it on OpenShift.
delete --app --force --project : Delete an existing service
list --app --project : List all services in the current application
create --app --context --parameters --plan --project --wait : Create a new service from service catalog using the plan defined and deploy it on OpenShift.
delete --app --context --force --project : Delete an existing service
list --app --context --project : List all services in the current application
storage : Perform storage operations (create, delete, list)
create --app --component --context --path --project --size : Create storage and mount to a component
delete --app --component --context --force --project : Delete storage from component
Expand Down Expand Up @@ -629,17 +629,11 @@ _________________

Modifies odo specific configuration settings within the global preference file.

[NOTE]
====
By default the path to the global preference file is `~/.odo/preferece.yaml`, it is stored in in the environment variable `GLOBALODOCONFIG`. You can set up a custom path by setting the value of the environment variable to a new preference path, for example `GLOBALODOCONFIG="new_path/preference.yaml"`

Run `echo "$GLOBALODOCONFIG"` to display the current value of the variable.
====

Available Parameters:
NamePrefix - Default prefix is the current directory name. Use this value to set a default name prefix
Timeout - Timeout (in seconds) for OpenShift server connection check
UpdateNotification - Controls if an update notification is shown or not (true or false)
NamePrefix - Use this value to set a default name prefix (Default: current directory name)
Timeout - Timeout (in seconds) for OpenShift server connection check (Default: 1)
UpdateNotification - Flag to control if an update notification is shown or not (Default: true)


[[project]]
Expand Down Expand Up @@ -840,15 +834,15 @@ _________________

[source,sh]
----
# Create a URL with a specific name by automatically detecting the port used by the component
odo url create example

# Create a URL for the current component with a specific port
odo url create --port 8080

# Create a URL with a specific name and port
odo url create example --port 8080

# Create a URL with a specific name by automatic detection of port (only for components which expose only one service port)
odo url create example

# Create a URL with a specific name and port for component frontend
odo url create example --port 8080 --component frontend
# Delete a URL to a component
Expand Down
2 changes: 1 addition & 1 deletion pkg/odo/cli/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (

var (
// VERSION is version number that will be displayed when running ./odo version
VERSION = "v1.0.0-beta4"
VERSION = "v1.0.0-beta5"

// GITCOMMIT is hash of the commit that will be displayed when running ./odo version
// this will be overwritten when running build like this: go build -ldflags="-X github.com/openshift/odo/cmd.GITCOMMIT=$(GITCOMMIT)"
Expand Down
2 changes: 1 addition & 1 deletion scripts/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -e
ODO_VERSION="latest"

# Latest released odo version
LATEST_VERSION="v1.0.0-beta4"
LATEST_VERSION="v1.0.0-beta5"

GITHUB_RELEASES_URL="https://github.com/openshift/odo/releases/download/${LATEST_VERSION}"
BINTRAY_URL="https://dl.bintray.com/odo/odo/latest"
Expand Down