Run AQA Workflow: Implement build-jdk sdk_resource, Remove redundant checkouts #175
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR builds on top of #170: Run AQA (Comment-Triggered PR Build) workflow
Change the
Echo parametersstep to simply echo the entire JSON of build parameters instead of each individual value in addition to it.Reduce redundant checkouts by using the fact that the current repo is the TKG repo. This also removes the need to modify the TKG checkout action to test changes to
runAqaArgParse.py.Implement a new sdk_resource
build-jdkwhich uses the AdoptOpenJDK/build-jdk action to build a JDK using a provided openjdk-build repo.This functionality was requested in issue adoptium/aqa-tests#2296 but was blocked due to issue adoptium/build-jdk#24 which is still unresolved, but has a (unintended?) workaround that works due to the
usePRRefinput not causing the action to pull from the PR ref but instead have the action use whatever existingopenjdk-builddirectory is in the workspace (if any).The same workaround does not work for the eclipse-openj9/build-openj9 action because its similarly-named
usePersonalRepoinput does checkout the PR ref and also does not accept a custom repo and branch input (eclipse-openj9/build-openj9#18), so the action would need to be rewritten.Example run: 734853617
