Skip to content

Commit 1306b1e

Browse files
authored
Merge branch 'main' into docs/provision-keytab
2 parents 89a46ef + e285f2e commit 1306b1e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+417
-1100
lines changed

.github/pull_request_template.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
- [ ] Helm chart can be installed and deployed operator works
1616
- [ ] Integration tests passed (for non trivial changes)
1717
- [ ] Changes need to be "offline" compatible
18+
- [ ] Links to generated (nightly) docs added
19+
- [ ] Release note snippet added
1820

1921
### Reviewer
2022

@@ -29,4 +31,7 @@
2931

3032
- [ ] Feature Tracker has been updated
3133
- [ ] Proper release label has been added
32-
- [ ] [Roadmap](https://github.com/orgs/stackabletech/projects/25/views/1) has been updated
34+
- [ ] Links to generated (nightly) docs added
35+
- [ ] Release note snippet added
36+
- [ ] Add `type/deprecation` label & add to the [deprecation schedule](https://github.com/orgs/stackabletech/projects/44/views/1)
37+
- [ ] Add `type/experimental` label & add to the [experimental features tracker](https://github.com/orgs/stackabletech/projects/47)

.github/workflows/build.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ env:
2626
CARGO_TERM_COLOR: always
2727
CARGO_INCREMENTAL: '0'
2828
CARGO_PROFILE_DEV_DEBUG: '0'
29-
RUST_TOOLCHAIN_VERSION: "1.85.0"
30-
RUST_NIGHTLY_TOOLCHAIN_VERSION: "nightly-2025-01-15"
31-
PYTHON_VERSION: "3.12"
29+
RUST_TOOLCHAIN_VERSION: "1.87.0"
30+
RUST_NIGHTLY_TOOLCHAIN_VERSION: "nightly-2025-05-26"
31+
PYTHON_VERSION: "3.13"
3232
RUSTFLAGS: "-D warnings"
3333
RUSTDOCFLAGS: "-D warnings"
3434
RUST_LOG: "info"
@@ -42,18 +42,18 @@ jobs:
4242
RUSTC_BOOTSTRAP: 1
4343
steps:
4444
- name: Install host dependencies
45-
uses: awalsh128/cache-apt-pkgs-action@5902b33ae29014e6ca012c5d8025d4346556bd40 # v1.4.3
45+
uses: awalsh128/cache-apt-pkgs-action@4c82c3ccdc1344ee11e9775dbdbdf43aa8a5614e # v1.5.1
4646
with:
4747
packages: protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config apt-transport-https
4848
version: ubuntu-latest
4949
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5050
with:
5151
persist-credentials: false
5252
submodules: recursive
53-
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
53+
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
5454
with:
5555
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
56-
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
56+
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
5757
with:
5858
key: udeps
5959
cache-all-crates: "true"
@@ -114,7 +114,7 @@ jobs:
114114
with:
115115
persist-credentials: false
116116
submodules: recursive
117-
- uses: EmbarkStudios/cargo-deny-action@34899fc7ba81ca6268d5947a7a16b4649013fea1 # v2.0.11
117+
- uses: EmbarkStudios/cargo-deny-action@30f817c6f72275c6d54dc744fbca09ebc958599f # v2.0.12
118118
with:
119119
command: check ${{ matrix.checks }}
120120

@@ -126,7 +126,7 @@ jobs:
126126
with:
127127
persist-credentials: false
128128
submodules: recursive
129-
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
129+
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
130130
with:
131131
toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN_VERSION }}
132132
components: rustfmt
@@ -139,19 +139,19 @@ jobs:
139139
runs-on: ubuntu-latest
140140
steps:
141141
- name: Install host dependencies
142-
uses: awalsh128/cache-apt-pkgs-action@5902b33ae29014e6ca012c5d8025d4346556bd40 # v1.4.3
142+
uses: awalsh128/cache-apt-pkgs-action@4c82c3ccdc1344ee11e9775dbdbdf43aa8a5614e # v1.5.1
143143
with:
144144
packages: protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config apt-transport-https
145145
version: ubuntu-latest
146146
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
147147
with:
148148
persist-credentials: false
149149
submodules: recursive
150-
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
150+
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
151151
with:
152152
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
153153
components: clippy
154-
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
154+
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
155155
with:
156156
key: clippy
157157
cache-all-crates: "true"
@@ -178,18 +178,18 @@ jobs:
178178
runs-on: ubuntu-latest
179179
steps:
180180
- name: Install host dependencies
181-
uses: awalsh128/cache-apt-pkgs-action@5902b33ae29014e6ca012c5d8025d4346556bd40 # v1.4.3
181+
uses: awalsh128/cache-apt-pkgs-action@4c82c3ccdc1344ee11e9775dbdbdf43aa8a5614e # v1.5.1
182182
with:
183183
packages: protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config apt-transport-https
184184
version: ubuntu-latest
185185
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
186186
with:
187187
submodules: recursive
188-
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
188+
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
189189
with:
190190
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
191191
components: rustfmt
192-
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
192+
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
193193
with:
194194
key: doc
195195
cache-all-crates: "true"
@@ -201,18 +201,18 @@ jobs:
201201
runs-on: ubuntu-latest
202202
steps:
203203
- name: Install host dependencies
204-
uses: awalsh128/cache-apt-pkgs-action@5902b33ae29014e6ca012c5d8025d4346556bd40 # v1.4.3
204+
uses: awalsh128/cache-apt-pkgs-action@4c82c3ccdc1344ee11e9775dbdbdf43aa8a5614e # v1.5.1
205205
with:
206206
packages: protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config apt-transport-https
207207
version: ubuntu-latest
208208
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
209209
with:
210210
persist-credentials: false
211211
submodules: recursive
212-
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
212+
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
213213
with:
214214
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
215-
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
215+
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
216216
with:
217217
key: test
218218
cache-all-crates: "true"
@@ -261,7 +261,7 @@ jobs:
261261
runs-on: ubuntu-latest
262262
steps:
263263
- name: Install host dependencies
264-
uses: awalsh128/cache-apt-pkgs-action@5902b33ae29014e6ca012c5d8025d4346556bd40 # v1.4.3
264+
uses: awalsh128/cache-apt-pkgs-action@4c82c3ccdc1344ee11e9775dbdbdf43aa8a5614e # v1.5.1
265265
with:
266266
packages: protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config apt-transport-https
267267
version: ubuntu-latest
@@ -274,10 +274,10 @@ jobs:
274274
with:
275275
version: v3.16.1
276276
- name: Set up cargo
277-
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
277+
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
278278
with:
279279
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
280-
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
280+
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
281281
with:
282282
key: charts
283283
cache-all-crates: "true"
@@ -332,16 +332,16 @@ jobs:
332332
IMAGE_TAG: ${{ steps.printtag.outputs.IMAGE_TAG }}
333333
steps:
334334
- name: Install host dependencies
335-
uses: awalsh128/cache-apt-pkgs-action@5902b33ae29014e6ca012c5d8025d4346556bd40 # v1.4.3
335+
uses: awalsh128/cache-apt-pkgs-action@4c82c3ccdc1344ee11e9775dbdbdf43aa8a5614e # v1.5.1
336336
with:
337337
packages: protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config apt-transport-https
338338
version: ${{ matrix.runner }}
339339
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
340340
with:
341341
persist-credentials: false
342342
submodules: recursive
343-
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31.2.0
344-
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
343+
- uses: cachix/install-nix-action@f0fe604f8a612776892427721526b4c7cfb23aba # v31.4.1
344+
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
345345
with:
346346
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
347347
components: rustfmt
@@ -376,9 +376,9 @@ jobs:
376376
377377
# Recreate charts and publish charts and docker image.
378378
- name: Install cosign
379-
uses: sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb # v3.8.2
379+
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3.9.1
380380
- name: Install syft
381-
uses: anchore/sbom-action/download-syft@f325610c9f50a54015d37c8d16cb3b0e2c8f4de0 # v0.18.0
381+
uses: anchore/sbom-action/download-syft@cee1b8e05ae5b2593a75e197229729eabaa9f8ec # v0.20.2
382382
- name: Build Docker image and Helm chart
383383
run: |
384384
# Installing helm and yq on ubicloud-standard-8-arm only
@@ -421,7 +421,7 @@ jobs:
421421
OCI_REGISTRY_SDP_CHARTS_USERNAME: "robot$sdp-charts+github-action-build"
422422
steps:
423423
- name: Install cosign
424-
uses: sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb # v3.8.2
424+
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3.9.1
425425
- name: Checkout
426426
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
427427
with:

.github/workflows/integration-test.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686

8787
- name: Run Integration Test
8888
id: test
89-
uses: stackabletech/actions/run-integration-test@5901c3b1455488820c4be367531e07c3c3e82538 # v0.4.0
89+
uses: stackabletech/actions/run-integration-test@4483641a7e24057bd2ba51cb4c3f2f0010ad21b7 # v0.8.4
9090
with:
9191
test-platform: ${{ env.TEST_PLATFORM }}-${{ env.TEST_ARCHITECTURE }}
9292
test-run: ${{ env.TEST_RUN }}
@@ -97,7 +97,7 @@ jobs:
9797
if: ${{ failure() }}
9898
env:
9999
SLACK_BOT_TOKEN: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }}
100-
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
100+
uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1
101101
with:
102102
channel-id: "C07UYJYSMSN" # notifications-integration-tests
103103
payload: |
@@ -117,3 +117,21 @@ jobs:
117117
}
118118
]
119119
}
120+
# TODO: Update to version 2.1.0. This could look something like the following.
121+
# The workflow is currently not in use, testing that the new version still works imposes effort.
122+
# So I left it as a future exercise, but saved the current state.
123+
#
124+
# uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0
125+
# with:
126+
# method: chat.postMessage
127+
# token: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }}
128+
# payload: |
129+
# channel: "C07UYJYSMSN" # notifications-integration-tests
130+
# text: "Integration Test *${{ github.repository }}* failed"
131+
# attachments:
132+
# - pretext: "Started at ${{ steps.test.outputs.start-time }}, failed at ${{ steps.test.outputs.end-time }}"
133+
# color: "#aa0000"
134+
# actions:
135+
# - type: button
136+
# text: Go to integration test run
137+
# url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

.github/workflows/pr_pre-commit.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ on:
77

88
env:
99
CARGO_TERM_COLOR: always
10-
NIX_PKG_MANAGER_VERSION: "2.28.3"
11-
RUST_TOOLCHAIN_VERSION: "nightly-2025-01-15"
10+
NIX_PKG_MANAGER_VERSION: "2.30.0"
11+
RUST_TOOLCHAIN_VERSION: "nightly-2025-05-26"
1212
HADOLINT_VERSION: "v2.12.0"
13-
PYTHON_VERSION: "3.12"
13+
PYTHON_VERSION: "3.13"
1414

1515
jobs:
1616
pre-commit:
@@ -26,7 +26,7 @@ jobs:
2626
persist-credentials: false
2727
submodules: recursive
2828
fetch-depth: 0
29-
- uses: stackabletech/actions/run-pre-commit@4bfd3b65f22af597fe784599c077dc34bf5894a7 # v0.8.0
29+
- uses: stackabletech/actions/run-pre-commit@9aae2d1c14239021bfa33c041010f6fb7adec815 # v0.8.2
3030
with:
3131
python-version: ${{ env.PYTHON_VERSION }}
3232
rust: ${{ env.RUST_TOOLCHAIN_VERSION }}

.hadolint.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
ignored:
3+
# Warning: Use the -y switch to avoid manual input dnf install -y <package>
4+
# https://github.com/hadolint/hadolint/wiki/DL3038
5+
# Reason: We set `assumeyes=True` in dnf.conf in our base image
6+
- DL3038
7+
8+
# Warning: Specify version with dnf install -y <package>-<version>
9+
# https://github.com/hadolint/hadolint/wiki/DL3041
10+
# Reason: It's good advice, but we're not set up to pin versions just yet
11+
- DL3041

.markdownlint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ MD033:
2222
MD024:
2323
# Only check sibling headings
2424
siblings_only: true
25+
26+
# MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading
27+
MD041: false # Github issues and PRs already have titles, and H1 is enormous in the description box.

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ repos:
1515
- id: detect-private-key
1616

1717
- repo: https://github.com/adrienverge/yamllint
18-
rev: 81e9f98ffd059efe8aa9c1b1a42e5cce61b640c6 # 1.35.1
18+
rev: 79a6b2b1392eaf49cdd32ac4f14be1a809bbd8f7 # 1.37.1
1919
hooks:
2020
- id: yamllint
2121

2222
- repo: https://github.com/igorshubovych/markdownlint-cli
23-
rev: 586c3ea3f51230da42bab657c6a32e9e66c364f0 # 0.44.0
23+
rev: 192ad822316c3a22fb3d3cc8aa6eafa0b8488360 # 0.45.0
2424
hooks:
2525
- id: markdownlint
2626
types: [text]
@@ -36,10 +36,10 @@ repos:
3636
# If you do not, you will need to delete the cached ruff binary shown in the
3737
# error message
3838
- repo: https://github.com/astral-sh/ruff-pre-commit
39-
rev: 2c8dce6094fa2b4b668e74f694ca63ceffd38614 # 0.9.9
39+
rev: 0b19ef1fd6ad680ed7752d6daba883ce1265a6de # 0.12.2
4040
hooks:
4141
# Run the linter.
42-
- id: ruff
42+
- id: ruff-check
4343
# Run the formatter.
4444
- id: ruff-format
4545

@@ -82,7 +82,7 @@ repos:
8282
- id: cargo-rustfmt
8383
name: cargo-rustfmt
8484
language: system
85-
entry: cargo +nightly-2025-01-15 fmt --all -- --check
85+
entry: cargo +nightly-2025-05-26 fmt --all -- --check
8686
stages: [pre-commit, pre-merge-commit]
8787
pass_filenames: false
8888
files: \.rs$
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!-- markdownlint-disable MD041 -->
22
## Documentation
33

4-
The stable documentation for this operator can be found [here](https://docs.stackable.tech/home/stable/{{operator_docs_slug}}).
4+
The stable documentation for this operator can be found in our [Stackable Data Platform documentation](https://docs.stackable.tech/home/stable/{{operator_docs_slug}}).
55
If you are interested in the most recent state of this repository, check out the [nightly docs](https://docs.stackable.tech/home/nightly/{{operator_docs_slug}}) instead.
66

77
The documentation for all Stackable products can be found at [docs.stackable.tech](https://docs.stackable.tech).
88

9-
If you have a question about the Stackable Data Platform contact us via our [homepage](https://stackable.tech/) or ask a public questions in our [Discussions forum](https://github.com/orgs/stackabletech/discussions).
9+
If you have a question about the Stackable Data Platform, contact us via our [homepage](https://stackable.tech/) or ask a public question in our [Discussions forum](https://github.com/orgs/stackabletech/discussions).

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,7 @@ This is enforced automatically when you submit a Pull Request where a bot will g
6262
## Support
6363

6464
Get started with the community edition! If you want professional support, [we offer subscription plans and custom licensing](https://stackable.tech/en/plans/).
65+
66+
## Sponsor
67+
68+
If you want to support our work but don't need professional support please consider [sponsoring](https://github.com/sponsors/stackabletech) our work.

.readme/partials/borrowed/links.md.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<!-- markdownlint-disable MD041 -->
2-
{% if no_jenkins_job_badge %}{% else %}![Build Actions Status](https://ci.stackable.tech/buildStatus/icon?job={{operator_name}}%2doperator%2dit%2dnightly&subject=Integration%20Tests){% endif %}
32
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/stackabletech/{{operator_name}}-operator/graphs/commit-activity)
43
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg)](https://docs.stackable.tech/home/stable/contributor/index.html)
54
[![License OSL3.0](https://img.shields.io/badge/license-OSL3.0-green)](./LICENSE)

0 commit comments

Comments
 (0)