Skip to content

Commit 9980415

Browse files
authored
Merge pull request #554 from stackabletech/pr-24.11.1-rc1
release-24.11/24.11.1-rc1
2 parents 4d4359a + d206e81 commit 9980415

File tree

10 files changed

+53
-33
lines changed

10 files changed

+53
-33
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- trying
1414
- "renovate/**"
1515
tags:
16-
- '[0-9][0-9].[0-9]+.[0-9]+'
16+
- '[0-9][0-9].[0-9]+.[0-9]+(-rc[0-9]+)?'
1717
pull_request:
1818
merge_group:
1919
schedule:
@@ -344,9 +344,18 @@ jobs:
344344
with:
345345
crate: cargo-edit
346346
bin: cargo-set-version
347-
- name: Update version if PR
348-
if: ${{ github.event_name == 'pull_request' }}
347+
- name: Update version if PR against main branch
348+
if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }}
349349
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
350+
- name: Update version if PR against non-main branch
351+
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
352+
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
353+
env:
354+
PR_NUMBER: ${{ github.event.pull_request.number }}
355+
run: |
356+
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
357+
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
358+
cargo set-version --offline --workspace "$PR_VERSION"
350359
351360
# Recreate charts and publish charts and docker image. The "-e" is needed as we want to override the
352361
# default value in the makefile if called from this action, but not otherwise (i.e. when called locally).
@@ -410,9 +419,18 @@ jobs:
410419
with:
411420
crate: cargo-edit
412421
bin: cargo-set-version
413-
- name: Update version if PR
414-
if: ${{ github.event_name == 'pull_request' }}
422+
- name: Update version if PR against main branch
423+
if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }}
415424
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
425+
- name: Update version if PR against non-main branch
426+
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
427+
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
428+
env:
429+
PR_NUMBER: ${{ github.event.pull_request.number }}
430+
run: |
431+
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
432+
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
433+
cargo set-version --offline --workspace "$PR_VERSION"
416434
- name: Build manifest list
417435
run: |
418436
# Creating manifest list

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [24.11.1-rc1] - 2024-12-05
6+
57
### Fixed
68

79
- 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/airflow-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: airflow-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 Airflow
77
home: https://github.com/stackabletech/airflow-operator
88
maintainers:

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ echo "Updating Helm repo"
4444
helm repo update
4545
echo "Installing Operators with Helm"
4646
# tag::helm-install-operators[]
47-
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.0
48-
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.0
49-
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.0
50-
helm install --wait airflow-operator stackable-stable/airflow-operator --version 24.11.0
47+
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1-rc1
48+
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1-rc1
49+
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1-rc1
50+
helm install --wait airflow-operator stackable-stable/airflow-operator --version 24.11.1-rc1
5151
# end::helm-install-operators[]
5252
;;
5353
"stackablectl")
5454
echo "installing Operators with stackablectl"
5555
# tag::stackablectl-install-operators[]
5656
stackablectl operator install \
57-
commons=24.11.0 \
58-
secret=24.11.0 \
59-
listener=24.11.0 \
60-
airflow=24.11.0
57+
commons=24.11.1-rc1 \
58+
secret=24.11.1-rc1 \
59+
listener=24.11.1-rc1 \
60+
airflow=24.11.1-rc1
6161
# end::stackablectl-install-operators[]
6262
;;
6363
*)
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 airflow=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 airflow=24.11.1-rc1 operator

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-
airflow: 24.11.0
6+
commons: 24.11.1-rc1
7+
secret: 24.11.1-rc1
8+
listener: 24.11.1-rc1
9+
airflow: 24.11.1-rc1
1010
postgresql: 12.1.5
1111
redis: 17.3.7

tests/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ 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
airflow:
16-
operatorVersion: 24.11.0
16+
operatorVersion: 24.11.1-rc1
1717
spark-k8s:
18-
operatorVersion: 24.11.0
18+
operatorVersion: 24.11.1-rc1

0 commit comments

Comments
 (0)