diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b4abe75..9217c8ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -350,13 +350,15 @@ jobs: 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. + # We can't rely on cargo set-version here as we will break semver rules when changing the version to make it + # specific to this PR e.g. 1.2.0 --> 1.2.0-pr678, so set it manually. 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" + sed -i "s/version = \"${MANIFEST_VERSION}\"/version = \"${PR_VERSION}\"/" Cargo.toml # 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). @@ -425,13 +427,15 @@ jobs: 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. + # We can't rely on cargo set-version here as we will break semver rules when changing the version to make it + # specific to this PR e.g. 1.2.0 --> 1.2.0-pr678, so set it manually. 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" + sed -i "s/version = \"${MANIFEST_VERSION}\"/version = \"${PR_VERSION}\"/" Cargo.toml - name: Build manifest list run: | # Creating manifest list diff --git a/CHANGELOG.md b/CHANGELOG.md index bd91d9b8..968283df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [24.11.1] - 2025-01-10 + ## [24.11.1-rc2] - 2024-12-12 ## [24.11.1-rc1] - 2024-12-06 diff --git a/Cargo.lock b/Cargo.lock index c6dd8b67..b652e959 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2172,7 +2172,7 @@ checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" [[package]] name = "stackable-hive-crd" -version = "24.11.1-rc2" +version = "24.11.1" dependencies = [ "indoc", "rstest", @@ -2187,7 +2187,7 @@ dependencies = [ [[package]] name = "stackable-hive-operator" -version = "24.11.1-rc2" +version = "24.11.1" dependencies = [ "anyhow", "built", diff --git a/Cargo.nix b/Cargo.nix index f6ede65b..5aa7d4f8 100644 --- a/Cargo.nix +++ b/Cargo.nix @@ -6678,7 +6678,7 @@ rec { }; "stackable-hive-crd" = rec { crateName = "stackable-hive-crd"; - version = "24.11.1-rc2"; + version = "24.11.1"; edition = "2021"; src = lib.cleanSourceWith { filter = sourceFilter; src = ./rust/crd; }; libName = "stackable_hive_crd"; @@ -6731,7 +6731,7 @@ rec { }; "stackable-hive-operator" = rec { crateName = "stackable-hive-operator"; - version = "24.11.1-rc2"; + version = "24.11.1"; edition = "2021"; crateBin = [ { diff --git a/Cargo.toml b/Cargo.toml index 0d38541b..e76efdbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["rust/crd", "rust/operator-binary"] resolver = "2" [workspace.package] -version = "24.11.1-rc2" +version = "24.11.1" authors = ["Stackable GmbH "] license = "OSL-3.0" edition = "2021" diff --git a/deploy/helm/hive-operator/Chart.yaml b/deploy/helm/hive-operator/Chart.yaml index 293e96c3..c8de7221 100644 --- a/deploy/helm/hive-operator/Chart.yaml +++ b/deploy/helm/hive-operator/Chart.yaml @@ -1,8 +1,8 @@ --- apiVersion: v2 name: hive-operator -version: "24.11.1-rc2" -appVersion: "24.11.1-rc2" +version: "24.11.1" +appVersion: "24.11.1" description: The Stackable Operator for Apache Hive home: https://github.com/stackabletech/hive-operator maintainers: diff --git a/docs/modules/hive/examples/getting_started/getting_started.sh b/docs/modules/hive/examples/getting_started/getting_started.sh index 108cee2a..fb4fcdf1 100755 --- a/docs/modules/hive/examples/getting_started/getting_started.sh +++ b/docs/modules/hive/examples/getting_started/getting_started.sh @@ -33,10 +33,10 @@ helm repo update echo "Installing Operators with Helm" # tag::helm-install-operators[] -helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1-rc2 -helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1-rc2 -helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1-rc2 -helm install --wait hive-operator stackable-stable/hive-operator --version 24.11.1-rc2 +helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1 +helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1 +helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1 +helm install --wait hive-operator stackable-stable/hive-operator --version 24.11.1 # end::helm-install-operators[] echo "Install minio for S3" @@ -75,10 +75,10 @@ if false; then echo "Installing Operators with stackablectl" # tag::stackablectl-install-operators[] stackablectl operator install \ - commons=24.11.1-rc2 \ - secret=24.11.1-rc2 \ - listener=24.11.1-rc2 \ - hive=24.11.1-rc2 + commons=24.11.1 \ + secret=24.11.1 \ + listener=24.11.1 \ + hive=24.11.1 # end::stackablectl-install-operators[] fi diff --git a/docs/modules/hive/examples/getting_started/install-operator-output.txt b/docs/modules/hive/examples/getting_started/install-operator-output.txt index e109ce90..8e42b8a8 100644 --- a/docs/modules/hive/examples/getting_started/install-operator-output.txt +++ b/docs/modules/hive/examples/getting_started/install-operator-output.txt @@ -1,4 +1,4 @@ -Installed commons=24.11.1-rc2 operator -Installed secret=24.11.1-rc2 operator -Installed listener=24.11.1-rc2 operator -Installed hive=24.11.1-rc2 operator +Installed commons=24.11.1 operator +Installed secret=24.11.1 operator +Installed listener=24.11.1 operator +Installed hive=24.11.1 operator diff --git a/docs/modules/hive/examples/getting_started/release.yaml b/docs/modules/hive/examples/getting_started/release.yaml index b4192c86..9689db4c 100644 --- a/docs/modules/hive/examples/getting_started/release.yaml +++ b/docs/modules/hive/examples/getting_started/release.yaml @@ -5,10 +5,10 @@ releases: description: Demo / Test release for Hive getting started guide products: commons: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 hive: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 listener: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 secret: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 diff --git a/docs/templating_vars.yaml b/docs/templating_vars.yaml index a7677a6f..70bfd4e5 100644 --- a/docs/templating_vars.yaml +++ b/docs/templating_vars.yaml @@ -3,9 +3,9 @@ helm: repo_name: stackable-stable repo_url: https://repo.stackable.tech/repository/helm-stable/ versions: - commons: 24.11.1-rc2 - secret: 24.11.1-rc2 - listener: 24.11.1-rc2 - hive: 24.11.1-rc2 + commons: 24.11.1 + secret: 24.11.1 + listener: 24.11.1 + hive: 24.11.1 minio: 4.0.2 postgresql: 12.1.5 diff --git a/tests/release.yaml b/tests/release.yaml index 8f43a303..06ebc131 100644 --- a/tests/release.yaml +++ b/tests/release.yaml @@ -7,14 +7,14 @@ releases: description: Integration test products: commons: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 secret: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 listener: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 zookeeper: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 hdfs: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 hive: - operatorVersion: 24.11.1-rc2 + operatorVersion: 24.11.1 diff --git a/tests/templates/kuttl/upgrade/30-assert.yaml.j2 b/tests/templates/kuttl/upgrade/30-assert.yaml.j2 index e2b93058..4ad68769 100644 --- a/tests/templates/kuttl/upgrade/30-assert.yaml.j2 +++ b/tests/templates/kuttl/upgrade/30-assert.yaml.j2 @@ -10,9 +10,9 @@ metadata: labels: {% if test_scenario['values']['hive-old'].find(",") > 0 %} # Yes, this *might* not work with custom images, I'm sorry! - app.kubernetes.io/version: "{{ test_scenario['values']['hive-old'].split(',')[0] }}-stackable24.11.1-rc2" + app.kubernetes.io/version: "{{ test_scenario['values']['hive-old'].split(',')[0] }}-stackable24.11.1" {% else %} - app.kubernetes.io/version: "{{ test_scenario['values']['hive-old'] }}-stackable24.11.1-rc2" + app.kubernetes.io/version: "{{ test_scenario['values']['hive-old'] }}-stackable24.11.1" {% endif %} status: readyReplicas: 1 diff --git a/tests/templates/kuttl/upgrade/31-assert.yaml.j2 b/tests/templates/kuttl/upgrade/31-assert.yaml.j2 index 9a6d3c75..43385514 100644 --- a/tests/templates/kuttl/upgrade/31-assert.yaml.j2 +++ b/tests/templates/kuttl/upgrade/31-assert.yaml.j2 @@ -10,9 +10,9 @@ metadata: labels: {% if test_scenario['values']['hive-old'].find(",") > 0 %} # Yes, this *might* not work with custom images, I'm sorry! - app.kubernetes.io/version: "{{ test_scenario['values']['hive-new'].split(',')[0] }}-stackable24.11.1-rc2" + app.kubernetes.io/version: "{{ test_scenario['values']['hive-new'].split(',')[0] }}-stackable24.11.1" {% else %} - app.kubernetes.io/version: "{{ test_scenario['values']['hive-new'] }}-stackable24.11.1-rc2" + app.kubernetes.io/version: "{{ test_scenario['values']['hive-new'] }}-stackable24.11.1" {% endif %} status: readyReplicas: 1