File tree Expand file tree Collapse file tree 5 files changed +27
-20
lines changed
helm/spark-kubernetes-operator Expand file tree Collapse file tree 5 files changed +27
-20
lines changed Original file line number Diff line number Diff line change 3333 fail-fast : false
3434 matrix :
3535 os : [ 'ubuntu-latest', 'ubuntu-24.04-arm' ]
36- java-version : [ 17, 21 ]
36+ java-version : [ 17, 21, 24 ]
3737 steps :
3838 - name : Checkout repository
3939 uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ COPY . .
2222
2323RUN --mount=type=cache,target=/home/gradle/.gradle/caches gradle --no-daemon clean build -x check
2424
25- FROM azul/zulu-openjdk:21 -jre
25+ FROM azul/zulu-openjdk:24 -jre
2626
2727ARG APP_VERSION=0.1.0-SNAPSHOT
2828ARG SPARK_UID=185
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ operatorDeployment:
4343 operatorContainer :
4444 jvmArgs : " -Dfile.encoding=UTF8"
4545 env :
46+ - name : " SPARK_USER"
47+ value : " spark"
4648 envFrom :
4749 volumeMounts : { }
4850 resources :
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ subprojects {
5858
5959 repositories {
6060 mavenCentral()
61+ maven {
62+ url = " https://repository.apache.org/content/repositories/snapshots/"
63+ }
6164 }
6265
6366 apply plugin : ' checkstyle'
@@ -68,22 +71,24 @@ subprojects {
6871 showViolations = true
6972 }
7073
71- apply plugin : ' pmd'
72- pmd {
73- ruleSetFiles = files(" $rootDir /config/pmd/ruleset.xml" )
74- toolVersion = libs. versions. pmd. get()
75- consoleOutput = true
76- ignoreFailures = false
77- }
74+ if (JavaVersion . current() < JavaVersion . VERSION_24 ) {
75+ apply plugin : ' pmd'
76+ pmd {
77+ ruleSetFiles = files(" $rootDir /config/pmd/ruleset.xml" )
78+ toolVersion = libs. versions. pmd. get()
79+ consoleOutput = true
80+ ignoreFailures = false
81+ }
7882
79- apply plugin : ' com.github.spotbugs'
80- spotbugs {
81- toolVersion = libs. versions. spotbugs. tool. get()
82- afterEvaluate {
83- reportsDir = file(" ${ project.reporting.baseDir} /findbugs" )
83+ apply plugin : ' com.github.spotbugs'
84+ spotbugs {
85+ toolVersion = libs. versions. spotbugs. tool. get()
86+ afterEvaluate {
87+ reportsDir = file(" ${ project.reporting.baseDir} /findbugs" )
88+ }
89+ excludeFilter = file(" $rootDir /config/spotbugs/spotbugs_exclude.xml" )
90+ ignoreFailures = false
8491 }
85- excludeFilter = file(" $rootDir /config/spotbugs/spotbugs_exclude.xml" )
86- ignoreFailures = false
8792 }
8893
8994 apply plugin : ' jacoco'
Original file line number Diff line number Diff line change 1616# under the License.
1717[versions ]
1818fabric8 = " 7.1.0"
19- lombok = " 1.18.32 "
19+ lombok = " 1.18.38 "
2020operator-sdk = " 4.9.0"
2121okhttp = " 4.12.0"
2222dropwizard-metrics = " 4.2.25"
23- spark = " 4.0.0-preview2 "
23+ spark = " 4.0.1-SNAPSHOT "
2424log4j = " 2.24.2"
2525
2626# Test
2727junit = " 5.10.2"
28- jacoco = " 0.8.12 "
29- mockito = " 5.11 .0"
28+ jacoco = " 0.8.13 "
29+ mockito = " 5.17 .0"
3030powermock = " 2.0.9"
3131
3232# Build Analysis
You can’t perform that action at this time.
0 commit comments