-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Provide source archives as part of the releases #2728
Comments
NOTE: As per discussion earlier we should consider the impact of enabling this option on the space required on the jenkins server. I would suggest that we only produce the source archive on one platform (e.g. Linux/x64) and ship from that build only. Another option would be to have a separate "Create source bundle" job to pull from. The former seems a bit easier to me and utilises the existing options, albeit slightly less "clean" by having to do it on a particular source archive. Given the above, we should also consider when / whether to include it when doing point releases (many of which are repackaging on a subset of platforms) |
This will enable source tarball creation on Linux x86_64. It's on that platform only since sources are the same on all arches and it would overwhelm the CI server's disk space otherwise. Related epic: adoptium/temurin-build#2728
This should also avoid the issue of duplicate tarballs matching "jdk" image type requests via the API. Related epic: adoptium/temurin-build#2728
Enable |
This should also avoid the issue of duplicate tarballs matching "jdk" image type requests via the API. Related epic: adoptium/temurin-build#2728
This will enable source tarball creation on Linux x86_64. It's on that platform only since sources are the same on all arches and it would overwhelm the CI server's disk space otherwise. Related epic: adoptium/temurin-build#2728
OK, both pipeline script updates have been shipped. Sources artefacts are being produced. But for some reason the publishing to Github step seems to miss uploading |
Looks like it's some issue in the release job. From looking at last nights JDK8 builds the source artefacts are being correcly copied back to the top level openjdk8-pipeline job but the release job hasn't published it to the expected location. The log for the release job has lines that are "processing" the files, so it knows about them, they just aren't included in the "Uploading" phase
There was nothing set as At the end of this we'll need to add a pipelines FAQ item for "How to add a new artefact to the releases". |
@sxa Thanks for the info. I don't have access to see any of those jobs so I'm somewhat flying blind. My testing of |
Currently the file name matcher handles files containing 'hotspot'. This won't work for a sources artefact like: OpenJDK8U-sources_2021-10-11-18-05.tar.gz Also match 'sources'-containing files for the upload. Related: adoptium/temurin-build#2728
Proposed PR for a fix of #2728 (comment): |
Currently the file name matcher handles files containing 'hotspot'. This won't work for a sources artefact like: OpenJDK8U-sources_2021-10-11-18-05.tar.gz Also match 'sources'-containing files for the upload. Related: adoptium/temurin-build#2728
Yep figured that might be the case so I tried to eliminate any issues in the bits that weren't publicly visible 👍 I've re-run last nights JDK8 publish job (restricted) and it seems to have added the source artefact the the release at https://github.com/adoptium/temurin8-binaries/releases/tag/jdk8u-2021-10-12-04-24-beta |
Agreed.
Great, thanks! Could you do the same for JDK 11/17 pipelines, please? |
Final piece of this is getting a link added on the main page. Tracked with: adoptium/adoptium.net#213 |
Sorry, missed this first time round, but it seems to be there in openjdk11-pipeline (visible in the release) and it looks like the openjdk17-pipeline that's running at the moment has picked it up too. (That one's running slow due to AIX). |
This is now done. Closing this epic. |
This will enable source tarball creation on Linux x86_64. It's on that platform only since sources are the same on all arches and it would overwhelm the CI server's disk space otherwise. Related epic: adoptium/temurin-build#2728
It would be great to have a "source" link on the releases page. This helps users figure out what changed and get access to sources of a particular release right away.
Related issues:
Build support: #2698
API: adoptium/api.adoptium.net#176
TODO:
--create-source-archive
in https://github.com/adoptium/ci-jenkins-pipelinesThe text was updated successfully, but these errors were encountered: