diff --git a/README.md b/README.md index e22f1fd0ae..034ff86a78 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
-**Get started:** [Install](https://docs.cortex.dev/install) • [Tutorial](https://docs.cortex.dev/tutorial) • [Docs](https://docs.cortex.dev) • [Examples](https://github.com/cortexlabs/cortex/tree/0.5/examples) +**Get started:** [Install](https://docs.cortex.dev/install) • [Tutorial](https://docs.cortex.dev/tutorial) • [Docs](https://docs.cortex.dev/v/0.6) • [Examples](https://github.com/cortexlabs/cortex/tree/0.6/examples) **Learn more:** [Website](https://cortex.dev) • [Blog](https://blog.cortex.dev) • [Subscribe](https://cortexlabs.us20.list-manage.com/subscribe?u=a1987373ab814f20961fd90b4&id=ae83491e1c) • [Twitter](https://twitter.com/cortex_deploy) • [Contact](mailto:hello@cortex.dev) diff --git a/build/build-image.sh b/build/build-image.sh index 7e8ce0353f..527706dd81 100755 --- a/build/build-image.sh +++ b/build/build-image.sh @@ -19,7 +19,7 @@ set -euo pipefail ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. >/dev/null && pwd)" -CORTEX_VERSION=master +CORTEX_VERSION=0.6.0 dir=$1 image=$2 diff --git a/build/cli.sh b/build/cli.sh index fb515bbb11..85a9e467e2 100755 --- a/build/cli.sh +++ b/build/cli.sh @@ -19,7 +19,7 @@ set -euo pipefail ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. >/dev/null && pwd)" -CORTEX_VERSION=master +CORTEX_VERSION=0.6.0 arg1=${1:-""} upload="false" diff --git a/build/push-image.sh b/build/push-image.sh index b502d0d4f5..db8959e55c 100755 --- a/build/push-image.sh +++ b/build/push-image.sh @@ -17,7 +17,7 @@ set -euo pipefail -CORTEX_VERSION=master +CORTEX_VERSION=0.6.0 image=$1 diff --git a/cortex.sh b/cortex.sh index d682bb1102..26418557fa 100755 --- a/cortex.sh +++ b/cortex.sh @@ -88,7 +88,7 @@ fi set -u -export CORTEX_VERSION_STABLE=master +export CORTEX_VERSION_STABLE=0.6.0 # Defaults export AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID:-""}" diff --git a/docs/cluster/config.md b/docs/cluster/config.md index 6dc5ac1358..eda4f3fbb2 100644 --- a/docs/cluster/config.md +++ b/docs/cluster/config.md @@ -39,25 +39,25 @@ export CORTEX_NODES_MAX=5 export CORTEX_NAMESPACE="cortex" # Image paths -export CORTEX_IMAGE_MANAGER="cortexlabs/manager:master" -export CORTEX_IMAGE_ARGO_CONTROLLER="cortexlabs/argo-controller:master" -export CORTEX_IMAGE_ARGO_EXECUTOR="cortexlabs/argo-executor:master" -export CORTEX_IMAGE_FLUENTD="cortexlabs/fluentd:master" -export CORTEX_IMAGE_NGINX_BACKEND="cortexlabs/nginx-backend:master" -export CORTEX_IMAGE_NGINX_CONTROLLER="cortexlabs/nginx-controller:master" -export CORTEX_IMAGE_OPERATOR="cortexlabs/operator:master" -export CORTEX_IMAGE_SPARK="cortexlabs/spark:master" -export CORTEX_IMAGE_SPARK_OPERATOR="cortexlabs/spark-operator:master" -export CORTEX_IMAGE_TF_SERVE="cortexlabs/tf-serve:master" -export CORTEX_IMAGE_TF_TRAIN="cortexlabs/tf-train:master" -export CORTEX_IMAGE_TF_API="cortexlabs/tf-api:master" -export CORTEX_IMAGE_TF_TRAIN_GPU="cortexlabs/tf-train-gpu:master" -export CORTEX_IMAGE_TF_SERVE_GPU="cortexlabs/tf-serve-gpu:master" -export CORTEX_IMAGE_ONNX_SERVE="cortexlabs/onnx-serve:master" -export CORTEX_IMAGE_PYTHON_PACKAGER="cortexlabs/python-packager:master" -export CORTEX_IMAGE_CLUSTER_AUTOSCALER="cortexlabs/cluster-autoscaler:master" -export CORTEX_IMAGE_NVIDIA="cortexlabs/nvidia:master" -export CORTEX_IMAGE_METRICS_SERVER="cortexlabs/metrics-server:master" +export CORTEX_IMAGE_MANAGER="cortexlabs/manager:0.6.0" +export CORTEX_IMAGE_ARGO_CONTROLLER="cortexlabs/argo-controller:0.6.0" +export CORTEX_IMAGE_ARGO_EXECUTOR="cortexlabs/argo-executor:0.6.0" +export CORTEX_IMAGE_FLUENTD="cortexlabs/fluentd:0.6.0" +export CORTEX_IMAGE_NGINX_BACKEND="cortexlabs/nginx-backend:0.6.0" +export CORTEX_IMAGE_NGINX_CONTROLLER="cortexlabs/nginx-controller:0.6.0" +export CORTEX_IMAGE_OPERATOR="cortexlabs/operator:0.6.0" +export CORTEX_IMAGE_SPARK="cortexlabs/spark:0.6.0" +export CORTEX_IMAGE_SPARK_OPERATOR="cortexlabs/spark-operator:0.6.0" +export CORTEX_IMAGE_TF_SERVE="cortexlabs/tf-serve:0.6.0" +export CORTEX_IMAGE_TF_TRAIN="cortexlabs/tf-train:0.6.0" +export CORTEX_IMAGE_TF_API="cortexlabs/tf-api:0.6.0" +export CORTEX_IMAGE_TF_TRAIN_GPU="cortexlabs/tf-train-gpu:0.6.0" +export CORTEX_IMAGE_TF_SERVE_GPU="cortexlabs/tf-serve-gpu:0.6.0" +export CORTEX_IMAGE_ONNX_SERVE="cortexlabs/onnx-serve:0.6.0" +export CORTEX_IMAGE_PYTHON_PACKAGER="cortexlabs/python-packager:0.6.0" +export CORTEX_IMAGE_CLUSTER_AUTOSCALER="cortexlabs/cluster-autoscaler:0.6.0" +export CORTEX_IMAGE_NVIDIA="cortexlabs/nvidia:0.6.0" +export CORTEX_IMAGE_METRICS_SERVER="cortexlabs/metrics-server:0.6.0" # Flag to enable collecting error reports and usage stats. If flag is not set to either "true" or "false", you will be prompted. export CORTEX_ENABLE_TELEMETRY="" diff --git a/docs/cluster/install.md b/docs/cluster/install.md index 92eb044ae1..c72a5a6da0 100644 --- a/docs/cluster/install.md +++ b/docs/cluster/install.md @@ -11,7 +11,7 @@ ```bash # Download -curl -O https://raw.githubusercontent.com/cortexlabs/cortex/master/cortex.sh +curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.6/cortex.sh # Change permissions chmod +x cortex.sh @@ -43,7 +43,7 @@ cortex configure ```bash # Clone the Cortex repository -git clone -b master https://github.com/cortexlabs/cortex.git +git clone -b 0.6 https://github.com/cortexlabs/cortex.git # Navigate to the iris classification example cd cortex/examples/iris diff --git a/docs/cluster/uninstall.md b/docs/cluster/uninstall.md index 42f8f134cf..5f57ebd356 100644 --- a/docs/cluster/uninstall.md +++ b/docs/cluster/uninstall.md @@ -11,7 +11,7 @@ ```bash # Download -curl -O https://raw.githubusercontent.com/cortexlabs/cortex/master/cortex.sh +curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.6/cortex.sh # Change permissions chmod +x cortex.sh diff --git a/docs/pipelines/aggregates.md b/docs/pipelines/aggregates.md index 8a33312d9d..41ddc29dfb 100644 --- a/docs/pipelines/aggregates.md +++ b/docs/pipelines/aggregates.md @@ -23,7 +23,7 @@ Aggregate columns at scale. See [Data Types](data-types.md) for details about input values. Note: the `input` of the the aggregate must match the input type of the aggregator (if specified). -See [`aggregators.yaml`](https://github.com/cortexlabs/cortex/blob/master/pkg/aggregators/aggregators.yaml) for a list of built-in aggregators. +See [`aggregators.yaml`](https://github.com/cortexlabs/cortex/blob/0.6/pkg/aggregators/aggregators.yaml) for a list of built-in aggregators. ## Example diff --git a/docs/pipelines/aggregators-custom.md b/docs/pipelines/aggregators-custom.md index ba5e029258..b4604f9296 100644 --- a/docs/pipelines/aggregators-custom.md +++ b/docs/pipelines/aggregators-custom.md @@ -22,7 +22,7 @@ def aggregate_spark(data, input): pass ``` -See Cortex's built-in [aggregators](https://github.com/cortexlabs/cortex/blob/master/pkg/aggregators) for example implementations. +See Cortex's built-in [aggregators](https://github.com/cortexlabs/cortex/blob/0.6/pkg/aggregators) for example implementations. ## Example diff --git a/docs/pipelines/aggregators.md b/docs/pipelines/aggregators.md index 7155177246..a9d0739185 100644 --- a/docs/pipelines/aggregators.md +++ b/docs/pipelines/aggregators.md @@ -30,4 +30,4 @@ See [Data Types](data-types.md) for details about input and output types. ## Built-in Aggregators -Cortex includes common aggregators that can be used out of the box (see [`aggregators.yaml`](https://github.com/cortexlabs/cortex/blob/master/pkg/aggregators/aggregators.yaml)). To use built-in aggregators, use the `cortex` namespace in the aggregator name (e.g. `cortex.mean`). +Cortex includes common aggregators that can be used out of the box (see [`aggregators.yaml`](https://github.com/cortexlabs/cortex/blob/0.6/pkg/aggregators/aggregators.yaml)). To use built-in aggregators, use the `cortex` namespace in the aggregator name (e.g. `cortex.mean`). diff --git a/docs/pipelines/estimators-custom.md b/docs/pipelines/estimators-custom.md index f55f7f958a..101bf4a398 100644 --- a/docs/pipelines/estimators-custom.md +++ b/docs/pipelines/estimators-custom.md @@ -28,7 +28,7 @@ def create_estimator(run_config, model_config): See the [tf.estimator.RunConfig](https://www.tensorflow.org/api_docs/python/tf/estimator/RunConfig) and [tf.estimator.Estimator](https://www.tensorflow.org/api_docs/python/tf/estimator/Estimator) documentation for more information. -See Cortex's built-in [estimators](https://github.com/cortexlabs/cortex/blob/master/pkg/estimators) for example implementations. +See Cortex's built-in [estimators](https://github.com/cortexlabs/cortex/blob/0.6/pkg/estimators) for example implementations. ## Example diff --git a/docs/pipelines/estimators.md b/docs/pipelines/estimators.md index ff48e0ef83..a22530daed 100644 --- a/docs/pipelines/estimators.md +++ b/docs/pipelines/estimators.md @@ -35,4 +35,4 @@ See [Data Types](data-types.md) for details about input types. ## Built-in Estimators -Cortex includes common estimators that can be used out of the box (see [`estimators.yaml`](https://github.com/cortexlabs/cortex/blob/master/pkg/estimators/estimators.yaml)). To use built-in estimators, use the `cortex` namespace in the estimator name (e.g. `cortex.dnn_classifier`). +Cortex includes common estimators that can be used out of the box (see [`estimators.yaml`](https://github.com/cortexlabs/cortex/blob/0.6/pkg/estimators/estimators.yaml)). To use built-in estimators, use the `cortex` namespace in the estimator name (e.g. `cortex.dnn_classifier`). diff --git a/docs/pipelines/transformed-columns.md b/docs/pipelines/transformed-columns.md index 519f9965eb..fca7c30fcc 100644 --- a/docs/pipelines/transformed-columns.md +++ b/docs/pipelines/transformed-columns.md @@ -23,7 +23,7 @@ Transform data at scale. See [Data Types](data-types.md) for details about input values. Note: the `input` of the the transformed column must match the input type of the transformer (if specified). -See [`transformers.yaml`](https://github.com/cortexlabs/cortex/blob/master/pkg/transformers/transformers.yaml) for a list of built-in transformers. +See [`transformers.yaml`](https://github.com/cortexlabs/cortex/blob/0.6/pkg/transformers/transformers.yaml) for a list of built-in transformers. ## Example diff --git a/docs/pipelines/transformers-custom.md b/docs/pipelines/transformers-custom.md index 72f2e62c88..4679458a9d 100644 --- a/docs/pipelines/transformers-custom.md +++ b/docs/pipelines/transformers-custom.md @@ -65,7 +65,7 @@ def reverse_transform_python(transformed_value, input): pass ``` -See Cortex's built-in [transformers](https://github.com/cortexlabs/cortex/blob/master/pkg/transformers) for example implementations. +See Cortex's built-in [transformers](https://github.com/cortexlabs/cortex/blob/0.6/pkg/transformers) for example implementations. ## Example diff --git a/docs/pipelines/transformers.md b/docs/pipelines/transformers.md index 34f90baafe..e4aa79d596 100644 --- a/docs/pipelines/transformers.md +++ b/docs/pipelines/transformers.md @@ -30,4 +30,4 @@ See [Data Types](data-types.md) for details about input and column types. ## Built-in Transformers -Cortex includes common transformers that can be used out of the box (see [`transformers.yaml`](https://github.com/cortexlabs/cortex/blob/master/pkg/transformers/transformers.yaml)). To use built-in transformers, use the `cortex` namespace in the transformer name (e.g. `cortex.normalize`). +Cortex includes common transformers that can be used out of the box (see [`transformers.yaml`](https://github.com/cortexlabs/cortex/blob/0.6/pkg/transformers/transformers.yaml)). To use built-in transformers, use the `cortex` namespace in the transformer name (e.g. `cortex.normalize`). diff --git a/docs/summary.md b/docs/summary.md index f29fa703e2..ab3be829b7 100644 --- a/docs/summary.md +++ b/docs/summary.md @@ -3,7 +3,7 @@ * [README](../README.md) * [Install](cluster/install.md) * [Tutorial](apis/tutorial.md) -* [Examples](https://github.com/cortexlabs/cortex/tree/master/examples) +* [Examples](https://github.com/cortexlabs/cortex/tree/0.6/examples) ## Model Deployments diff --git a/pkg/consts/consts.go b/pkg/consts/consts.go index d8295de37d..b51f48e98d 100644 --- a/pkg/consts/consts.go +++ b/pkg/consts/consts.go @@ -21,7 +21,7 @@ import ( ) var ( - CortexVersion = "master" // CORTEX_VERSION + CortexVersion = "0.6.0" // CORTEX_VERSION TypeStrRegex = regexp.MustCompile(`"(INT|FLOAT|STRING|BOOL)(_COLUMN)?(\|(INT|FLOAT|STRING|BOOL)(_COLUMN)?)*"`) SingleTypeStrRegex = regexp.MustCompile(`"(INT|FLOAT|STRING|BOOL)(_COLUMN)?"`) diff --git a/pkg/workloads/consts.py b/pkg/workloads/consts.py index aefa8f8447..f1a9f9f5a0 100644 --- a/pkg/workloads/consts.py +++ b/pkg/workloads/consts.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -CORTEX_VERSION = "master" +CORTEX_VERSION = "0.6.0" COLUMN_TYPE_INT = "INT_COLUMN" COLUMN_TYPE_FLOAT = "FLOAT_COLUMN"