Skip to content

Commit 66f6c89

Browse files
committed
Update version to 0.39.0
1 parent 0a00d61 commit 66f6c89

24 files changed

+63
-61
lines changed

build/amend-image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
set -euo pipefail
1919

20-
CORTEX_VERSION=master
20+
CORTEX_VERSION=0.39.0
2121

2222
host_primary=$1
2323
host_backup=$2

build/build-image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -euo pipefail
1919

2020
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. >/dev/null && pwd)"
2121

22-
CORTEX_VERSION=master
22+
CORTEX_VERSION=0.39.0
2323

2424
host_primary=$1
2525
host_backup=$2

build/cli.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -euo pipefail
1919

2020
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. >/dev/null && pwd)"
2121

22-
CORTEX_VERSION=master
22+
CORTEX_VERSION=0.39.0
2323

2424
arg1=${1:-""}
2525
upload="false"

build/push-image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -euo pipefail
1919

2020
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. >/dev/null && pwd)"
2121

22-
CORTEX_VERSION=master
22+
CORTEX_VERSION=0.39.0
2323

2424
host_primary=$1
2525
host_backup=$2

dev/export_images.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set -euo pipefail
2020
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. >/dev/null && pwd)"
2121

2222
# CORTEX_VERSION
23-
cortex_version=master
23+
cortex_version=0.39.0
2424

2525
# user set variables
2626
ecr_region=$1

dev/registry.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
CORTEX_VERSION=master
17+
CORTEX_VERSION=0.39.0
1818

1919
set -eo pipefail
2020

docs/clients/install.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
<!-- CORTEX_VERSION_README x2 -->
66
```bash
7-
# download CLI version 0.38.0 (Note the "v"):
8-
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.38.0/get-cli.sh)"
7+
# download CLI version 0.39.0 (Note the "v"):
8+
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.39.0/get-cli.sh)"
99
```
1010

1111
By default, the Cortex CLI is installed at `/usr/local/bin/cortex`. To install the executable elsewhere, export the `CORTEX_INSTALL_PATH` environment variable to your desired location before running the command above.
@@ -19,10 +19,10 @@ pip install cortex
1919
```
2020

2121
<!-- CORTEX_VERSION_README x2 -->
22-
To install or upgrade to a specific version (e.g. v0.38.0):
22+
To install or upgrade to a specific version (e.g. v0.39.0):
2323

2424
```bash
25-
pip install cortex==0.38.0
25+
pip install cortex==0.39.0
2626
```
2727

2828
To upgrade to the latest version:

docs/clients/python.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Deploy or update an API.
8686

8787
**Arguments**:
8888

89-
- `api_spec` - A dictionary defining a single Cortex API. See https://docs.cortex.dev/v/master/ for schema.
89+
- `api_spec` - A dictionary defining a single Cortex API. See https://docs.cortex.dev/v/0.39/ for schema.
9090
- `force` - Override any in-progress api updates.
9191
- `wait` - Block until the API is ready.
9292

@@ -107,7 +107,7 @@ Deploy or update APIs specified in a configuration file.
107107

108108
**Arguments**:
109109

110-
- `config_file` - Local path to a yaml file defining Cortex API(s). See https://docs.cortex.dev/v/master/ for schema.
110+
- `config_file` - Local path to a yaml file defining Cortex API(s). See https://docs.cortex.dev/v/0.39/ for schema.
111111
- `force` - Override any in-progress api updates.
112112
- `wait` - Block until the API is ready.
113113

docs/clusters/advanced/self-hosted-images.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Clone the Cortex repo using the release tag corresponding to your version (which
1919
<!-- CORTEX_VERSION_README -->
2020

2121
```bash
22-
export CORTEX_VERSION=0.38.0
22+
export CORTEX_VERSION=0.39.0
2323
git clone --depth 1 --branch v$CORTEX_VERSION https://github.com/cortexlabs/cortex.git
2424
```
2525

docs/clusters/management/create.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<!-- CORTEX_VERSION_README -->
1313
```bash
1414
# install the cortex CLI
15-
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.38.0/get-cli.sh)"
15+
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.39.0/get-cli.sh)"
1616

1717
# create a cluster
1818
cortex cluster up cluster.yaml
@@ -101,32 +101,32 @@ The docker images used by the cluster can also be overridden. They can be config
101101
102102
<!-- CORTEX_VERSION_BRANCH_STABLE -->
103103
```yaml
104-
image_manager: quay.io/cortexlabs/manager:master
105-
image_operator: quay.io/cortexlabs/operator:master
106-
image_controller_manager: quay.io/cortexlabs/controller-manager:master
107-
image_autoscaler: quay.io/cortexlabs/autoscaler:master
108-
image_proxy: quay.io/cortexlabs/proxy:master
109-
image_async_gateway: quay.io/cortexlabs/async-gateway:master
110-
image_activator: quay.io/cortexlabs/activator:master
111-
image_enqueuer: quay.io/cortexlabs/enqueuer:master
112-
image_dequeuer: quay.io/cortexlabs/dequeuer:master
113-
image_cluster_autoscaler: quay.io/cortexlabs/cluster-autoscaler:master
114-
image_metrics_server: quay.io/cortexlabs/metrics-server:master
115-
image_nvidia_device_plugin: quay.io/cortexlabs/nvidia-device-plugin:master
116-
image_neuron_device_plugin: quay.io/cortexlabs/neuron-device-plugin:master
117-
image_neuron_scheduler: quay.io/cortexlabs/neuron-scheduler:master
118-
image_fluent_bit: quay.io/cortexlabs/fluent-bit:master
119-
image_istio_proxy: quay.io/cortexlabs/istio-proxy:master
120-
image_istio_pilot: quay.io/cortexlabs/istio-pilot:master
121-
image_prometheus: quay.io/cortexlabs/prometheus:master
122-
image_prometheus_config_reloader: quay.io/cortexlabs/prometheus-config-reloader:master
123-
image_prometheus_operator: quay.io/cortexlabs/prometheus-operator:master
124-
image_prometheus_statsd_exporter: quay.io/cortexlabs/prometheus-statsd-exporter:master
125-
image_prometheus_dcgm_exporter: quay.io/cortexlabs/prometheus-dcgm-exporter:master
126-
image_prometheus_kube_state_metrics: quay.io/cortexlabs/prometheus-kube-state-metrics:master
127-
image_prometheus_node_exporter: quay.io/cortexlabs/prometheus-node-exporter:master
128-
image_kube_rbac_proxy: quay.io/cortexlabs/kube-rbac-proxy:master
129-
image_grafana: quay.io/cortexlabs/grafana:master
130-
image_event_exporter: quay.io/cortexlabs/event-exporter:master
131-
image_kubexit: quay.io/cortexlabs/kubexit:master
104+
image_manager: quay.io/cortexlabs/manager:0.39.0
105+
image_operator: quay.io/cortexlabs/operator:0.39.0
106+
image_controller_manager: quay.io/cortexlabs/controller-manager:0.39.0
107+
image_autoscaler: quay.io/cortexlabs/autoscaler:0.39.0
108+
image_proxy: quay.io/cortexlabs/proxy:0.39.0
109+
image_async_gateway: quay.io/cortexlabs/async-gateway:0.39.0
110+
image_activator: quay.io/cortexlabs/activator:0.39.0
111+
image_enqueuer: quay.io/cortexlabs/enqueuer:0.39.0
112+
image_dequeuer: quay.io/cortexlabs/dequeuer:0.39.0
113+
image_cluster_autoscaler: quay.io/cortexlabs/cluster-autoscaler:0.39.0
114+
image_metrics_server: quay.io/cortexlabs/metrics-server:0.39.0
115+
image_nvidia_device_plugin: quay.io/cortexlabs/nvidia-device-plugin:0.39.0
116+
image_neuron_device_plugin: quay.io/cortexlabs/neuron-device-plugin:0.39.0
117+
image_neuron_scheduler: quay.io/cortexlabs/neuron-scheduler:0.39.0
118+
image_fluent_bit: quay.io/cortexlabs/fluent-bit:0.39.0
119+
image_istio_proxy: quay.io/cortexlabs/istio-proxy:0.39.0
120+
image_istio_pilot: quay.io/cortexlabs/istio-pilot:0.39.0
121+
image_prometheus: quay.io/cortexlabs/prometheus:0.39.0
122+
image_prometheus_config_reloader: quay.io/cortexlabs/prometheus-config-reloader:0.39.0
123+
image_prometheus_operator: quay.io/cortexlabs/prometheus-operator:0.39.0
124+
image_prometheus_statsd_exporter: quay.io/cortexlabs/prometheus-statsd-exporter:0.39.0
125+
image_prometheus_dcgm_exporter: quay.io/cortexlabs/prometheus-dcgm-exporter:0.39.0
126+
image_prometheus_kube_state_metrics: quay.io/cortexlabs/prometheus-kube-state-metrics:0.39.0
127+
image_prometheus_node_exporter: quay.io/cortexlabs/prometheus-node-exporter:0.39.0
128+
image_kube_rbac_proxy: quay.io/cortexlabs/kube-rbac-proxy:0.39.0
129+
image_grafana: quay.io/cortexlabs/grafana:0.39.0
130+
image_event_exporter: quay.io/cortexlabs/event-exporter:0.39.0
131+
image_kubexit: quay.io/cortexlabs/kubexit:0.39.0
132132
```

docs/clusters/management/update.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@ This will create a CLI environment named `cortex2` for accessing the new cluster
5656

5757
If you are spinning a up a new cluster with a different Cortex version, first install the cortex CLI matching the desired cluster version:
5858

59+
<!-- CORTEX_VERSION_README x2 -->
60+
5961
```bash
60-
# download the desired CLI version, replace 0.38.0 with the desired version (Note the "v"):
61-
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.38.0/get-cli.sh)"
62+
# download the desired CLI version, replace 0.39.0 with the desired version (Note the "v"):
63+
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.39.0/get-cli.sh)"
6264

6365
# confirm Cortex CLI version
6466
cortex version

docs/clusters/observability/alerting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ containers:
155155
envFrom:
156156
- secretRef:
157157
name: grafana-smtp
158-
image: quay.io/cortexlabs/grafana:0.38.0
158+
image: quay.io/cortexlabs/grafana:0.39.0
159159
imagePullPolicy: IfNotPresent
160160
name: grafana
161161
# ...

docs/start.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
## Create a cluster on your AWS account
44

5-
<!-- CORTEX_VERSION_README x2 -->
5+
<!-- CORTEX_VERSION_README -->
66
```bash
77
# install the CLI
8-
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.38.0/get-cli.sh)"
8+
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.39.0/get-cli.sh)"
99

1010
# create a cluster
1111
cortex cluster up cluster.yaml

get-cli.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
set -e
1818

19-
CORTEX_VERSION_BRANCH_STABLE=master
19+
CORTEX_VERSION_BRANCH_STABLE=0.39.0
2020
CORTEX_INSTALL_PATH="${CORTEX_INSTALL_PATH:-/usr/local/bin/cortex}"
2121

2222
# replace ~ with the home directory path

manager/check_cortex_version.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
set -e
1818

19-
CORTEX_VERSION=master
19+
CORTEX_VERSION=0.39.0
2020

2121
if [ "$CORTEX_VERSION" != "$CORTEX_CLI_VERSION" ]; then
2222
echo "error: your CLI version ($CORTEX_CLI_VERSION) doesn't match your Cortex manager image version ($CORTEX_VERSION); please update your CLI (pip install cortex==$CORTEX_VERSION) to match the version of your Cortex manager image"

manager/debug.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
set +e
1818

19-
CORTEX_VERSION_MINOR=master
19+
CORTEX_VERSION_MINOR=0.39
2020

2121
debug_out_path="$1"
2222
mkdir -p "$(dirname "$debug_out_path")"

manager/install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
set -eo pipefail
1818

19-
export CORTEX_VERSION=master
20-
export CORTEX_VERSION_MINOR=master
19+
export CORTEX_VERSION=0.39.0
20+
export CORTEX_VERSION_MINOR=0.39
2121
EKSCTL_CLUSTER_TIMEOUT=45m
2222
EKSCTL_NODEGROUP_TIMEOUT=30m
2323
mkdir /workspace

manager/refresh.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
set -e
1818

19-
CORTEX_VERSION_MINOR=master
19+
CORTEX_VERSION_MINOR=0.39
2020

2121
cluster_config_out_path="$1"
2222
mkdir -p "$(dirname "$cluster_config_out_path")"

pkg/consts/consts.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import (
2424
)
2525

2626
var (
27-
CortexVersion = "master" // CORTEX_VERSION
28-
CortexVersionMinor = "master" // CORTEX_VERSION_MINOR
27+
CortexVersion = "0.39.0" // CORTEX_VERSION
28+
CortexVersionMinor = "0.39" // CORTEX_VERSION_MINOR
2929

3030
DefaultNamespace = "default"
3131
KubeSystemNamespace = "kube-system"

python/client/cortex/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from cortex.telemetry import sentry_wrapper
2222

2323

24-
__version__ = "master" # CORTEX_VERSION
24+
__version__ = "0.39.0" # CORTEX_VERSION
2525

2626

2727
@sentry_wrapper

python/client/cortex/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def deploy(
5353
Deploy or update an API.
5454
5555
Args:
56-
api_spec: A dictionary defining a single Cortex API. See https://docs.cortex.dev/v/master/ for schema.
56+
api_spec: A dictionary defining a single Cortex API. See https://docs.cortex.dev/v/0.39/ for schema.
5757
force: Override any in-progress api updates.
5858
wait: Block until the API is ready.
5959
@@ -84,7 +84,7 @@ def deploy_from_file(
8484
Deploy or update APIs specified in a configuration file.
8585
8686
Args:
87-
config_file: Local path to a yaml file defining Cortex API(s). See https://docs.cortex.dev/v/master/ for schema.
87+
config_file: Local path to a yaml file defining Cortex API(s). See https://docs.cortex.dev/v/0.39/ for schema.
8888
force: Override any in-progress api updates.
8989
wait: Block until the API is ready.
9090

python/client/cortex/consts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
# limitations under the License.
1414

1515

16-
CORTEX_VERSION = "master" # CORTEX_VERSION
16+
CORTEX_VERSION = "0.39.0" # CORTEX_VERSION
1717
CORTEX_TELEMETRY_SENTRY_DSN = "https://[email protected]/1825326"
1818
CORTEX_TELEMETRY_SENTRY_ENVIRONMENT = "client"

python/client/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def run(self):
7979

8080
setup(
8181
name="cortex",
82-
version="master", # CORTEX_VERSION
82+
version="0.39.0", # CORTEX_VERSION
8383
description="Cost-effective serverless computing",
8484
author="cortex.dev",
8585
author_email="[email protected]",

test/e2e/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
setup(
2626
name="e2e",
27-
version="master", # CORTEX_VERSION
27+
version="0.39.0", # CORTEX_VERSION
2828
packages=find_packages(exclude=["tests"]),
2929
url="https://github.com/cortexlabs/cortex",
3030
license="Apache License 2.0",

0 commit comments

Comments
 (0)