-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create "temurin" variant distinct from "hotspot" #226
Conversation
Signed-off-by: Stewart X Addison <sxa@redhat.com>
Thank you for creating a pull request!Please check out the information below if you have not made a pull request here before (or if you need a reminder how things work). Code Quality and Contributing GuidelinesIf you have not done so already, please familiarise yourself with our Contributing Guidelines and Code Of Conduct, even if you have contributed before. TestsGithub actions will run a set of jobs against your PR that will lint and unit test your changes. Keep an eye out for the results from these on the latest commit you submitted. For more information, please see our testing documentation. In order to run the advanced pipeline tests (executing a set of mock pipelines), I require an admin to post |
@@ -212,6 +212,8 @@ class Build { | |||
} else if (buildConfig.VARIANT == "openj9") { | |||
jdkBranch = 'openj9' | |||
} else if (buildConfig.VARIANT == "hotspot"){ | |||
jdkBranch = 'master' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean hotspot variant is 'openjdk'? Test job is named by VARIANT. . What should we name test job for VARIANT temurin and VARIANT hotspot?
switch (buildConfig.VARIANT) {
case "openj9": variant = "j9"; break
case "corretto": variant = "corretto"; break
case "dragonwell": variant = "dragonwell"; break;
case "bisheng": variant = "bisheng"; break;
default: variant = "hs"
}
def jobName = "Test_openjdk${jobParams['JDK_VERSIONS']}_${variant}_${testType}_${jobParams['ARCH_OS_LIST']}"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is ok as both temurin and hotspot would go into the variant = "hs"
section which is correct. I do NOT plan to build VARIANT=hotspot
in jenkins, so at the moment the hs
test jobs would be exclusively for the temurin
variant and when I was testing last week with this change the hs
jobs got invoked correctly. We may wish to change that later of course but there should be no reason to change from hs
just now :-)
Will this change the value of System.getProperty('java.vm.name')? TKG is using the value to set impl |
Test jobs are using buildConfig.VARIANT directly to set impl parameter. jobParams.put('JDK_IMPL', buildConfig.VARIANT) |
If it does it's a bug :-) I've only been testing the build process for now and making sure the correct vendor fields get passed in. |
The jobs seemed to run through ok - possibly just by falling into "default" options. A quick solution to this would be to just override the value if it's temurin and use |
It's coming out as JDK17
JDK8
Properties for my hotspot/temurin builds and the latest adoptium GA levels are in this tarball: properties.tar.gz |
ping @sophia-guo - does this sound reasonable, or do you know if it would fall into a default option that does the right thing regardless? |
Linter failures are equivalent to adoptium/temurin-build#2831 and unrelated to this PR, so should be resolved separately. |
@sxa that should be good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm largely good with this as it's a good stepping stone to the variant vs vendor split.
Agreed. My feeling is that if we can at least prove we can make the split (Which we'll hopefully find out in the next couple of days when these go in!) we can have confidence that such a subsequent change will be relatively easy to do. I just didn't like the prospect of making too many changes all at once in here, particuarly when it's risky and may need to be backed out if something very obvious doesn't work. |
Signed-off-by: Stewart X Addison <sxa@redhat.com>
0b6b1bd
to
a69df7a
Compare
Signed-off-by: Stewart X Addison <sxa@redhat.com>
disable EBC temporarily on Semeru pipeline
The other half of adoptium/temurin-build#2818
Signed-off-by: Stewart X Addison sxa@redhat.com