Skip to content

Commit e861442

Browse files
authored
Merge branch 'main' into feat/singleton
2 parents 697a8f7 + 55598e4 commit e861442

File tree

5 files changed

+60
-23
lines changed

5 files changed

+60
-23
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
21+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2222
- name: Set up JDK 11
2323
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
2424
with:
@@ -28,6 +28,6 @@ jobs:
2828
- name: Build with Maven
2929
run: mvn -P hadoop-3.4.0 -B verify
3030
- name: Update dependency graph
31-
uses: advanced-security/maven-dependency-submission-action@5d0f9011b55d6268922128af45275986303459c3 # v4.0.3
31+
uses: advanced-security/maven-dependency-submission-action@bb3f7338b5bd0e3b225d8082e26b7b6289e17ef3 # v4.1.0
3232
with:
3333
maven-args: -P hadoop-3.4.0

.github/workflows/reviewdog.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,50 +13,50 @@ jobs:
1313
actionlint:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
17-
- uses: reviewdog/action-actionlint@89a03f6ba8c0a9fd238e82c075ffb34b86e40291 # v1.46.0
16+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
17+
- uses: reviewdog/action-actionlint@d99f1ceaf59e7db022a790dc308ccccb68dda71a # v1.53.0
1818
with:
1919
github_token: ${{ secrets.GITHUB_TOKEN }}
2020

2121
detect-secrets:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
25-
- uses: reviewdog/action-detect-secrets@8827bf02944e7d1684d490c2361be0bf6c2d6e7d # v0.21.0
24+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
25+
- uses: reviewdog/action-detect-secrets@84a331098c48fc892be9af5656f798d0f5f79d81 # v0.25.0
2626
with:
2727
github_token: ${{ secrets.github_token }}
2828

2929
flake8:
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
33-
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
32+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
33+
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
3434
with:
3535
python-version: "3.9"
36-
- uses: reviewdog/action-flake8@51c2708ac3e9463b4d27d0ba7d9e3ded608a6ad3 # tag=v3.8.0
36+
- uses: reviewdog/action-flake8@a16657733fa37bf58a277754fa9c055f0c3aae49 # v3.12.0
3737
with:
3838
github_token: ${{ secrets.GITHUB_TOKEN }}
3939

4040
markdownlint:
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
44-
- uses: reviewdog/action-markdownlint@5bc6ad5ba9e1250878f351bafcc7ac0a11dc050f # v0.18.0
43+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
44+
- uses: reviewdog/action-markdownlint@af20b94e5c376c5b964555d9c21c2d9df8b89975 # v0.23.0
4545
with:
4646
github_token: ${{ secrets.GITHUB_TOKEN }}
4747

4848
shellcheck:
4949
runs-on: ubuntu-latest
5050
steps:
51-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
52-
- uses: reviewdog/action-shellcheck@72365a51bf6476fe952a117c3ff703eb7775e40a # v1.20.0
51+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
52+
- uses: reviewdog/action-shellcheck@628ce8561be20bfbfb6173cf88c7475ddab95f22 # v1.24.0
5353
with:
5454
github_token: ${{ secrets.GITHUB_TOKEN }}
5555

5656
yamllint:
5757
runs-on: ubuntu-latest
5858
steps:
59-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
60-
- uses: reviewdog/action-yamllint@8d79c3d034667db2792e328936811ed44953d691 # v1.14.0
59+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
60+
- uses: reviewdog/action-yamllint@c23c5d4cd45b5cc16fa3e6e34073068b228cabeb # v1.17.0
6161
with:
6262
github_token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Changed
8+
9+
- Bump okio to 1.17.6 to get rid of CVE-2023-3635 ([#46])
10+
11+
[#46]: https://github.com/stackabletech/hdfs-utils/pull/46
12+
713
## [0.3.0] - 2024-07-04
814

915
### Added

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
FROM docker.stackable.tech/stackable/hadoop:3.3.6-stackable0.0.0-dev
22

33
COPY --chown=stackable:stackable ./hdfs-utils-*.jar /stackable/hadoop/share/hadoop/tools/lib/
4+
COPY --chown=stackable:stackable ./bom.json /stackable/hadoop/share/hadoop/tools/lib/hdfs-utils.cdx.json

pom.xml

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,21 @@
3636
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3737

3838
<cleanthat.version>2.17</cleanthat.version>
39-
<error-prone.version>2.27.1</error-prone.version>
39+
<error-prone.version>2.28.0</error-prone.version>
4040
<google-java-format.version>1.19.2</google-java-format.version>
4141

42-
<maven-clean-plugin.version>3.3.2</maven-clean-plugin.version>
42+
<maven-clean-plugin.version>3.4.0</maven-clean-plugin.version>
4343
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
4444
<maven-deploy-plugin.version>3.1.2</maven-deploy-plugin.version>
45-
<maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version>
45+
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
4646
<maven-install-plugin.version>3.1.2</maven-install-plugin.version>
47-
<maven-jar-plugin.version>3.4.1</maven-jar-plugin.version>
47+
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
4848
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
4949
<maven-site-plugin.version>3.12.1</maven-site-plugin.version>
50-
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
50+
<maven-surefire-plugin.version>3.3.1</maven-surefire-plugin.version>
5151
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>
52+
<kubernetes-client.version>6.13.1</kubernetes-client.version>
53+
<okio.version>1.17.6</okio.version>
5254
</properties>
5355

5456
<dependencies>
@@ -85,12 +87,23 @@
8587
<dependency>
8688
<groupId>io.fabric8</groupId>
8789
<artifactId>kubernetes-client</artifactId>
88-
<version>6.13.1</version>
90+
<version>${kubernetes-client.version}</version>
8991
</dependency>
9092
<dependency>
9193
<groupId>io.fabric8</groupId>
9294
<artifactId>kubernetes-client-api</artifactId>
93-
<version>6.13.1</version>
95+
<version>${kubernetes-client.version}</version>
96+
</dependency>
97+
<dependency>
98+
<!--
99+
We bump this here to get rid of a critical CVE in okio 1.15 which we get via kubernetes-client.
100+
We tried understanding _why_ we get 1.15 as dependency:tree for kubernetes-client says we should be getting 1.17.6.
101+
As we failed to understand this we did this short/medium term fix of adding an explicit dependency here which should override the one coming from kubernetes-client.
102+
This can be removed again as soon as we get the proper version from kubernetes-client.
103+
-->
104+
<groupId>com.squareup.okio</groupId>
105+
<artifactId>okio</artifactId>
106+
<version>${okio.version}</version>
94107
</dependency>
95108
<!-- End of needed by topology-provider -->
96109
<dependency>
@@ -176,7 +189,7 @@
176189
<plugin>
177190
<groupId>org.apache.maven.plugins</groupId>
178191
<artifactId>maven-shade-plugin</artifactId>
179-
<version>3.5.3</version>
192+
<version>3.6.0</version>
180193
<executions>
181194
<execution>
182195
<goals>
@@ -242,6 +255,23 @@
242255
</execution>
243256
</executions>
244257
</plugin>
258+
<plugin>
259+
<groupId>org.cyclonedx</groupId>
260+
<artifactId>cyclonedx-maven-plugin</artifactId>
261+
<version>2.8.0</version>
262+
<configuration>
263+
<projectType>application</projectType>
264+
<schemaVersion>1.5</schemaVersion>
265+
</configuration>
266+
<executions>
267+
<execution>
268+
<phase>package</phase>
269+
<goals>
270+
<goal>makeBom</goal>
271+
</goals>
272+
</execution>
273+
</executions>
274+
</plugin>
245275
</plugins>
246276
</build>
247277

0 commit comments

Comments
 (0)