Skip to content

Commit

Permalink
bump version 2.0.0-RC3 -> 2.0.0-RC4
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriano Santos committed Jan 13, 2025
1 parent 6c151f7 commit 5077363
Show file tree
Hide file tree
Showing 39 changed files with 69 additions and 69 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
context: .
file: ./Dockerfile-proxy
push: true
tags: ghcr.io/eigr/spawn-proxy:latest,ghcr.io/eigr/spawn-proxy:2.0.0-RC2
tags: ghcr.io/eigr/spawn-proxy:latest,ghcr.io/eigr/spawn-proxy:2.0.0-RC4
github-token: ${{ secrets.GHCR_PAT }}

- name: Build and push spawn operator image
Expand All @@ -91,7 +91,7 @@ jobs:
context: .
file: ./Dockerfile-operator
push: true
tags: ghcr.io/eigr/spawn-operator:latest,ghcr.io/eigr/spawn-operator:2.0.0-RC2
tags: ghcr.io/eigr/spawn-operator:latest,ghcr.io/eigr/spawn-operator:2.0.0-RC4
github-token: ${{ secrets.GHCR_PAT }}

- name: Build and push spawn initializer image
Expand All @@ -100,7 +100,7 @@ jobs:
context: .
file: ./Dockerfile-initializer
push: true
tags: ghcr.io/eigr/spawn-initializer:latest,ghcr.io/eigr/spawn-initializer:2.0.0-RC2
tags: ghcr.io/eigr/spawn-initializer:latest,ghcr.io/eigr/spawn-initializer:2.0.0-RC4
github-token: ${{ secrets.GHCR_PAT }}

- name: Install Zig
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=2.0.0-RC2
version=2.0.0-RC4
registry=ghcr.io/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 @@ -74,7 +74,7 @@ services:
ports:
- "4222:4222"
# spawn-proxy:
# image: eigr/spawn-proxy:2.0.0-RC2
# image: eigr/spawn-proxy:2.0.0-RC4
# 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 @@ -300,7 +300,7 @@ metadata:
spec:
host:
embedded: true # Indicates a native BEAM application, so no sidecar proxy is needed
image: eigr/dice-game-example:2.0.0-RC2
image: eigr/dice-game-example:2.0.0-RC4
ports:
- name: http
containerPort: 8800
Expand Down
4 changes: 2 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The recommended way to install Spawn is via our CLI tool.
Installing is very simple. First download and install our CLI in one command line:

```sh
curl -sSL https://github.com/eigr/spawn/releases/download/v2.0.0-RC2/install.sh | sh
curl -sSL https://github.com/eigr/spawn/releases/download/v2.0.0-RC4/install.sh | sh
```

At this point you will be ready to also install our Kubernetes Operator.
Expand All @@ -38,7 +38,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/v2.0.0-RC2/manifest.yaml | kubectl apply -f -
kubectl create ns eigr-functions && curl -L https://github.com/eigr/spawn/releases/download/v2.0.0-RC4/manifest.yaml | kubectl apply -f -
```

[Back to Index](index.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/sdks/elixir/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ by adding `spawn_sdk` and `spawn_statestores_*` to your list of dependencies in
```elixir
def deps do
[
{:spawn_sdk, "~> 2.0.0-RC2"},
{:spawn_sdk, "~> 2.0.0-RC4"},

# You can uncomment one of those dependencies if you are going to use Persistent Actors
#{:spawn_statestores_mariadb, "~> 2.0.0-RC2"},
#{:spawn_statestores_postgres, "~> 2.0.0-RC2"},
#{:spawn_statestores_mariadb, "~> 2.0.0-RC4"},
#{:spawn_statestores_postgres, "~> 2.0.0-RC4"},
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion docs/sdks/node/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
First install CLI:

```SH
curl -sSL https://github.com/eigr/spawn/releases/download/v2.0.0-RC2/install.sh | sh
curl -sSL https://github.com/eigr/spawn/releases/download/v2.0.0-RC4/install.sh | sh
```

_We recommend you to use Typescript for better usage overall._
Expand Down
2 changes: 1 addition & 1 deletion examples/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:2.0.0-RC2
image: eigr/dice-game-example:2.0.0-RC4
embedded: true
ports:
- name: "http"
Expand Down
2 changes: 1 addition & 1 deletion examples/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: "ghcr.io/eigr/spawn-proxy:2.0.0-RC2"
spawn-eigr.io/sidecar-image-tag: "ghcr.io/eigr/spawn-proxy:2.0.0-RC4"
spec:
autoscaler:
max: 3
Expand Down
2 changes: 1 addition & 1 deletion examples/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: "ghcr.io/eigr/spawn-proxy:2.0.0-RC2"
spawn-eigr.io/sidecar-image-tag: "ghcr.io/eigr/spawn-proxy:2.0.0-RC4"
spec:
autoscaler:
max: 3
Expand Down
2 changes: 1 addition & 1 deletion examples/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: "ghcr.io/eigr/spawn-proxy:2.0.0-RC2"
spawn-eigr.io/sidecar-image-tag: "ghcr.io/eigr/spawn-proxy:2.0.0-RC4"
spec:
autoscaler:
max: 3
Expand Down
2 changes: 1 addition & 1 deletion examples/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: "ghcr.io/eigr/spawn-proxy:2.0.0-RC2"
spawn-eigr.io/sidecar-image-tag: "ghcr.io/eigr/spawn-proxy:2.0.0-RC4"

# Optional. Default 9001
spawn-eigr.io/sidecar-http-port: "9001"
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 @@ -236,7 +236,7 @@ defmodule Actors.Actor.CallerConsumer do
protocol_major_version: 1,
protocol_minor_version: 2,
proxy_name: "spawn",
proxy_version: "2.0.0-RC2"
proxy_version: "2.0.0-RC4"
}
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: ghcr.io/eigr/spawn-proxy:2.0.0-RC2
image: ghcr.io/eigr/spawn-proxy:2.0.0-RC4
name: init-certificates
serviceAccountName: kompost
volumes:
Expand Down
30 changes: 15 additions & 15 deletions priv/internal_versions.exs
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
defmodule InternalVersions do
# The order here is also the deploy order, its important to keep this way
@versions [
spawn_statestores: "2.0.0-RC3",
spawn_statestores_mariadb: "2.0.0-RC3",
spawn_statestores_native: "2.0.0-RC3",
spawn_statestores_postgres: "2.0.0-RC3",
spawn: "2.0.0-RC3",
spawn_sdk: "2.0.0-RC3",
activator: "2.0.0-RC3",
activator_api: "2.0.0-RC3",
activator_kafka: "2.0.0-RC3",
activator_pubsub: "2.0.0-RC3",
activator_rabbitmq: "2.0.0-RC3",
activator_sqs: "2.0.0-RC3",
proxy: "2.0.0-RC3",
spawn_operator: "2.0.0-RC3",
spawnctl: "2.0.0-RC3"
spawn_statestores: "2.0.0-RC4",
spawn_statestores_mariadb: "2.0.0-RC4",
spawn_statestores_native: "2.0.0-RC4",
spawn_statestores_postgres: "2.0.0-RC4",
spawn: "2.0.0-RC4",
spawn_sdk: "2.0.0-RC4",
activator: "2.0.0-RC4",
activator_api: "2.0.0-RC4",
activator_kafka: "2.0.0-RC4",
activator_pubsub: "2.0.0-RC4",
activator_rabbitmq: "2.0.0-RC4",
activator_sqs: "2.0.0-RC4",
proxy: "2.0.0-RC4",
spawn_operator: "2.0.0-RC4",
spawnctl: "2.0.0-RC4"
]

@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:2.0.0-RC2
- image: eigr/spawn-activator-rabbitmq:2.0.0-RC4
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 = "2.0.0-RC2"
version = "2.0.0-RC4"

[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: ghcr.io/eigr/spawn-proxy:2.0.0-RC2
image: ghcr.io/eigr/spawn-proxy:2.0.0-RC4
name: init-certificates
serviceAccountName: kompost
volumes:
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: "ghcr.io/eigr/spawn-proxy:2.0.0-RC2"
proxy_image: "ghcr.io/eigr/spawn-proxy:2.0.0-RC4"

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: "ghcr.io/eigr/spawn-operator:2.0.0-RC2",
image: "ghcr.io/eigr/spawn-operator:2.0.0-RC4",
name: "spawn-operator",
ports: [ %{"containerPort" => 9090}],
livenessProbe: %{
Expand Down
4 changes: 2 additions & 2 deletions spawn_operator/spawn_operator/lib/spawn_operator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ defmodule SpawnOperator do
Map.get(
annotations,
"spawn-eigr.io/sidecar-image-tag",
"ghcr.io/eigr/spawn-proxy:2.0.0-RC2"
"ghcr.io/eigr/spawn-proxy:2.0.0-RC4"
),
proxy_init_container_image_tag:
Map.get(
annotations,
"spawn-eigr.io/sidecar-init-container-image-tag",
"ghcr.io/eigr/spawn-initializer:2.0.0-RC2"
"ghcr.io/eigr/spawn-initializer:2.0.0-RC4"
),
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: "ghcr.io/eigr/spawn-proxy"
# Optional
spawn-eigr.io.sidecar.containerVersion: "2.0.0-RC2"
spawn-eigr.io.sidecar.containerVersion: "2.0.0-RC4"
# 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: "ghcr.io/eigr/spawn-proxy:2.0.0-RC2"
spawn-eigr.io/sidecar-image-tag: "ghcr.io/eigr/spawn-proxy:2.0.0-RC4"
# Optional. Default 9001
spawn-eigr.io/sidecar-http-port: "9001"
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 @@ -30,7 +30,7 @@
# name: spawn-operator
# ports:
# - containerPort: 9090
# image: ghcr.io/eigr/spawn-operator:2.0.0-RC2
# image: ghcr.io/eigr/spawn-operator:2.0.0-RC4
# resources:
# limits:
# cpu: 200m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ defmodule DeploymentTest do
"--to",
"default"
],
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC2",
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC4",
"name" => "init-certificates",
"env" => [%{"name" => "RELEASE_DISTRIBUTION", "value" => "none"}]
}
Expand Down Expand Up @@ -331,7 +331,7 @@ defmodule DeploymentTest do
"--to",
"default"
],
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC2",
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC4",
"name" => "init-certificates",
"env" => [%{"name" => "RELEASE_DISTRIBUTION", "value" => "none"}]
}
Expand Down Expand Up @@ -498,7 +498,7 @@ defmodule DeploymentTest do
"--to",
"default"
],
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC2",
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC4",
"name" => "init-certificates",
"env" => [%{"name" => "RELEASE_DISTRIBUTION", "value" => "none"}]
}
Expand Down Expand Up @@ -663,7 +663,7 @@ defmodule DeploymentTest do
"--to",
"default"
],
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC2",
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC4",
"name" => "init-certificates",
"env" => [%{"name" => "RELEASE_DISTRIBUTION", "value" => "none"}]
}
Expand Down Expand Up @@ -795,7 +795,7 @@ defmodule DeploymentTest do
%{"configMapRef" => %{"name" => "spawn-test-sidecar-cm"}},
%{"secretRef" => %{"name" => "spawn-system-secret"}}
],
"image" => "ghcr.io/eigr/spawn-proxy:2.0.0-RC2",
"image" => "ghcr.io/eigr/spawn-proxy:2.0.0-RC4",
"livenessProbe" => %{
"failureThreshold" => 3,
"httpGet" => %{
Expand Down Expand Up @@ -900,7 +900,7 @@ defmodule DeploymentTest do
"default"
],
"env" => [%{"name" => "RELEASE_DISTRIBUTION", "value" => "none"}],
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC2",
"image" => "ghcr.io/eigr/spawn-initializer:2.0.0-RC4",
"name" => "init-certificates"
}
],
Expand Down
6 changes: 3 additions & 3 deletions spawn_sdk/spawn_sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ by adding `spawn_sdk` and `spawn_statestores_*` to your list of dependencies in
```elixir
def deps do
[
{:spawn_sdk, "~> 2.0.0-RC2"},
{:spawn_sdk, "~> 2.0.0-RC4"},

# You can uncomment one of those dependencies if you are going to use Persistent Actors
#{:spawn_statestores_mariadb, "~> 2.0.0-RC2"},
#{:spawn_statestores_postgres, "~> 2.0.0-RC2"},
#{:spawn_statestores_mariadb, "~> 2.0.0-RC4"},
#{:spawn_statestores_postgres, "~> 2.0.0-RC4"},
]
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, "~> 2.0.0-RC2"}
{:spawn_sdk_example, "~> 2.0.0-RC4"}
]
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, "~> 2.0.0-RC2"}
{:spawn_statestores, "~> 2.0.0-RC4"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion spawnctl/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (Get-Command spawn -ErrorAction SilentlyContinue) {
}

# Download the binary
$URL = "https://github.com/eigr/spawn/releases/download/v2.0.0-RC2/$FILENAME"
$URL = "https://github.com/eigr/spawn/releases/download/v2.0.0-RC4/$FILENAME"
$DOWNLOAD_PATH = "$env:TEMP\spawn.exe"

Invoke-WebRequest -Uri $URL -OutFile $DOWNLOAD_PATH
Expand Down
2 changes: 1 addition & 1 deletion spawnctl/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if command -v spawn &> /dev/null; then
fi

# Download the binary
URL="https://github.com/eigr/spawn/releases/download/v2.0.0-RC2/$FILENAME"
URL="https://github.com/eigr/spawn/releases/download/v2.0.0-RC4/$FILENAME"
curl -LO "$URL"

# Determine installation directory
Expand Down
2 changes: 1 addition & 1 deletion spawnctl/lib/spawnctl.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule SpawnCtl do
"""
use DoIt.MainCommand,
description: "Spawn CLI Tool",
version: "2.0.0-RC2"
version: "2.0.0-RC4"

command(SpawnCtl.Commands.Apply)
command(SpawnCtl.Commands.Config)
Expand Down
Loading

0 comments on commit 5077363

Please sign in to comment.