Skip to content

Commit 0dbce61

Browse files
authored
Merge pull request #552 from stackabletech/pr-24.11.1-rc1
release-24.11/24.11.1-rc1
2 parents 3fb2717 + 288007b commit 0dbce61

File tree

13 files changed

+62
-41
lines changed

13 files changed

+62
-41
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 4 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
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/hive-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
apiVersion: v2
33
name: hive-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 Hive
77
home: https://github.com/stackabletech/hive-operator
88
maintainers:

docs/modules/hive/examples/getting_started/getting_started.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ helm repo update
3333

3434
echo "Installing Operators with Helm"
3535
# tag::helm-install-operators[]
36-
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.0
37-
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.0
38-
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.0
39-
helm install --wait hive-operator stackable-stable/hive-operator --version 24.11.0
36+
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1-rc1
37+
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1-rc1
38+
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1-rc1
39+
helm install --wait hive-operator stackable-stable/hive-operator --version 24.11.1-rc1
4040
# end::helm-install-operators[]
4141

4242
echo "Install minio for S3"
@@ -75,10 +75,10 @@ if false; then
7575
echo "Installing Operators with stackablectl"
7676
# tag::stackablectl-install-operators[]
7777
stackablectl operator install \
78-
commons=24.11.0 \
79-
secret=24.11.0 \
80-
listener=24.11.0 \
81-
hive=24.11.0
78+
commons=24.11.1-rc1 \
79+
secret=24.11.1-rc1 \
80+
listener=24.11.1-rc1 \
81+
hive=24.11.1-rc1
8282
# end::stackablectl-install-operators[]
8383
fi
8484

Lines changed: 4 additions & 4 deletions
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 hive=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 hive=24.11.1-rc1 operator

docs/modules/hive/examples/getting_started/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ releases:
55
description: Demo / Test release for Hive getting started guide
66
products:
77
commons:
8-
operatorVersion: 24.11.0
8+
operatorVersion: 24.11.1-rc1
99
hive:
10-
operatorVersion: 24.11.0
10+
operatorVersion: 24.11.1-rc1
1111
listener:
12-
operatorVersion: 24.11.0
12+
operatorVersion: 24.11.1-rc1
1313
secret:
14-
operatorVersion: 24.11.0
14+
operatorVersion: 24.11.1-rc1

docs/templating_vars.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ 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-
hive: 24.11.0
6+
commons: 24.11.1-rc1
7+
secret: 24.11.1-rc1
8+
listener: 24.11.1-rc1
9+
hive: 24.11.1-rc1
1010
minio: 4.0.2
1111
postgresql: 12.1.5

tests/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ 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
1717
hdfs:
18-
operatorVersion: 24.11.0
18+
operatorVersion: 24.11.1-rc1
1919
hive:
20-
operatorVersion: 24.11.0
20+
operatorVersion: 24.11.1-rc1

tests/templates/kuttl/upgrade/30-assert.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ metadata:
1010
labels:
1111
{% if test_scenario['values']['hive-old'].find(",") > 0 %}
1212
# Yes, this *might* not work with custom images, I'm sorry!
13-
app.kubernetes.io/version: "{{ test_scenario['values']['hive-old'].split(',')[0] }}-stackable24.11.0"
13+
app.kubernetes.io/version: "{{ test_scenario['values']['hive-old'].split(',')[0] }}-stackable24.11.1-rc1"
1414
{% else %}
15-
app.kubernetes.io/version: "{{ test_scenario['values']['hive-old'] }}-stackable24.11.0"
15+
app.kubernetes.io/version: "{{ test_scenario['values']['hive-old'] }}-stackable24.11.1-rc1"
1616
{% endif %}
1717
status:
1818
readyReplicas: 1

tests/templates/kuttl/upgrade/31-assert.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ metadata:
1010
labels:
1111
{% if test_scenario['values']['hive-old'].find(",") > 0 %}
1212
# Yes, this *might* not work with custom images, I'm sorry!
13-
app.kubernetes.io/version: "{{ test_scenario['values']['hive-new'].split(',')[0] }}-stackable24.11.0"
13+
app.kubernetes.io/version: "{{ test_scenario['values']['hive-new'].split(',')[0] }}-stackable24.11.1-rc1"
1414
{% else %}
15-
app.kubernetes.io/version: "{{ test_scenario['values']['hive-new'] }}-stackable24.11.0"
15+
app.kubernetes.io/version: "{{ test_scenario['values']['hive-new'] }}-stackable24.11.1-rc1"
1616
{% endif %}
1717
status:
1818
readyReplicas: 1

0 commit comments

Comments
 (0)