Skip to content

Commit c4250ec

Browse files
committed
Update version to 0.38.0
1 parent 163e400 commit c4250ec

22 files changed

+53
-53
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.38.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.38.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.38.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.38.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.38.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.38.0
1818

1919
set -eo pipefail
2020

docs/clients/install.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ pip install cortex
99
```
1010

1111
<!-- CORTEX_VERSION_README x2 -->
12-
To install or upgrade to a specific version (e.g. v0.37.0):
12+
To install or upgrade to a specific version (e.g. v0.38.0):
1313

1414
```bash
15-
pip install cortex==0.37.0
15+
pip install cortex==0.38.0
1616
```
1717

1818
To upgrade to the latest version:
@@ -25,8 +25,8 @@ pip install --upgrade cortex
2525

2626
<!-- CORTEX_VERSION_README x2 -->
2727
```bash
28-
# For example to download CLI version 0.37.0 (Note the "v"):
29-
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.37.0/get-cli.sh)"
28+
# For example to download CLI version 0.38.0 (Note the "v"):
29+
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.38.0/get-cli.sh)"
3030
```
3131

3232
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.

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.38/ 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.38/ 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.37.0
22+
export CORTEX_VERSION=0.38.0
2323
git clone --depth 1 --branch v$CORTEX_VERSION https://github.com/cortexlabs/cortex.git
2424
```
2525

docs/clusters/management/create.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -100,29 +100,29 @@ The docker images used by the cluster can also be overridden. They can be config
100100
101101
<!-- CORTEX_VERSION_BRANCH_STABLE -->
102102
```yaml
103-
image_operator: quay.io/cortexlabs/operator:master
104-
image_controller_manager: quay.io/cortexlabs/controller-manager:master
105-
image_manager: quay.io/cortexlabs/manager:master
106-
image_proxy: quay.io/cortexlabs/proxy:master
107-
image_async_gateway: quay.io/cortexlabs/async-gateway:master
108-
image_cluster_autoscaler: quay.io/cortexlabs/cluster-autoscaler:master
109-
image_metrics_server: quay.io/cortexlabs/metrics-server:master
110-
image_nvidia_device_plugin: quay.io/cortexlabs/nvidia-device-plugin:master
111-
image_neuron_device_plugin: quay.io/cortexlabs/neuron-device-plugin:master
112-
image_neuron_scheduler: quay.io/cortexlabs/neuron-scheduler:master
113-
image_fluent_bit: quay.io/cortexlabs/fluent-bit:master
114-
image_istio_proxy: quay.io/cortexlabs/istio-proxy:master
115-
image_istio_pilot: quay.io/cortexlabs/istio-pilot:master
116-
image_prometheus: quay.io/cortexlabs/prometheus:master
117-
image_prometheus_config_reloader: quay.io/cortexlabs/prometheus-config-reloader:master
118-
image_prometheus_operator: quay.io/cortexlabs/prometheus-operator:master
119-
image_prometheus_statsd_exporter: quay.io/cortexlabs/prometheus-statsd-exporter:master
120-
image_prometheus_dcgm_exporter: quay.io/cortexlabs/prometheus-dcgm-exporter:master
121-
image_prometheus_kube_state_metrics: quay.io/cortexlabs/prometheus-kube-state-metrics:master
122-
image_prometheus_node_exporter: quay.io/cortexlabs/prometheus-node-exporter:master
123-
image_kube_rbac_proxy: quay.io/cortexlabs/kube-rbac-proxy:master
124-
image_grafana: quay.io/cortexlabs/grafana:master
125-
image_event_exporter: quay.io/cortexlabs/event-exporter:master
126-
image_enqueuer: quay.io/cortexlabs/enqueuer:master
127-
image_kubexit: quay.io/cortexlabs/kubexit:master
103+
image_operator: quay.io/cortexlabs/operator:0.38.0
104+
image_controller_manager: quay.io/cortexlabs/controller-manager:0.38.0
105+
image_manager: quay.io/cortexlabs/manager:0.38.0
106+
image_proxy: quay.io/cortexlabs/proxy:0.38.0
107+
image_async_gateway: quay.io/cortexlabs/async-gateway:0.38.0
108+
image_cluster_autoscaler: quay.io/cortexlabs/cluster-autoscaler:0.38.0
109+
image_metrics_server: quay.io/cortexlabs/metrics-server:0.38.0
110+
image_nvidia_device_plugin: quay.io/cortexlabs/nvidia-device-plugin:0.38.0
111+
image_neuron_device_plugin: quay.io/cortexlabs/neuron-device-plugin:0.38.0
112+
image_neuron_scheduler: quay.io/cortexlabs/neuron-scheduler:0.38.0
113+
image_fluent_bit: quay.io/cortexlabs/fluent-bit:0.38.0
114+
image_istio_proxy: quay.io/cortexlabs/istio-proxy:0.38.0
115+
image_istio_pilot: quay.io/cortexlabs/istio-pilot:0.38.0
116+
image_prometheus: quay.io/cortexlabs/prometheus:0.38.0
117+
image_prometheus_config_reloader: quay.io/cortexlabs/prometheus-config-reloader:0.38.0
118+
image_prometheus_operator: quay.io/cortexlabs/prometheus-operator:0.38.0
119+
image_prometheus_statsd_exporter: quay.io/cortexlabs/prometheus-statsd-exporter:0.38.0
120+
image_prometheus_dcgm_exporter: quay.io/cortexlabs/prometheus-dcgm-exporter:0.38.0
121+
image_prometheus_kube_state_metrics: quay.io/cortexlabs/prometheus-kube-state-metrics:0.38.0
122+
image_prometheus_node_exporter: quay.io/cortexlabs/prometheus-node-exporter:0.38.0
123+
image_kube_rbac_proxy: quay.io/cortexlabs/kube-rbac-proxy:0.38.0
124+
image_grafana: quay.io/cortexlabs/grafana:0.38.0
125+
image_event_exporter: quay.io/cortexlabs/event-exporter:0.38.0
126+
image_enqueuer: quay.io/cortexlabs/enqueuer:0.38.0
127+
image_kubexit: quay.io/cortexlabs/kubexit:0.38.0
128128
```

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.37.0
158+
image: quay.io/cortexlabs/grafana:0.38.0
159159
imagePullPolicy: IfNotPresent
160160
name: grafana
161161
# ...

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.38.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.38.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.38
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.38.0
20+
export CORTEX_VERSION_MINOR=0.38
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.38
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
@@ -23,8 +23,8 @@ import (
2323
)
2424

2525
var (
26-
CortexVersion = "master" // CORTEX_VERSION
27-
CortexVersionMinor = "master" // CORTEX_VERSION_MINOR
26+
CortexVersion = "0.38.0" // CORTEX_VERSION
27+
CortexVersionMinor = "0.38" // CORTEX_VERSION_MINOR
2828

2929
DefaultMaxQueueLength = int64(100)
3030
DefaultMaxConcurrency = int64(1)

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.38.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.38/ 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.38/ 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.38.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.38.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.38.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)