Skip to content

Commit

Permalink
release: bump to version v0.125.2
Browse files Browse the repository at this point in the history
  • Loading branch information
doy-materialize committed Nov 19, 2024
1 parent 6d82871 commit a752b04
Show file tree
Hide file tree
Showing 21 changed files with 118 additions and 120 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Business Source License 1.1

Licensor: Materialize, Inc.

Licensed Work: Materialize Version v0.125.1
Licensed Work: Materialize Version v0.125.2
The Licensed Work is © 2024 Materialize, Inc.

Additional Use Grant: Within a single installation of Materialize, you
Expand Down
3 changes: 1 addition & 2 deletions misc/helm-charts/operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# Copyright Materialize, Inc. and contributors. All rights reserved.
#
# Use of this software is governed by the Business Source License
Expand All @@ -13,6 +12,6 @@ name: materialize-operator
description: Materialize Kubernetes Operator Helm Chart
type: application
version: 0.1.0
appVersion: "v0.125.0-dev.0--pr.gd3deb07aa502a84ebd024517344f0aa861f857df"
appVersion: "v0.125.2"
icon: https://materialize.com/favicon.ico
home: https://materialize.com
8 changes: 4 additions & 4 deletions misc/helm-charts/operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Materialize Kubernetes Operator Helm Chart

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.125.0-dev.0--pr.gd3deb07aa502a84ebd024517344f0aa861f857df](https://img.shields.io/badge/AppVersion-v0.125.0--dev.0----pr.gd3deb07aa502a84ebd024517344f0aa861f857df-informational?style=flat-square)
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.125.2](https://img.shields.io/badge/AppVersion-v0.125.2-informational?style=flat-square)

Materialize Kubernetes Operator Helm Chart

Expand Down Expand Up @@ -250,7 +250,7 @@ The following table lists the configurable parameters of the Materialize operato
| `operator.clusters.sizes.mz_probe.workers` | | ``1`` |
| `operator.image.pullPolicy` | | ``"IfNotPresent"`` |
| `operator.image.repository` | | ``"materialize/orchestratord"`` |
| `operator.image.tag` | | ``"v0.125.0-dev.0--pr.gd3deb07aa502a84ebd024517344f0aa861f857df"`` |
| `operator.image.tag` | | ``"v0.125.2"`` |
| `operator.nodeSelector` | | ``{}`` |
| `operator.resources.limits.memory` | | ``"512Mi"`` |
| `operator.resources.requests.cpu` | | ``"100m"`` |
Expand All @@ -272,7 +272,7 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm

```shell
helm install my-materialize-operator \
--set operator.image.tag=v0.125.0-dev.0--pr.gd3deb07aa502a84ebd024517344f0aa861f857df \
--set operator.image.tag=v0.125.2 \
materialize/materialize-operator
```

Expand Down Expand Up @@ -307,7 +307,7 @@ metadata:
name: 12345678-1234-1234-1234-123456789012
namespace: materialize-environment
spec:
environmentdImageRef: materialize/environmentd:v0.125.0-dev.0--pr.gd3deb07aa502a84ebd024517344f0aa861f857df
environmentdImageRef: materialize/environmentd:v0.125.2
backendSecretName: materialize-backend
environmentdResourceRequirements:
limits:
Expand Down
140 changes: 70 additions & 70 deletions misc/helm-charts/operator/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,80 +9,80 @@

suite: test deployment
templates:
- deployment.yaml
- deployment.yaml
tests:
- it: should create a deployment
asserts:
- isKind:
of: Deployment
- equal:
path: spec.template.spec.containers[0].image
value: materialize/orchestratord:v0.125.0-dev.0--pr.gd3deb07aa502a84ebd024517344f0aa861f857df
- equal:
path: spec.template.spec.containers[0].imagePullPolicy
value: IfNotPresent
- equal:
path: spec.template.spec.serviceAccountName
value: orchestratord
- it: should create a deployment
asserts:
- isKind:
of: Deployment
- equal:
path: spec.template.spec.containers[0].image
value: materialize/orchestratord:v0.125.2
- equal:
path: spec.template.spec.containers[0].imagePullPolicy
value: IfNotPresent
- equal:
path: spec.template.spec.serviceAccountName
value: orchestratord

- it: should set ephemeral volume class when storage class is configured
set:
storage.storageClass.name: "my-storage-class"
asserts:
- contains:
path: spec.template.spec.containers[0].args
content: "--ephemeral-volume-class=my-storage-class"
- it: should set ephemeral volume class when storage class is configured
set:
storage.storageClass.name: "my-storage-class"
asserts:
- contains:
path: spec.template.spec.containers[0].args
content: "--ephemeral-volume-class=my-storage-class"

- it: should not set ephemeral volume class when storage class is not configured
set:
storage.storageClass.name: ""
asserts:
- notContains:
path: spec.template.spec.containers[0].args
content: "--ephemeral-volume-class"
- it: should not set ephemeral volume class when storage class is not configured
set:
storage.storageClass.name: ""
asserts:
- notContains:
path: spec.template.spec.containers[0].args
content: "--ephemeral-volume-class"

- it: should set correct base arguments
asserts:
- contains:
path: spec.template.spec.containers[0].args
content: "--startup-log-filter=INFO,mz_orchestratord=TRACE"
- contains:
path: spec.template.spec.containers[0].args
content: "--cloud-provider=local"
- contains:
path: spec.template.spec.containers[0].args
content: "--region=kind"
- it: should set correct base arguments
asserts:
- contains:
path: spec.template.spec.containers[0].args
content: "--startup-log-filter=INFO,mz_orchestratord=TRACE"
- contains:
path: spec.template.spec.containers[0].args
content: "--cloud-provider=local"
- contains:
path: spec.template.spec.containers[0].args
content: "--region=kind"

- it: should set resources correctly
asserts:
- equal:
path: spec.template.spec.containers[0].resources.requests.cpu
value: 100m
- equal:
path: spec.template.spec.containers[0].resources.requests.memory
value: 512Mi
- equal:
path: spec.template.spec.containers[0].resources.limits.memory
value: 512Mi
- it: should set resources correctly
asserts:
- equal:
path: spec.template.spec.containers[0].resources.requests.cpu
value: 100m
- equal:
path: spec.template.spec.containers[0].resources.requests.memory
value: 512Mi
- equal:
path: spec.template.spec.containers[0].resources.limits.memory
value: 512Mi

- it: should set disk limit to 0 when no storage class is configured
set:
storage.storageClass.name: ""
asserts:
- matchRegex:
path: spec.template.spec.containers[0].args[10] # Index of the environmentd-cluster-replica-sizes argument
pattern: disk_limit":"0"
- matchRegex:
path: spec.template.spec.containers[0].args[10]
pattern: is_cc":true
- it: should set disk limit to 0 when no storage class is configured
set:
storage.storageClass.name: ""
asserts:
- matchRegex:
path: spec.template.spec.containers[0].args[10] # Index of the environmentd-cluster-replica-sizes argument
pattern: disk_limit":"0"
- matchRegex:
path: spec.template.spec.containers[0].args[10]
pattern: is_cc":true

- it: should have a cluster with disk limit to 1552MiB when storage class is configured
set:
storage.storageClass.name: "my-storage-class"
asserts:
- matchRegex:
path: spec.template.spec.containers[0].args[10]
pattern: disk_limit":"1552MiB"
- matchRegex:
path: spec.template.spec.containers[0].args[10]
pattern: is_cc":true
- it: should have a cluster with disk limit to 1552MiB when storage class is configured
set:
storage.storageClass.name: "my-storage-class"
asserts:
- matchRegex:
path: spec.template.spec.containers[0].args[10]
pattern: disk_limit":"1552MiB"
- matchRegex:
path: spec.template.spec.containers[0].args[10]
pattern: is_cc":true
6 changes: 3 additions & 3 deletions misc/helm-charts/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ operator:
# The Docker repository for the operator image
repository: materialize/orchestratord
# The tag/version of the operator image to be used
tag: v0.125.0-dev.0--pr.gd3deb07aa502a84ebd024517344f0aa861f857df
tag: v0.125.2
# Policy for pulling the image: "IfNotPresent" avoids unnecessary re-pulling of images
pullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -224,12 +224,12 @@ networkPolicies:
ingress:
enabled: true
cidrs:
- 0.0.0.0/0
- 0.0.0.0/0
# egress from Materialize pods to sources and sinks
egress:
enabled: true
cidrs:
- 0.0.0.0/0
- 0.0.0.0/0

# Namespace configuration
namespace:
Expand Down
3 changes: 1 addition & 2 deletions misc/helm-charts/testing/environmentd.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# Source: materialize-environmentd/templates/secret.yaml
# Copyright Materialize, Inc. and contributors. All rights reserved.
#
Expand Down Expand Up @@ -29,7 +28,7 @@ metadata:
name: 12345678-1234-1234-1234-123456789012
namespace: materialize-environment
spec:
environmentdImageRef: materialize/environmentd:v0.125.0-dev.0--pr.gd3deb07aa502a84ebd024517344f0aa861f857df
environmentdImageRef: materialize/environmentd:v0.125.2
requestRollout: 22222222-2222-2222-2222-222222222222
forceRollout: 33333333-3333-3333-3333-333333333333
inPlaceRollout: false
Expand Down
8 changes: 4 additions & 4 deletions src/balancerd/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ rust_library(
proc_macro_deps = [] + all_crate_deps(proc_macro = True),
rustc_env = {},
rustc_flags = [],
version = "0.125.1",
version = "0.125.2",
deps = [
"//src/alloc:mz_alloc",
"//src/alloc-default:mz_alloc_default",
Expand Down Expand Up @@ -70,7 +70,7 @@ rust_test(
),
rustc_env = {},
rustc_flags = [],
version = "0.125.1",
version = "0.125.2",
deps = [
"//src/alloc:mz_alloc",
"//src/alloc-default:mz_alloc_default",
Expand Down Expand Up @@ -137,7 +137,7 @@ rust_test(
),
rustc_env = {},
rustc_flags = [],
version = "0.125.1",
version = "0.125.2",
deps = [
":mz_balancerd",
"//src/alloc:mz_alloc",
Expand Down Expand Up @@ -175,7 +175,7 @@ rust_binary(
proc_macro_deps = [] + all_crate_deps(proc_macro = True),
rustc_env = {},
rustc_flags = [],
version = "0.125.1",
version = "0.125.2",
deps = [
":mz_balancerd",
"//src/alloc:mz_alloc",
Expand Down
2 changes: 1 addition & 1 deletion src/balancerd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "mz-balancerd"
description = "Balancer service."
version = "0.125.1"
version = "0.125.2"
edition.workspace = true
rust-version.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion src/catalog-debug/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rust_binary(
proc_macro_deps = [] + all_crate_deps(proc_macro = True),
rustc_env = {},
rustc_flags = [],
version = "0.125.1",
version = "0.125.2",
deps = [
"//src/adapter:mz_adapter",
"//src/build-info:mz_build_info",
Expand Down
2 changes: 1 addition & 1 deletion src/catalog-debug/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "mz-catalog-debug"
description = "Durable metadata storage debug tool."
version = "0.125.1"
version = "0.125.2"
edition.workspace = true
rust-version.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion src/clusterd/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rust_binary(
proc_macro_deps = [] + all_crate_deps(proc_macro = True),
rustc_env = {},
rustc_flags = [],
version = "0.125.1",
version = "0.125.2",
deps = [
"//src/alloc:mz_alloc",
"//src/alloc-default:mz_alloc_default",
Expand Down
2 changes: 1 addition & 1 deletion src/clusterd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "mz-clusterd"
description = "Materialize's cluster server."
version = "0.125.1"
version = "0.125.2"
edition.workspace = true
rust-version.workspace = true
publish = false
Expand Down
Loading

0 comments on commit a752b04

Please sign in to comment.