Skip to content

Commit

Permalink
New minor release
Browse files Browse the repository at this point in the history
  • Loading branch information
sleipnir committed Apr 29, 2024
1 parent 307d0ef commit b9bf185
Show file tree
Hide file tree
Showing 30 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=1.3.1
version=1.3.2
registry=eigr

CLUSTER_NAME=spawn-k8s
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ services:
- mysql-compose-network

spawn-proxy:
image: eigr/spawn-proxy:1.3.1
image: eigr/spawn-proxy:1.3.2
restart: always
environment:
PROXY_APP_NAME: spawn
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ metadata:
spec:
host:
embedded: true # This indicates that it is a native BEAM application and therefore does not need a sidecar proxy attached.
image: eigr/dice-game-example:1.3.1
image: eigr/dice-game-example:1.3.2
ports:
- name: "http"
containerPort: 8800
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ kubectl create ns eigr-functions && curl -L https://github.com/eigr/spawn/releas
> **_NOTE:_** You need to inform the desired release version. For example:
```shell
kubectl create ns eigr-functions && curl -L https://github.com/eigr/spawn/releases/download/v1.3.1/manifest.yaml | kubectl apply -f -
kubectl create ns eigr-functions && curl -L https://github.com/eigr/spawn/releases/download/v1.3.2/manifest.yaml | kubectl apply -f -
```

[Next: Getting Started](getting_started.md)
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s/dice-game/host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spawn-eigr.io/actor-system: game-system
spec:
host:
image: eigr/dice-game-example:1.3.1
image: eigr/dice-game-example:1.3.2
embedded: true
ports:
- name: "http"
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s/security/acl/host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
spawn-eigr.io/sidecar-http-port: "9001"
spawn-eigr.io/sidecar-pubsub-adapter: "nats"
spawn-eigr.io/sidecar-pubsub-nats-hosts: "nats://spawn-nats:4222"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.1"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.2"
spec:
autoscaler:
max: 3
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s/security/authentication/basic/host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ metadata:
spawn-eigr.io/sidecar-http-port: "9001"
spawn-eigr.io/sidecar-pubsub-adapter: "nats"
spawn-eigr.io/sidecar-pubsub-nats-hosts: "nats://spawn-nats:4222"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.1"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.2"
spec:
autoscaler:
max: 3
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s/security/authentication/jwt/host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spawn-eigr.io/sidecar-http-port: "9001"
spawn-eigr.io/sidecar-pubsub-adapter: "nats"
spawn-eigr.io/sidecar-pubsub-nats-hosts: "nats://spawn-nats:4222"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.1"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.2"
spec:
autoscaler:
max: 3
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s/simple/host-simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
# Optional. Here I`m using Nats Broker without authentication
spawn-eigr.io/sidecar-pubsub-adapter: "nats"
spawn-eigr.io/sidecar-pubsub-nats-hosts: "nats://spawn-nats:4222"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.1"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.2"
spec:
host:
image: eigr/spawn-springboot-examples:0.5.3 # Mandatory
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s/simple/host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
spawn-eigr.io/sidecar-mode: "sidecar"

# Optional
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.1"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.2"

# Optional. Default 9001
spawn-eigr.io/sidecar-http-port: "9001"
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s/test-operator/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
image: eigr/spawn-operator:1.3.1
image: eigr/spawn-operator:1.3.2
name: spawn-operator
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion lib/actors/actor/caller_consumer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ defmodule Actors.Actor.CallerConsumer do
protocol_major_version: 1,
protocol_minor_version: 2,
proxy_name: "spawn",
proxy_version: "1.3.1"
proxy_version: "1.3.2"
}
end

Expand Down
2 changes: 1 addition & 1 deletion lib/actors/security/tls/initializer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Actors.Security.Tls.Initializer do
- args:
- eval
- Kompost.Webhooks.bootstrap_tls(:prod, "tls-certs")
image: docker.io/eigr/spawn-proxy:1.3.1
image: docker.io/eigr/spawn-proxy:1.3.2
name: init-certificates
serviceAccountName: kompost
volumes:
Expand Down
36 changes: 18 additions & 18 deletions priv/internal_versions.exs
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
defmodule InternalVersions do
# The order here is also the deploy order, its important to keep this way
@versions [
spawn_statestores: "1.3.1",
spawn_statestores_mariadb: "1.3.1",
spawn_statestores_mysql: "1.3.1",
spawn_statestores_mssql: "1.3.1",
spawn_statestores_native: "1.3.1",
spawn_statestores_postgres: "1.3.1",
spawn_statestores_sqlite: "1.3.1",
spawn_statestores_cockroachdb: "1.3.1",
spawn: "1.3.1",
spawn_sdk: "1.3.1",
activator: "1.3.1",
activator_api: "1.3.1",
activator_kafka: "1.3.1",
activator_pubsub: "1.3.1",
activator_rabbitmq: "1.3.1",
activator_sqs: "1.3.1",
proxy: "1.3.1",
spawn_operator: "1.3.1"
spawn_statestores: "1.3.2",
spawn_statestores_mariadb: "1.3.2",
spawn_statestores_mysql: "1.3.2",
spawn_statestores_mssql: "1.3.2",
spawn_statestores_native: "1.3.2",
spawn_statestores_postgres: "1.3.2",
spawn_statestores_sqlite: "1.3.2",
spawn_statestores_cockroachdb: "1.3.2",
spawn: "1.3.2",
spawn_sdk: "1.3.2",
activator: "1.3.2",
activator_api: "1.3.2",
activator_kafka: "1.3.2",
activator_pubsub: "1.3.2",
activator_rabbitmq: "1.3.2",
activator_sqs: "1.3.2",
proxy: "1.3.2",
spawn_operator: "1.3.2"
]

@doc """
Expand Down
2 changes: 1 addition & 1 deletion spawn_activators/activator_rabbitmq/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
k8s-app: rabbitmq-activator
spec:
containers:
- image: eigr/spawn-activator-rabbitmq:1.3.1
- image: eigr/spawn-activator-rabbitmq:1.3.2
name: spawn-activator
env:
- name: MIX_ENV
Expand Down
2 changes: 1 addition & 1 deletion spawn_activators/activator_simple/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "activator-simple"
version = "1.3.1"
version = "1.3.2"

[build-dependencies]
protobuf-codegen = "3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion spawn_initializer/lib/spawn_initializer/tls/initializer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule SpawnInitializer.Tls.Initializer do
- args:
- eval
- SpawnInitializer.Tls.Initializer.bootstrap_tls(:prod, "tls-certs")
image: docker.io/eigr/spawn-proxy:1.3.1
image: docker.io/eigr/spawn-proxy:1.3.2
name: init-certificates
serviceAccountName: kompost
volumes:
Expand Down
2 changes: 1 addition & 1 deletion spawn_initializer/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule SpawnInitializer.MixProject do
use Mix.Project

@app :spawn_initializer
@version "1.3.1"
@version "1.3.2"
@site "https://eigr.io/"
@source_url "https://github.com/eigr/spawn"

Expand Down
2 changes: 1 addition & 1 deletion spawn_operator/spawn_operator/config/config.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Config

config :spawn_operator,
proxy_image: "docker.io/eigr/spawn-proxy:1.3.1"
proxy_image: "docker.io/eigr/spawn-proxy:1.3.2"

config :bonny,
# Add each Controller module for this operator to load here
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ defmodule Mix.Tasks.Bonny.Gen.Manifest.SpawnOperatorCustomizer do
valueFrom: %{fieldRef: %{fieldPath: "spec.serviceAccountName"}}
}
],
image: "eigr/spawn-operator:1.3.1",
image: "eigr/spawn-operator:1.3.2",
name: "spawn-operator",
ports: [ %{"containerPort" => 9090}],
livenessProbe: %{
Expand Down
2 changes: 1 addition & 1 deletion spawn_operator/spawn_operator/lib/spawn_operator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ defmodule SpawnOperator do
Map.get(
annotations,
"spawn-eigr.io/sidecar-image-tag",
"docker.io/eigr/spawn-proxy:1.3.1"
"docker.io/eigr/spawn-proxy:1.3.2"
),
proxy_uds_enabled: Map.get(annotations, "spawn-eigr.io/sidecar-uds-enabled", "false"),
proxy_uds_address:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule SpawnOperator.Handler.ActorHostHandler do
spawn-eigr.io.sidecar.containerImage: "docker.io/eigr/spawn-proxy"
# Optional
spawn-eigr.io.sidecar.containerVersion: "1.3.1"
spawn-eigr.io.sidecar.containerVersion: "1.3.2"
# Optional. Default 9001
spawn-eigr.io.sidecar.httpPort: 9001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defmodule SpawnOperator.K8s.Proxy.CM.Configmap do
spawn-eigr.io/sidecar-mode: "sidecar"
# Optional
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.1"
spawn-eigr.io/sidecar-image-tag: "docker.io/eigr/spawn-proxy:1.3.2"
# Optional. Default 9001
spawn-eigr.io/sidecar-http-port: "9001"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ defmodule SpawnOperator.K8s.Proxy.Deployment do
"initContainers" => [
%{
"name" => "init-certificates",
"image" => "docker.io/eigr/spawn-initializer:1.3.1",
"image" => "docker.io/eigr/spawn-initializer:1.3.2",
"args" => [
"--environment",
:prod,
Expand Down
2 changes: 1 addition & 1 deletion spawn_operator/spawn_operator/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
name: spawn-operator
ports:
- containerPort: 9090
image: eigr/spawn-operator:1.3.1
image: eigr/spawn-operator:1.3.2
resources:
requests:
cpu: 200m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ defmodule DeploymentTest do
"--to",
"default"
],
"image" => "docker.io/eigr/spawn-initializer:1.3.1",
"image" => "docker.io/eigr/spawn-initializer:1.3.2",
"name" => "init-certificates"
}
],
Expand Down Expand Up @@ -310,7 +310,7 @@ defmodule DeploymentTest do
"--to",
"default"
],
"image" => "docker.io/eigr/spawn-initializer:1.3.1",
"image" => "docker.io/eigr/spawn-initializer:1.3.2",
"name" => "init-certificates"
}
],
Expand Down
14 changes: 7 additions & 7 deletions spawn_sdk/spawn_sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ by adding `spawn_sdk` and `spawn_statestores_*` to your list of dependencies in
```elixir
def deps do
[
{:spawn_sdk, "~> 1.3.1"},
{:spawn_sdk, "~> 1.3.2"},

# You can uncomment one of those dependencies if you are going to use Persistent Actors
#{:spawn_statestores_mariadb, "~> 1.3.1"},
#{:spawn_statestores_mysql, "~> 1.3.1"},
#{:spawn_statestores_postgres, "~> 1.3.1"},
#{:spawn_statestores_mssql, "~> 1.3.1"},
#{:spawn_statestores_cockroachdb, "~> 1.3.1"},
#{:spawn_statestores_sqlite, "~> 1.3.1"},
#{:spawn_statestores_mariadb, "~> 1.3.2"},
#{:spawn_statestores_mysql, "~> 1.3.2"},
#{:spawn_statestores_postgres, "~> 1.3.2"},
#{:spawn_statestores_mssql, "~> 1.3.2"},
#{:spawn_statestores_cockroachdb, "~> 1.3.2"},
#{:spawn_statestores_sqlite, "~> 1.3.2"},
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion spawn_sdk/spawn_sdk_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ by adding `spawn_sdk_example` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:spawn_sdk_example, "~> 1.3.1"}
{:spawn_sdk_example, "~> 1.3.2"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion spawn_statestores/statestores/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ by adding `statestores` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:spawn_statestores, "~> 1.3.1"}
{:spawn_statestores, "~> 1.3.2"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion test/support/factory.ex
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ defmodule Actors.FactoryTest do
def build_service_info(attrs \\ []) do
%ServiceInfo{
service_name: attrs[:service_name] || "test_service",
service_version: attrs[:service_version] || "1.3.1",
service_version: attrs[:service_version] || "1.3.2",
service_runtime: attrs[:service_runtime] || "test_runtime",
support_library_name: attrs[:support_library_name] || "",
support_library_version: attrs[:support_library_version] || "",
Expand Down

0 comments on commit b9bf185

Please sign in to comment.