-
Notifications
You must be signed in to change notification settings - Fork 282
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
Support multiple values in --component. #2110
Support multiple values in --component. #2110
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2110 +/- ##
============================================
- Coverage 94.24% 94.21% -0.03%
Complexity 25 25
============================================
Files 203 204 +1
Lines 3907 3943 +36
Branches 29 29
============================================
+ Hits 3682 3715 +33
- Misses 219 222 +3
Partials 6 6
Continue to review full report at Codecov.
|
|
df35ee3
to
fad4f60
Compare
Fixed. Subtracting sets did not necessarily preserve order, so I fixed it with |
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.
Thanks @dblock I do have some questions on several parts.
Thanks.
Also @dblock please update the jenkins file of both distribution builds params description, so user can take multiple components with spaces. |
Signed-off-by: dblock <dblock@amazon.com>
fad4f60
to
be164b1
Compare
Done. I didn't change |
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.
Some missing parts.
Signed-off-by: dblock <dblock@amazon.com>
ca7441d
to
f09daf9
Compare
Signed-off-by: dblock <dblock@amazon.com>
Thanks @dblock for this quick PR will use this to build 2.0.0. |
Signed-off-by: dblock dblock@amazon.com
Description
Added support for multiple values in
--component
in various build, test and sign workflows.I chose to support
--component x y
vs.--component x --component y
to make it easier to specify from Jenkins. In code that's done withnargs='+'
vs.action='append'
, see https://stackoverflow.com/questions/15753701/how-can-i-pass-a-list-as-a-command-line-argument-with-argparse.Together with #2100 this change allows on-demand rebuilding of a subset of components in a manifest when it contains a subsequent component that has a broken build. This is useful when wanting to increment versions and needing a new -SNAPSHOT build of OpenSearch or common-utils for dependencies that are already in a manifest. Avoids having to pull out a component from the manifest and then reverting that change every time.
Issues Resolved
#2091
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.