Skip to content
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

Enable upstream build/tag driven nightly EA builds for Temurin jdk8,11,17 #902

Closed
andrew-m-leonard opened this issue Jan 29, 2024 · 8 comments · Fixed by #914
Closed

Enable upstream build/tag driven nightly EA builds for Temurin jdk8,11,17 #902

andrew-m-leonard opened this issue Jan 29, 2024 · 8 comments · Fixed by #914
Assignees
Labels
enhancement hotspot linux x64 Issues that affect or relate to the x64/x32 LINUX OS

Comments

@andrew-m-leonard
Copy link
Contributor

andrew-m-leonard commented Jan 29, 2024

Temurin jdk-21+ is already enabled for "build/tag driven nightly EA builds":
https://ci.adoptium.net/job/build-scripts/job/utils/
"releaseTrigger_NNea" jobs
We would now like to enable for all the Temurin jdk versions, and disable the scheduled nightly builds.
This will free up resource and capacity, especially with the approach of more versions to build from April 2024, and thus provide a more reliable and consistent build delivery.
The current nightly scheduled builds are typically re-building the same upstream last build, since the updates repositories are only pushed to from the "-dev" repos every week upon a new build being tagged.

These builds are triggered when an upstream OpenJDK new build tag is published (eg.jdk-17.0.10+5)

They are triggered as:

  • Default version targetConfigurations (ie.the Temurin platforms list...)
  • releaseType: "Weekly"
  • scmReference: "<Adopt build tag>" (eg.jdk-17.0.10+5_adopt)
  • overridePublishName: "<Openjdk build tag>-ea" (eg.jdk-17.0.10+5-ea)
  • configureArgs: --with-version-opt=ea
  • enableTests: True and using Weekly set

Archive filenames as:

  • Timestamp field becomes "<Openjdk build tag>-ea" with "jdk-" prefix removed and + changed to _
    • eg. OpenJDK17U-debugimage_x64_linux_hotspot_17.0.10_5-ea.tar.gz
  • No Filename renaming will occur from build to publish, hence signed SBOM SHA filenames will be correct

Published as:

  • Tag: <upstream build tag>-ea-beta (eg.jdk-17.0.10+5-ea-beta)
@andrew-m-leonard
Copy link
Contributor Author

Related: adoptium/temurin-build#3450

@andrew-m-leonard
Copy link
Contributor Author

andrew-m-leonard commented Jan 29, 2024

Also enhancement to include publish tag in a more architected manner: #776

@andrew-m-leonard
Copy link
Contributor Author

andrew-m-leonard commented Jan 29, 2024

jdk-21.0.3 tag driven builds need re-enabling now that builds will be start being pushed weekly: https://wiki.openjdk.org/display/JDKUpdates/JDK+21u

@andrew-m-leonard
Copy link
Contributor Author

To allow publishing nightly/beta archives with "-ea" in the timestamp/version: adoptium/github-release-scripts#148

@sxa
Copy link
Member

sxa commented Feb 4, 2024

Noting that because of the way the pipelinesa re kicked off we don't currently auto-publish from the evaluation ones. We should aim to fix that too somehow (I had been been manually publishing them periodically with the parameters from the original 'ea'/'tag' issue) but that's clearly not sustainable.

@andrew-m-leonard
Copy link
Contributor Author

Noting that because of the way the pipelinesa re kicked off we don't currently auto-publish from the evaluation ones. We should aim to fix that too somehow (I had been been manually publishing them periodically with the parameters from the original 'ea'/'tag' issue) but that's clearly not sustainable.

Yes, I think the proposed change achieves this

@andrew-m-leonard
Copy link
Contributor Author

PR: #914

@andrew-m-leonard
Copy link
Contributor Author

Note: The schedule for the "betaTrigger_NNea" jobs may want to exclude release preiods, to avoid triggering the release tag prior to it being marked "-ga", however typically the "-ga" is added fairly close to the release publish so we may need not do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement hotspot linux x64 Issues that affect or relate to the x64/x32 LINUX OS
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants