Skip to content

Commit 13a6f39

Browse files
chore: Update templated files to rev 3af611a (#305)
* Generated commit to update templated files based on rev 3af611a in stackabletech/operator-templating repo. Triggered by: Manual run triggered by: Techassi with message [ci: Update workflow files] * Remove old workflow files --------- Co-authored-by: Techassi <[email protected]>
1 parent 3eed035 commit 13a6f39

File tree

7 files changed

+124
-108
lines changed

7 files changed

+124
-108
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# =============
2+
# This file is automatically generated from the templates in stackabletech/operator-templating
3+
# DON'T MANUALLY EDIT THIS FILE
4+
# =============
15
---
26
name: Stackable Build Pipeline
37

@@ -36,11 +40,11 @@ jobs:
3640
run: |
3741
sudo apt-get update
3842
sudo apt-get install protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config
39-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
43+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4044
with:
4145
submodules: recursive
4246
- uses: dtolnay/[email protected]
43-
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f # v2
47+
- uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
4448
with:
4549
key: udeps
4650
cache-all-crates: "true"
@@ -103,18 +107,18 @@ jobs:
103107
continue-on-error: ${{ matrix.checks == 'advisories' }}
104108

105109
steps:
106-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
110+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
107111
with:
108112
submodules: recursive
109-
- uses: EmbarkStudios/cargo-deny-action@a50c7d5f86370e02fae8472c398f15a36e517bb8 # v1
113+
- uses: EmbarkStudios/cargo-deny-action@a50c7d5f86370e02fae8472c398f15a36e517bb8 # v1.5.4
110114
with:
111115
command: check ${{ matrix.checks }}
112116

113117
run_rustfmt:
114118
name: Run Rustfmt
115119
runs-on: ubuntu-latest
116120
steps:
117-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
121+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
118122
with:
119123
submodules: recursive
120124
- uses: dtolnay/[email protected]
@@ -130,13 +134,13 @@ jobs:
130134
run: |
131135
sudo apt-get update
132136
sudo apt-get install protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config
133-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
137+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
134138
with:
135139
submodules: recursive
136140
- uses: dtolnay/[email protected]
137141
with:
138142
components: clippy
139-
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f # v2
143+
- uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
140144
with:
141145
key: clippy
142146
cache-all-crates: "true"
@@ -163,13 +167,13 @@ jobs:
163167
run: |
164168
sudo apt-get update
165169
sudo apt-get install protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config
166-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
170+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
167171
with:
168172
submodules: recursive
169173
- uses: dtolnay/[email protected]
170174
with:
171175
components: rustfmt
172-
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f # v2
176+
- uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
173177
with:
174178
key: doc
175179
cache-all-crates: "true"
@@ -183,11 +187,11 @@ jobs:
183187
run: |
184188
sudo apt-get update
185189
sudo apt-get install protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config
186-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
190+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
187191
with:
188192
submodules: recursive
189193
- uses: dtolnay/[email protected]
190-
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f # v2
194+
- uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
191195
with:
192196
key: test
193197
cache-all-crates: "true"
@@ -202,7 +206,7 @@ jobs:
202206
runs-on: ubuntu-latest
203207
steps:
204208
- name: Checkout
205-
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
209+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
206210
with:
207211
submodules: recursive
208212
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4
@@ -240,7 +244,7 @@ jobs:
240244
sudo apt-get update
241245
sudo apt-get install protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config
242246
- name: Checkout
243-
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
247+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
244248
with:
245249
submodules: recursive
246250
- name: Set up Helm
@@ -250,7 +254,7 @@ jobs:
250254
- name: Set up cargo
251255
uses: dtolnay/[email protected]
252256
- name: Set up rust-cache
253-
uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f # v2
257+
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
254258
with:
255259
key: charts
256260
cache-all-crates: "true"
@@ -303,7 +307,7 @@ jobs:
303307
sudo apt-get update
304308
sudo apt-get install protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config
305309
- name: Checkout
306-
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
310+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
307311
with:
308312
submodules: recursive
309313
- uses: dtolnay/[email protected]

.github/workflows/daily_security.yml renamed to .github/workflows/general_daily_security.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# DON'T MANUALLY EDIT THIS FILE
44
# =============
55
---
6-
name: Security audit
6+
name: Daily Security Audit
77

88
on:
99
schedule:
@@ -14,7 +14,7 @@ jobs:
1414
audit:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
18-
- uses: rustsec/audit-check@dd51754d4e59da7395a4cd9b593f0ff2d61a9b95 # v1
17+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
18+
- uses: rustsec/audit-check@dd51754d4e59da7395a4cd9b593f0ff2d61a9b95 # v1.4.1
1919
with:
2020
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pr_reviewdog.yaml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# =============
2+
# This file is automatically generated from the templates in stackabletech/operator-templating
3+
# DON'T MANUALLY EDIT THIS FILE
4+
# =============
5+
---
6+
name: Pull Request Reviewdog
7+
8+
on:
9+
pull_request
10+
11+
permissions:
12+
contents: read
13+
checks: write
14+
pull-requests: write
15+
issues: write
16+
17+
jobs:
18+
actionlint:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
22+
- uses: reviewdog/action-actionlint@82693e9e3b239f213108d6e412506f8b54003586 # v1.39.1
23+
with:
24+
github_token: ${{ secrets.GITHUB_TOKEN }}
25+
26+
flake8:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
30+
- uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.6.1
31+
with:
32+
python-version: "3.11"
33+
- uses: reviewdog/action-flake8@51c2708ac3e9463b4d27d0ba7d9e3ded608a6ad3 # v3.8.0
34+
with:
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
37+
hadolint:
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
41+
- uses: reviewdog/action-hadolint@f7d29ec6dd89022747bd18b5a151b62ac2f1555e # v1.36.0
42+
with:
43+
github_token: ${{ secrets.GITHUB_TOKEN }}
44+
45+
markdownlint:
46+
runs-on: ubuntu-latest
47+
steps:
48+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
49+
- uses: reviewdog/action-markdownlint@6e02140816b5fcc7295ea7ae2a664af18190ff29 # v0.14.0
50+
with:
51+
github_token: ${{ secrets.GITHUB_TOKEN }}
52+
markdownlint_flags: '**/*(*.md|*.md.j2)'
53+
54+
shellcheck:
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
58+
- uses: reviewdog/action-shellcheck@96fa305c16b0f9cc9b093af22dcd09de1c8f1c2d # v1.19.0
59+
with:
60+
github_token: ${{ secrets.GITHUB_TOKEN }}
61+
62+
yamllint:
63+
runs-on: ubuntu-latest
64+
steps:
65+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
66+
- uses: reviewdog/action-yamllint@722e651555c5ca6db0edaada08e049825f74e431 # v1.8.0
67+
with:
68+
github_token: ${{ secrets.GITHUB_TOKEN }}
69+
70+
misspell:
71+
runs-on: ubuntu-latest
72+
steps:
73+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
74+
- uses: reviewdog/action-misspell@cc799b020b057600b66eedf2b6e97ca26137de21 # v1.14.0
75+
with:
76+
github_token: ${{ secrets.GITHUB_TOKEN }}
77+
locale: "US"
78+
79+
languagetool:
80+
runs-on: ubuntu-latest
81+
steps:
82+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
83+
- uses: reviewdog/action-languagetool@445dede243efc5b874724a31f5c4f486efddbc35 # v1.12.0
84+
with:
85+
github_token: ${{ secrets.GITHUB_TOKEN }}
86+
level: info
87+
patterns: "**/*.md **/*.txt **/*.adoc"

.github/workflows/reviewdog.yaml

Lines changed: 0 additions & 82 deletions
This file was deleted.

deny.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ allow = [
3232
"MIT",
3333
"MPL-2.0",
3434
"Unicode-DFS-2016",
35-
"Zlib"
35+
"Zlib",
36+
"Unlicense",
3637
]
3738
private = { ignore = true }
3839

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
"after 5:00 and before 6:00 every weekday"
2929
]
3030
},
31-
"ignorePaths": [".github/workflows/build.yml", ".github/workflows/daily_security.yml", ".github/workflows/reviewdog.yaml"]
31+
"ignorePaths": [".github/workflows/build.yml", ".github/workflows/general_daily_security.yml", ".github/workflows/pr_reviewdog.yaml"]
3232
}

tests/README-templating.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ An example of the content for the test definition file is shown here:
1616
dimensions:
1717
- name: spark
1818
values:
19-
- 3.4.1
20-
- 3.5.0
19+
- 3.2.1
20+
- 3.2.2
21+
- 3.2.3
2122
- name: hadoop
2223
values:
23-
- 3.3.4
24+
- 3.1.0
25+
- 3.2.0
2426
- name: aws
2527
- abc
2628
- xyz
@@ -37,8 +39,12 @@ In this example the test case uses only two of the three dimensions defined, so
3739

3840
````text
3941
└── spark-pi-public-s3
40-
├── spark-3.4.1_hadoop-3.3.4
41-
├── spark-3.5.0_hadoop-3.3.4
42+
├── spark-3.2.1_hadoop-3.1.0
43+
├── spark-3.2.1_hadoop-3.2.0
44+
├── spark-3.2.2_hadoop-3.1.0
45+
├── spark-3.2.2_hadoop-3.2.0
46+
├── spark-3.2.3_hadoop-3.1.0
47+
└── spark-3.2.3_hadoop-3.2.0
4248
````
4349

4450
The name of a test case defined under `tests` in this file has to refer back to a directory in the `templates/kuttl` directory, which will be used to create the test scenarios.
@@ -55,7 +61,7 @@ tests
5561
````
5662

5763
The `kuttl-test.yaml.jinja2` cannot currently be edited, as it comes from the operator templating and any changes would be overwritten again.
58-
This should be fairly easy to solve, and we can look at this as soon as it becomes necessary.
64+
This should be fairly easy to solve and we can look at this as soon as it becomes necessary.
5965

6066
## Using
6167

0 commit comments

Comments
 (0)