Skip to content

Commit 6f62a98

Browse files
chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@6043559 (#854)
Reference-to: stackabletech/operator-templating@6043559 (Update deny.toml)
1 parent 86db778 commit 6f62a98

10 files changed

+128
-52
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Normal issue
3+
about: This is just a normal empty issue with a simple checklist
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
## Issue checklist
11+
12+
This is a simple checklist of things to bear in mind when creating a new issue.
13+
14+
- [ ] **Describe the use-case**: As far as possible, use the pattern "As a [type of user], I would like [feature/functionality] to be able to do [specific action]." This helps identify the feature and the problem it addresses.
15+
- [ ] **Indicate importance and urgency**: Use a scale (e.g., low, medium, high) to indicate the level of importance and urgency.
16+
- [ ] **Work-around**: If there is a known work-around, describe it briefly.
17+
- [ ] **Environment**: Describe the environment where the issue occurs (e.g., SDP version, K8S version, etc.).
+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
name: "🐛 Bug Report"
3+
description: "If something isn't working as expected 🤔."
4+
labels: ["type/bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Thanks for taking the time to file a bug report! Please fill out this form as completely as possible.
9+
10+
- type: input
11+
attributes:
12+
label: Affected Stackable version
13+
description: Which version of the Stackable Operator do you see this bug in?
14+
15+
# - type: input
16+
attributes:
17+
label: Affected Apache Kafka version
18+
description: Which version of Apache Kafka do you see this bug in?
19+
#
20+
- type: textarea
21+
attributes:
22+
label: Current and expected behavior
23+
description: A clear and concise description of what the operator is doing and what you would expect.
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
attributes:
29+
label: Possible solution
30+
description: "If you have suggestions on a fix for the bug."
31+
32+
- type: textarea
33+
attributes:
34+
label: Additional context
35+
description: "Add any other context about the problem here. Or a screenshot if applicable."
36+
37+
- type: textarea
38+
attributes:
39+
label: Environment
40+
description: |
41+
What type of kubernetes cluster you are running aginst (k3s/eks/aks/gke/other) and any other information about your environment?
42+
placeholder: |
43+
Examples:
44+
Output of `kubectl version --short`
45+
46+
- type: dropdown
47+
attributes:
48+
label: Would you like to work on fixing this bug?
49+
description: |
50+
**NOTE**: Let us know if you would like to submit a PR for this. We are more than happy to help you through the process.
51+
options:
52+
- "yes"
53+
- "no"
54+
- "maybe"

.github/PULL_REQUEST_TEMPLATE/pre-release-getting-started-script.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Check and Update Getting Started Script
1+
## Check and Update Getting Started Script
22

33
<!--
44
Make sure to update the link in 'issues/.github/ISSUE_TEMPLATE/pre-release-getting-started-scripts.md'

.github/PULL_REQUEST_TEMPLATE/pre-release-rust-deps.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Bump Rust Dependencies for Stackable Release YY.M.X
1+
## Bump Rust Dependencies for Stackable Release YY.M.X
22

33
<!--
44
Make sure to update the link in 'issues/.github/ISSUE_TEMPLATE/pre-release-operator-rust-deps.md'
@@ -17,11 +17,10 @@ Part of <https://github.com/stackabletech/issues/issues/TRACKING_ISSUE>
1717
> crates. These bumps also include previously updated and released crates from
1818
> the `operator-rs` repository.
1919
20-
```[tasklist]
2120
### Tasks
21+
2222
- [ ] Bump Rust Dependencies, see below for more details.
2323
- [ ] Add changelog entry stating which important crates were bumped (including the version).
24-
```
2524

2625
> [!NOTE]
2726
> The bumping / updating of Rust dependencies is done in multiple steps:
@@ -30,9 +29,8 @@ Part of <https://github.com/stackabletech/issues/issues/TRACKING_ISSUE>
3029
> 2. Run the `cargo update` command, which also updates the `Cargo.lock` file.
3130
> 3. Lastly, run `make regenerate-nix` to update the `Cargo.nix` file.
3231
33-
```[tasklist]
3432
### Bump Rust Dependencies
33+
3534
- [ ] Bump `stackable-operator` and friends
3635
- [ ] Bump `product-config`
3736
- [ ] Bump all other dependencies
38-
```

.github/pull_request_template.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Description
1+
## Description
22

33
*Please add a description here. This will become the commit message of the merge request later.*
44

@@ -7,29 +7,26 @@
77
- Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
88
- Please make sure all these things are done and tick the boxes
99

10-
```[tasklist]
11-
# Author
10+
### Author
11+
1212
- [ ] Changes are OpenShift compatible
1313
- [ ] CRD changes approved
1414
- [ ] CRD documentation for all fields, following the [style guide](https://docs.stackable.tech/home/nightly/contributor/docs/style-guide).
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-
```
1918

20-
```[tasklist]
21-
# Reviewer
19+
### Reviewer
20+
2221
- [ ] Code contains useful comments
2322
- [ ] Code contains useful logging statements
2423
- [ ] (Integration-)Test cases added
2524
- [ ] Documentation added or updated. Follows the [style guide](https://docs.stackable.tech/home/nightly/contributor/docs/style-guide).
2625
- [ ] Changelog updated
2726
- [ ] Cargo.toml only contains references to git tags (not specific commits or branches)
28-
```
2927

30-
```[tasklist]
31-
# Acceptance
28+
### Acceptance
29+
3230
- [ ] Feature Tracker has been updated
3331
- [ ] Proper release label has been added
3432
- [ ] [Roadmap](https://github.com/orgs/stackabletech/projects/25/views/1) has been updated
35-
```

.github/workflows/build.yml

+24-18
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
with:
5151
persist-credentials: false
5252
submodules: recursive
53-
- uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
53+
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
5454
with:
5555
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
56-
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
56+
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
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@8d73959fce1cdc8989f23fdf03bec6ae6a6576ef # v2.0.7
117+
- uses: EmbarkStudios/cargo-deny-action@34899fc7ba81ca6268d5947a7a16b4649013fea1 # v2.0.11
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@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
129+
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
130130
with:
131131
toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN_VERSION }}
132132
components: rustfmt
@@ -147,14 +147,15 @@ jobs:
147147
with:
148148
persist-credentials: false
149149
submodules: recursive
150-
- uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
150+
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
151151
with:
152152
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
153153
components: clippy
154-
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
154+
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
155155
with:
156156
key: clippy
157157
cache-all-crates: "true"
158+
# TODO (@Techassi): Remove this step (unmaintained action, kinda useless step anyway)
158159
- name: Run clippy action to produce annotations
159160
uses: giraffate/clippy-action@13b9d32482f25d29ead141b79e7e04e7900281e0 # v1.0.1
160161
env:
@@ -164,12 +165,14 @@ jobs:
164165
clippy_flags: --all-targets -- -D warnings
165166
reporter: 'github-pr-review'
166167
github_token: ${{ secrets.GITHUB_TOKEN }}
168+
# TODO (@Techassi): Remove, done by pre-commit
167169
- name: Run clippy manually without annotations
168170
env:
169171
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
170172
if: env.GITHUB_TOKEN == null
171173
run: cargo clippy --color never -q --all-targets -- -D warnings
172174

175+
# TODO (@Techassi): Can be done by pre-commit
173176
run_rustdoc:
174177
name: Run RustDoc
175178
runs-on: ubuntu-latest
@@ -182,16 +185,17 @@ jobs:
182185
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
183186
with:
184187
submodules: recursive
185-
- uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
188+
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
186189
with:
187190
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
188191
components: rustfmt
189-
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
192+
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
190193
with:
191194
key: doc
192195
cache-all-crates: "true"
193196
- run: cargo doc --document-private-items
194197

198+
# TODO (@Techassi): Remove, done by pre-commit
195199
run_tests:
196200
name: Run Cargo Tests
197201
runs-on: ubuntu-latest
@@ -205,10 +209,10 @@ jobs:
205209
with:
206210
persist-credentials: false
207211
submodules: recursive
208-
- uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
212+
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
209213
with:
210214
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
211-
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
215+
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
212216
with:
213217
key: test
214218
cache-all-crates: "true"
@@ -226,7 +230,7 @@ jobs:
226230
with:
227231
persist-credentials: false
228232
submodules: recursive
229-
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
233+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
230234
with:
231235
python-version: ${{ env.PYTHON_VERSION }}
232236
- name: Install jinja2-cli
@@ -266,14 +270,14 @@ jobs:
266270
persist-credentials: false
267271
submodules: recursive
268272
- name: Set up Helm
269-
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
273+
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
270274
with:
271275
version: v3.16.1
272276
- name: Set up cargo
273-
uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
277+
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
274278
with:
275279
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
276-
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
280+
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
277281
with:
278282
key: charts
279283
cache-all-crates: "true"
@@ -304,6 +308,8 @@ jobs:
304308
- name: log
305309
run: echo All tests have passed!
306310

311+
# TODO (@Techassi): Most of these publishing and signing tasks can be done by our own actions.
312+
# Make use of them just like we do in docker-images.
307313
package_and_publish:
308314
name: Package Charts, Build Docker Image and publish them - ${{ matrix.runner }}
309315
needs:
@@ -334,8 +340,8 @@ jobs:
334340
with:
335341
persist-credentials: false
336342
submodules: recursive
337-
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
338-
- uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
343+
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31.2.0
344+
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
339345
with:
340346
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
341347
components: rustfmt
@@ -370,7 +376,7 @@ jobs:
370376
371377
# Recreate charts and publish charts and docker image.
372378
- name: Install cosign
373-
uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
379+
uses: sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb # v3.8.2
374380
- name: Install syft
375381
uses: anchore/sbom-action/download-syft@f325610c9f50a54015d37c8d16cb3b0e2c8f4de0 # v0.18.0
376382
- name: Build Docker image and Helm chart
@@ -415,7 +421,7 @@ jobs:
415421
OCI_REGISTRY_SDP_CHARTS_USERNAME: "robot$sdp-charts+github-action-build"
416422
steps:
417423
- name: Install cosign
418-
uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
424+
uses: sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb # v3.8.2
419425
- name: Checkout
420426
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
421427
with:

.github/workflows/general_daily_security.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020
with:
2121
persist-credentials: false
22-
- uses: rustsec/audit-check@dd51754d4e59da7395a4cd9b593f0ff2d61a9b95 # v1.4.1
22+
- uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0
2323
with:
2424
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pr_pre-commit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
persist-credentials: false
2525
submodules: recursive
2626
fetch-depth: 0
27-
- uses: stackabletech/actions/run-pre-commit@2d3d7ddad981ae09901d45a0f6bf30c2658b1b78 # v0.7.0
27+
- uses: stackabletech/actions/run-pre-commit@4bfd3b65f22af597fe784599c077dc34bf5894a7 # v0.8.0
2828
with:
2929
python-version: ${{ env.PYTHON_VERSION }}
3030
rust: ${{ env.RUST_TOOLCHAIN_VERSION }}

.pre-commit-config.yaml

+13-4
Original file line numberDiff line numberDiff line change
@@ -59,29 +59,38 @@ repos:
5959
name: regenerate-charts
6060
language: system
6161
entry: make regenerate-charts
62-
stages: [pre-commit, pre-merge-commit, manual]
62+
stages: [pre-commit, pre-merge-commit]
6363
pass_filenames: false
64+
files: \.rs$|Cargo\.(toml|lock)
65+
66+
- id: regenerate-nix
67+
name: regenerate-nix
68+
language: system
69+
entry: make regenerate-nix
70+
stages: [pre-commit, pre-merge-commit]
71+
pass_filename: false
72+
files: Cargo\.lock
6473

6574
- id: cargo-test
6675
name: cargo-test
6776
language: system
6877
entry: cargo test
69-
stages: [pre-commit, pre-merge-commit, manual]
78+
stages: [pre-commit, pre-merge-commit]
7079
pass_filenames: false
7180
files: \.rs$|Cargo\.(toml|lock)
7281

7382
- id: cargo-rustfmt
7483
name: cargo-rustfmt
7584
language: system
7685
entry: cargo +nightly-2025-01-15 fmt --all -- --check
77-
stages: [pre-commit]
86+
stages: [pre-commit, pre-merge-commit]
7887
pass_filenames: false
7988
files: \.rs$
8089

8190
- id: cargo-clippy
8291
name: cargo-clippy
8392
language: system
8493
entry: cargo clippy --all-targets -- -D warnings
85-
stages: [pre-commit]
94+
stages: [pre-commit, pre-merge-commit]
8695
pass_filenames: false
8796
files: \.rs$

0 commit comments

Comments
 (0)