Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-24.11/24.11.1-rc1 #897

Merged
merged 4 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- trying
- "renovate/**"
tags:
- '[0-9][0-9].[0-9]+.[0-9]+'
- '[0-9][0-9].[0-9]+.[0-9]+(-rc[0-9]+)?'
adwk67 marked this conversation as resolved.
Show resolved Hide resolved
pull_request:
merge_group:
schedule:
Expand Down Expand Up @@ -344,9 +344,18 @@ jobs:
with:
crate: cargo-edit
bin: cargo-set-version
- name: Update version if PR
if: ${{ github.event_name == 'pull_request' }}
- name: Update version if PR against main branch
if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }}
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
- name: Update version if PR against non-main branch
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
cargo set-version --offline --workspace "$PR_VERSION"

# Recreate charts and publish charts and docker image. The "-e" is needed as we want to override the
# default value in the makefile if called from this action, but not otherwise (i.e. when called locally).
Expand Down Expand Up @@ -410,9 +419,18 @@ jobs:
with:
crate: cargo-edit
bin: cargo-set-version
- name: Update version if PR
if: ${{ github.event_name == 'pull_request' }}
- name: Update version if PR against main branch
if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }}
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
- name: Update version if PR against non-main branch
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
cargo set-version --offline --workspace "$PR_VERSION"
- name: Build manifest list
run: |
# Creating manifest list
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [24.11.1-rc1] - 2024-12-06

### Fixed

- BREAKING: Use distinct ServiceAccounts for the Stacklets, so that multiple Stacklets can be
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.nix

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["rust/crd", "rust/operator-binary"]
resolver = "2"

[workspace.package]
version = "24.11.0"
version = "24.11.1-rc1"
authors = ["Stackable GmbH <info@stackable.tech>"]
license = "OSL-3.0"
edition = "2021"
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/zookeeper-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
apiVersion: v2
name: zookeeper-operator
version: "24.11.0"
appVersion: "24.11.0"
version: "24.11.1-rc1"
appVersion: "24.11.1-rc1"
description: The Stackable Operator for Apache ZooKeeper
home: https://github.com/stackabletech/zookeeper-operator
maintainers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ helm repo update

echo "Installing Operators with Helm"
# tag::helm-install-operators[]
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.0
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.0
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.0
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.11.0
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1-rc1
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1-rc1
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1-rc1
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.11.1-rc1
# end::helm-install-operators[]
;;
"stackablectl")
echo "installing Operators with stackablectl"
# tag::stackablectl-install-operators[]
stackablectl operator install \
commons=24.11.0 \
secret=24.11.0 \
listener=24.11.0 \
zookeeper=24.11.0
commons=24.11.1-rc1 \
secret=24.11.1-rc1 \
listener=24.11.1-rc1 \
zookeeper=24.11.1-rc1
# end::stackablectl-install-operators[]
;;
*)
Expand Down Expand Up @@ -70,7 +70,7 @@ zkCli_ls() {
# tag::zkcli-ls[]
kubectl run my-pod \
--stdin --tty --quiet --restart=Never \
--image docker.stackable.tech/stackable/zookeeper:3.9.2-stackable24.11.0 -- \
--image docker.stackable.tech/stackable/zookeeper:3.9.2-stackable24.11.1-rc1 -- \
bin/zkCli.sh -server simple-zk-server-default:2282 ls / > /dev/null && \
kubectl logs my-pod && \
kubectl delete pods my-pod
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Installed commons=24.11.0 operator
Installed secret=24.11.0 operator
Installed listener=24.11.0 operator
Installed zookeeper=24.11.0 operator
Installed commons=24.11.1-rc1 operator
Installed secret=24.11.1-rc1 operator
Installed listener=24.11.1-rc1 operator
Installed zookeeper=24.11.1-rc1 operator
8 changes: 4 additions & 4 deletions docs/templating_vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ helm:
repo_name: stackable-stable
repo_url: https://repo.stackable.tech/repository/helm-stable/
versions:
commons: 24.11.0
secret: 24.11.0
listener: 24.11.0
zookeeper: 24.11.0
commons: 24.11.1-rc1
secret: 24.11.1-rc1
listener: 24.11.1-rc1
zookeeper: 24.11.1-rc1
8 changes: 4 additions & 4 deletions tests/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ releases:
description: Integration test
products:
commons:
operatorVersion: 24.11.0
operatorVersion: 24.11.1-rc1
secret:
operatorVersion: 24.11.0
operatorVersion: 24.11.1-rc1
listener:
operatorVersion: 24.11.0
operatorVersion: 24.11.1-rc1
zookeeper:
operatorVersion: 24.11.0
operatorVersion: 24.11.1-rc1
Loading