-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JDK23 pipeline configuration (#859)
Signed-off-by: Stewart X Addison <sxa@redhat.com>
- Loading branch information
Showing
3 changed files
with
240 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
targetConfigurations = [ | ||
'x64Mac' : [ | ||
'temurin' | ||
], | ||
'x64Linux' : [ | ||
'temurin' | ||
], | ||
'x64AlpineLinux' : [ | ||
'temurin' | ||
], | ||
'aarch64AlpineLinux' : [ | ||
'temurin' | ||
], | ||
'x64Windows' : [ | ||
'temurin' | ||
], | ||
'ppc64Aix' : [ | ||
'temurin' | ||
], | ||
'ppc64leLinux': [ | ||
'temurin' | ||
], | ||
's390xLinux' : [ | ||
'temurin' | ||
], | ||
'aarch64Linux': [ | ||
'hotspot', | ||
'temurin' | ||
], | ||
'aarch64Mac': [ | ||
'temurin' | ||
], | ||
'arm32Linux' : [ | ||
'temurin' | ||
] | ||
] | ||
|
||
// 23:30 Mon, Wed, Fri | ||
//Uses releaseTrigger_23ea: triggerSchedule_nightly = 'TZ=UTC\n30 23 * * 1,3,5' | ||
// 23:30 Sat | ||
//Replaced by releaseTrigger_23ea: triggerSchedule_weekly = 'TZ=UTC\n30 23 * * 6' | ||
|
||
// scmReferences to use for weekly release build | ||
weekly_release_scmReferences = [ | ||
'hotspot' : '', | ||
'temurin' : '', | ||
'openj9' : '', | ||
'corretto' : '', | ||
'dragonwell' : '' | ||
] | ||
|
||
return this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
targetConfigurations = [ | ||
'riscv64Linux': [ | ||
'temurin' | ||
], | ||
'aarch64Windows' : [ | ||
'temurin' | ||
] | ||
] | ||
|
||
// if set to empty string then it wont get triggered | ||
|
||
// scmReferences to use for weekly evaluation release build | ||
weekly_evaluation_scmReferences = [ | ||
'hotspot' : '', | ||
'temurin' : '' | ||
] | ||
|
||
return this |
170 changes: 170 additions & 0 deletions
170
pipelines/jobs/configurations/jdk23_pipeline_config.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
class Config23 { | ||
|
||
final Map<String, Map<String, ?>> buildConfigurations = [ | ||
x64Mac : [ | ||
os : 'mac', | ||
arch : 'x64', | ||
additionalNodeLabels: 'xcode15.0.1', | ||
additionalTestLabels: [ | ||
openj9 : '!sw.os.osx.10_11' | ||
], | ||
test : 'default', | ||
configureArgs : '--enable-dtrace', | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
x64Linux : [ | ||
os : 'linux', | ||
arch : 'x64', | ||
dockerImage : 'adoptopenjdk/centos7_build_image', | ||
dockerFile: [ | ||
openj9 : 'pipelines/build/dockerFiles/cuda.dockerfile' | ||
], | ||
test : 'default', | ||
additionalTestLabels: [ | ||
openj9 : '!(centos6||rhel6)' | ||
], | ||
configureArgs : [ | ||
'openj9' : '--enable-dtrace', | ||
'temurin' : '--enable-dtrace' | ||
], | ||
buildArgs : [ | ||
'temurin' : '--create-source-archive --create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
x64AlpineLinux : [ | ||
os : 'alpine-linux', | ||
arch : 'x64', | ||
dockerImage : 'adoptopenjdk/alpine3_build_image', | ||
test : 'default', | ||
configureArgs : '--enable-headless-only=yes', | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
aarch64AlpineLinux : [ | ||
os : 'alpine-linux', | ||
arch : 'aarch64', | ||
dockerImage : 'adoptopenjdk/alpine3_build_image', | ||
test : 'default', | ||
configureArgs : '--enable-headless-only=yes', | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
x64Windows: [ | ||
os : 'windows', | ||
arch : 'x64', | ||
additionalNodeLabels: 'win2022&&vs2022', | ||
test : 'default', | ||
configureArgs : "--with-ucrt-dll-dir='C:/progra~2/wi3cf2~1/10/Redist/10.0.22621.0/ucrt/DLLs/x64'", | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
ppc64Aix : [ | ||
os : 'aix', | ||
arch : 'ppc64', | ||
additionalNodeLabels: [ | ||
temurin: 'xlc16&&aix720', | ||
openj9: 'xlc16&&aix715' | ||
], | ||
test : 'default', | ||
additionalTestLabels: [ | ||
temurin : 'sw.os.aix.7_2' | ||
], | ||
cleanWorkspaceAfterBuild: true, | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
s390xLinux : [ | ||
os : 'linux', | ||
arch : 's390x', | ||
dockerImage : 'rhel7_build_image', | ||
test : 'default', | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
ppc64leLinux : [ | ||
os : 'linux', | ||
arch : 'ppc64le', | ||
dockerImage : 'adoptopenjdk/centos7_build_image', | ||
test : 'default', | ||
configureArgs : [ | ||
'openj9' : '--enable-dtrace' | ||
], | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
aarch64Linux : [ | ||
os : 'linux', | ||
arch : 'aarch64', | ||
dockerImage : 'adoptopenjdk/centos7_build_image', | ||
test : 'default', | ||
configureArgs : '--enable-dtrace', | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
aarch64Mac: [ | ||
os : 'mac', | ||
arch : 'aarch64', | ||
additionalNodeLabels: 'xcode15.0.1', | ||
test : 'default', | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
arm32Linux : [ | ||
os : 'linux', | ||
arch : 'arm', | ||
crossCompile : 'aarch64', | ||
dockerImage : 'adoptopenjdk/ubuntu1604_build_image', | ||
dockerArgs : '--platform linux/arm/v7', | ||
test : 'default', | ||
configureArgs : '--enable-dtrace', | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
riscv64Linux : [ | ||
os : 'linux', | ||
arch : 'riscv64', | ||
test : 'default', | ||
configureArgs : '--enable-dtrace', | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom' | ||
] | ||
], | ||
|
||
aarch64Windows: [ | ||
os : 'windows', | ||
arch : 'aarch64', | ||
crossCompile : 'x64', | ||
additionalNodeLabels: 'win2022&&vs2022', | ||
test : 'default', | ||
buildArgs : [ | ||
'temurin' : '--create-jre-image --create-sbom --cross-compile' | ||
] | ||
] | ||
] | ||
|
||
} | ||
|
||
Config23 config = new Config23() | ||
return config.buildConfigurations |