-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Automate or semi-automate update of testenv.properties file #4373
Comments
Combine monitoring for the presence of a github tag with https://github.com/marketplace/actions/github-api-request |
Add branch prefixes to testenv.properties file and then add functionality into TKG that looks for a GA tag with that prefix and if it does not exist, pull the latest tag with that prefix.
|
Do not need the branch prefix, just look for |
This is an enhancement feature to automate or semi-automate the final update to the testenv.properties file.
Background
We currently create a release branch 1 - 2 weeks ahead of an OpenJDK release and populate the contents of the testenv.properties file with the tags that we think will be closest to the GA tags to use for that release. This allows for vendors, including Adoptium with its Temurin distribution, to begin AQAvit verification testing dry runs prior to the OpenJDK GA tags being available.
Upon their availability, we update the testenv.properties file with the new tag.
When anyone subsequently runs AQAvit verification on a JDK binary, they will be pulling test material from the same branch / tag, and the subsequent SHAs are captured in the test result files (TAP files) that are publicly shared in order to list in the marketplace.
Enhancement
Create a workflow that monitors the mirror repos for GA tags availability and automatically create a PR to update the testenv.properties file with the new tag, if it represents a different SHA than the tag that currently in the file for a particular version. Noting that the testenv.properties file contains all of the active JDK_VERSIONS, so this workflow would be triggered multiple times to create multiple PRs to update the file, as GA tags become available, are compared against the current tag in the file and either initiates to create a PR or not (depending on git diff of the 2 tags).
Considerations
The build pipelines now also watch for the GA tags and launch automatically when they are present, however, ideally we would like to launch them automatically after the aqa-tests release branch has its testenv.properties file updated.
Note:
The text was updated successfully, but these errors were encountered: