Skip to content

Commit 9b80387

Browse files
authored
Merge branch 'main' into ci/tweak-integration-test-config
2 parents 046d2d4 + eba47b3 commit 9b80387

File tree

12 files changed

+1883
-734
lines changed

12 files changed

+1883
-734
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 6 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,22 @@ 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' }}
349-
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
348+
- name: Update version if PR against main branch
349+
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' }}
350+
env:
351+
PR_NUMBER: ${{ github.event.pull_request.number }}
352+
run: |
353+
PR_VERSION="0.0.0-pr${PR_NUMBER}"
354+
cargo set-version --offline --workspace "$PR_VERSION"
355+
- name: Update version if PR against non-main branch
356+
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
357+
if: ${{ github.event_name == 'pull_request' && startsWith(github.event.pull_request.base.ref, 'release-') }}
358+
env:
359+
PR_NUMBER: ${{ github.event.pull_request.number }}
360+
run: |
361+
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
362+
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
363+
cargo set-version --offline --workspace "$PR_VERSION"
350364
351365
# Recreate charts and publish charts and docker image. The "-e" is needed as we want to override the
352366
# default value in the makefile if called from this action, but not otherwise (i.e. when called locally).
@@ -410,9 +424,22 @@ jobs:
410424
with:
411425
crate: cargo-edit
412426
bin: cargo-set-version
413-
- name: Update version if PR
414-
if: ${{ github.event_name == 'pull_request' }}
415-
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
427+
- name: Update version if PR against main branch
428+
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' }}
429+
env:
430+
PR_NUMBER: ${{ github.event.pull_request.number }}
431+
run: |
432+
PR_VERSION="0.0.0-pr${PR_NUMBER}"
433+
cargo set-version --offline --workspace "$PR_VERSION"
434+
- name: Update version if PR against non-main branch
435+
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
436+
if: ${{ github.event_name == 'pull_request' && startsWith(github.event.pull_request.base.ref, 'release-') }}
437+
env:
438+
PR_NUMBER: ${{ github.event.pull_request.number }}
439+
run: |
440+
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
441+
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
442+
cargo set-version --offline --workspace "$PR_VERSION"
416443
- name: Build manifest list
417444
run: |
418445
# Creating manifest list

.readme/partials/borrowed/footer.md.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
This operator is written and maintained by [Stackable](https://stackable.tech) and it is part of a larger data platform.
55

6-
![Stackable Data Platform Overview](./.readme/static/borrowed/sdp_overview.png)
6+
![Stackable Data Platform Overview](./.readme/static/borrowed/stackable_overview.png)
77

88
Stackable makes it easy to operate data applications in any Kubernetes cluster.
99

197 KB
Loading

CHANGELOG.md

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

33
## [Unreleased]
44

5+
### Added
6+
7+
- Run a `containerdebug` process in the background of each Airflow container to collect debugging information ([#557]).
8+
59
### Fixed
610

711
- BREAKING: Use distinct ServiceAccounts for the Stacklets, so that multiple Stacklets can be
@@ -11,6 +15,7 @@
1115

1216
[#545]: https://github.com/stackabletech/airflow-operator/pull/545
1317
[#547]: https://github.com/stackabletech/airflow-operator/pull/547
18+
[#557]: https://github.com/stackabletech/airflow-operator/pull/557
1419

1520
## [24.11.0] - 2024-11-18
1621

0 commit comments

Comments
 (0)