Skip to content

Commit 510c00e

Browse files
adwk67stackable-botNickLarsenNZ
authored
release-24.11/24.11.1-rc1 (#897)
* release 24.11.1-rc1 Signed-off-by: Andrew Kenworthy <andrew.kenworthy@stackable.de> * initial RC workflow changes * chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@2b806e1 (#896) Reference-to: stackabletech/operator-templating@2b806e1 (Set PR-suffix on PRs against release branches) * Update .github/workflows/build.yml Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com> --------- Signed-off-by: Andrew Kenworthy <andrew.kenworthy@stackable.de> Co-authored-by: Stacky McStackface <95074132+stackable-bot@users.noreply.github.com> Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
1 parent 16c6b0a commit 510c00e

File tree

10 files changed

+53
-32
lines changed

10 files changed

+53
-32
lines changed

.github/workflows/build.yml

+23-4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
- "renovate/**"
1515
tags:
1616
- '[0-9][0-9].[0-9]+.[0-9]+'
17+
- '[0-9][0-9].[0-9]+.[0-9]+-rc[0-9]+'
1718
pull_request:
1819
merge_group:
1920
schedule:
@@ -344,9 +345,18 @@ jobs:
344345
with:
345346
crate: cargo-edit
346347
bin: cargo-set-version
347-
- name: Update version if PR
348-
if: ${{ github.event_name == 'pull_request' }}
348+
- name: Update version if PR against main branch
349+
if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }}
349350
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
351+
- name: Update version if PR against non-main branch
352+
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
353+
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
354+
env:
355+
PR_NUMBER: ${{ github.event.pull_request.number }}
356+
run: |
357+
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
358+
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
359+
cargo set-version --offline --workspace "$PR_VERSION"
350360
351361
# Recreate charts and publish charts and docker image. The "-e" is needed as we want to override the
352362
# default value in the makefile if called from this action, but not otherwise (i.e. when called locally).
@@ -410,9 +420,18 @@ jobs:
410420
with:
411421
crate: cargo-edit
412422
bin: cargo-set-version
413-
- name: Update version if PR
414-
if: ${{ github.event_name == 'pull_request' }}
423+
- name: Update version if PR against main branch
424+
if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }}
415425
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
426+
- name: Update version if PR against non-main branch
427+
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
428+
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
429+
env:
430+
PR_NUMBER: ${{ github.event.pull_request.number }}
431+
run: |
432+
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
433+
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
434+
cargo set-version --offline --workspace "$PR_VERSION"
416435
- name: Build manifest list
417436
run: |
418437
# Creating manifest list

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
## [24.11.1-rc1] - 2024-12-06
8+
79
### Fixed
810

911
- BREAKING: Use distinct ServiceAccounts for the Stacklets, so that multiple Stacklets can be

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["rust/crd", "rust/operator-binary"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "24.11.0"
6+
version = "24.11.1-rc1"
77
authors = ["Stackable GmbH <info@stackable.tech>"]
88
license = "OSL-3.0"
99
edition = "2021"

deploy/helm/zookeeper-operator/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
apiVersion: v2
33
name: zookeeper-operator
4-
version: "24.11.0"
5-
appVersion: "24.11.0"
4+
version: "24.11.1-rc1"
5+
appVersion: "24.11.1-rc1"
66
description: The Stackable Operator for Apache ZooKeeper
77
home: https://github.com/stackabletech/zookeeper-operator
88
maintainers:

docs/modules/zookeeper/examples/getting_started/code/getting_started.sh

+9-9
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@ helm repo update
2828

2929
echo "Installing Operators with Helm"
3030
# tag::helm-install-operators[]
31-
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.0
32-
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.0
33-
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.0
34-
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.11.0
31+
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1-rc1
32+
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1-rc1
33+
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1-rc1
34+
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.11.1-rc1
3535
# end::helm-install-operators[]
3636
;;
3737
"stackablectl")
3838
echo "installing Operators with stackablectl"
3939
# tag::stackablectl-install-operators[]
4040
stackablectl operator install \
41-
commons=24.11.0 \
42-
secret=24.11.0 \
43-
listener=24.11.0 \
44-
zookeeper=24.11.0
41+
commons=24.11.1-rc1 \
42+
secret=24.11.1-rc1 \
43+
listener=24.11.1-rc1 \
44+
zookeeper=24.11.1-rc1
4545
# end::stackablectl-install-operators[]
4646
;;
4747
*)
@@ -70,7 +70,7 @@ zkCli_ls() {
7070
# tag::zkcli-ls[]
7171
kubectl run my-pod \
7272
--stdin --tty --quiet --restart=Never \
73-
--image docker.stackable.tech/stackable/zookeeper:3.9.2-stackable24.11.0 -- \
73+
--image docker.stackable.tech/stackable/zookeeper:3.9.2-stackable24.11.1-rc1 -- \
7474
bin/zkCli.sh -server simple-zk-server-default:2282 ls / > /dev/null && \
7575
kubectl logs my-pod && \
7676
kubectl delete pods my-pod
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Installed commons=24.11.0 operator
2-
Installed secret=24.11.0 operator
3-
Installed listener=24.11.0 operator
4-
Installed zookeeper=24.11.0 operator
1+
Installed commons=24.11.1-rc1 operator
2+
Installed secret=24.11.1-rc1 operator
3+
Installed listener=24.11.1-rc1 operator
4+
Installed zookeeper=24.11.1-rc1 operator

docs/templating_vars.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ helm:
33
repo_name: stackable-stable
44
repo_url: https://repo.stackable.tech/repository/helm-stable/
55
versions:
6-
commons: 24.11.0
7-
secret: 24.11.0
8-
listener: 24.11.0
9-
zookeeper: 24.11.0
6+
commons: 24.11.1-rc1
7+
secret: 24.11.1-rc1
8+
listener: 24.11.1-rc1
9+
zookeeper: 24.11.1-rc1

tests/release.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ releases:
77
description: Integration test
88
products:
99
commons:
10-
operatorVersion: 24.11.0
10+
operatorVersion: 24.11.1-rc1
1111
secret:
12-
operatorVersion: 24.11.0
12+
operatorVersion: 24.11.1-rc1
1313
listener:
14-
operatorVersion: 24.11.0
14+
operatorVersion: 24.11.1-rc1
1515
zookeeper:
16-
operatorVersion: 24.11.0
16+
operatorVersion: 24.11.1-rc1

0 commit comments

Comments
 (0)