-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Dynamic run for run-aqa GH action #130
Conversation
Just submitted the ECA. |
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.
Functions could also do with more comments explaining roughly what each one does
Since the release is upon us, I might turn this into a draft since I will need to point |
I believe I have addressed most comments raised to the best of my knowledge. Please let me know if there are any other changes required to get this across the finish line. Here is a run using my latest changes. Thanks!! 😄 |
@j-braley Looks like more failing GH Actions though. |
Updated GH action to run |
@karianna or @smlambert can I get an approval to run the extra GH actions? I made changes to the underlying action to run |
src/runaqa.ts
Outdated
|
||
await setupTestEnv(version, jdksource, customizedSdkUrl, sdkdir, buildList, aqatestsRepo, openj9Repo, tkgRepo, vendorTestParams, aqasystemtestsRepo); | ||
process.chdir('TKG'); | ||
process.env.PARALLEL_OPTIONS = `PARALLEL_OPTIONS=TEST=${buildList} TEST_TIME= NUM_MACHINES=${numMachines}`; |
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.
TEST should equal to the test target.
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 believe BUILD_LIST
here would be the target? Since the values of BUILD_LIST
would be one of openjdk, functional, system, perf
. Or am I mistaken? If the verbiage does not make sense that could be adjusted. However, I believe that this value matches what is set in the env variable BUILD_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.
BUILD_LIST
is not the target, it is the directory to be compiled. Some target and BUILD_LIST
happen to share the same name, for example functional
, but target also could be sanity.functional
which is different from BUILD_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.
Thank you for the explanation. I will update the code.
Enable github action runs and wait for the results |
* @param {string} jdksource Source for JDK | ||
* @param {[string]} customizedSdkUrl Download link for JDK binaries | ||
* @param {[string]} sdkdir Directory for SDK | ||
* @param {[string]} buildList AQAvit Test suite |
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.
Could we also add @param target: string, customTarget: string ?
To make it easy to use/understand the example workflow can also be committed. As action.yml itself can not clearly demo how the feature is used. |
Apparently, I am learning that GitHub has limits on reviewers 😦 @sophia-guo so she can review as well. |
@j-braley you'll need to rebase again sorry! |
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.
LGTM.
Addresses #125.
Adds in functionality to run tests in parallel. This is accomplished by having a new function generate
parallelList.mk
and updating therunAqaTest()
function run the suite of tests if the target includes-f parallelList.mk
.Any GitHub action which leverages this action handles distributing the
parallelList.mk
generated to child jobs (e.g., upload artifact/ download artifact).Please let me know any questions, comments, or concerns 😄!