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

Add vendor parameters #82

Merged
merged 7 commits into from
Jun 16, 2021
Merged

Add vendor parameters #82

merged 7 commits into from
Jun 16, 2021

Conversation

smlambert
Copy link
Contributor

@smlambert smlambert commented May 3, 2021

Fixes #79
Fixes #81
Signed-off-by: Shelley Lambert slambert@gmail.com

Signed-off-by: Shelley Lambert <slambert@gmail.com>
@smlambert smlambert added the enhancement New feature or request label May 3, 2021
@smlambert smlambert added this to the April 2021 milestone May 3, 2021
@smlambert smlambert requested a review from sophia-guo May 3, 2021 01:30
Signed-off-by: Shelley Lambert <slambert@gmail.com>
src/runaqa.ts Outdated
let vendorRepoParams = ''
let vendorBranchParams = ''
let vendorDirParams = ''
let vendorShaParams = ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we could just use one parameter let vendorTestParams = ''. If any of vendor params is not empty we can appendix the params something like:

if (vendorTestRepos !== '') {
    vendorTestParams += ` --vendor_repos ${vendorTestRepos}`
  }

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given it a second thought we may probably move this logic up to aqa.ts run(), which preprocesses all input parameters. So we only need to pass in one parameter instead of four.

Signed-off-by: Shelley Lambert <slambert@gmail.com>
Copy link
Contributor

@sophia-guo sophia-guo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smlambert
Copy link
Contributor Author

smlambert commented May 4, 2021

Just waiting on adoptium/aqa-tests#2558 to be addressed (which will fix the run-aqa build failures seen in the checks).

@gdams
Copy link
Member

gdams commented Jun 8, 2021

@smlambert merge conflicts

Signed-off-by: Shelley Lambert <slambert@gmail.com>
@smlambert
Copy link
Contributor Author

This PR depends on adoptium/aqa-tests#2612, shifting to Draft until that is merged.

@karianna karianna removed this from In progress in run-aqa Jun 9, 2021
@karianna
Copy link
Contributor

karianna commented Jun 9, 2021

This PR depends on adoptium/aqa-tests#2612, shifting to Draft until that is merged.

Doesn't seem to be in Draft and I can't see a way to do that?

@sophia-guo sophia-guo marked this pull request as draft June 9, 2021 13:31
Signed-off-by: Shelley Lambert <slambert@gmail.com>
Signed-off-by: Shelley Lambert <slambert@gmail.com>
@smlambert
Copy link
Contributor Author

The test failures are all due to the broken jtreg job now... adoptium/ci-jenkins-pipelines#165 (progress!)...

Signed-off-by: Shelley Lambert <slambert@gmail.com>
@smlambert smlambert marked this pull request as ready for review June 16, 2021 15:24
@smlambert
Copy link
Contributor Author

This one is ready, the on PR test failing looks like cloning the stf repo failed with some network issue (not related to this change).

@sophia-guo sophia-guo merged commit 8914d53 into adoptium:master Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for VENDOR_TEST_REPOS/BRANCHES/SHAS/DIRS parameters Update repo AdoptOpenJDK/TKG to Adoptium/TKG
4 participants