Skip to content

[RPM M1] Tweak OpenSearch build.sh so the rpm artifact is having saming naming convention #1657

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

Conversation

peterzhuamazon
Copy link
Member

Signed-off-by: Peter Zhu [email protected]

Description

Tweak OpenSearch build.sh so the rpm artifact is having saming naming convention

Issues Resolved

Part of #1655

Check List

  • Commits are signed per the DCO using --signoff

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.

@peterzhuamazon peterzhuamazon requested a review from a team as a code owner February 19, 2022 17:17
@peterzhuamazon peterzhuamazon self-assigned this Feb 19, 2022
@codecov-commenter
Copy link

codecov-commenter commented Feb 19, 2022

Codecov Report

Merging #1657 (12f5014) into main (947bc5d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    opensearch-project/opensearch-build#1657   +/-   ##
=========================================
  Coverage     94.69%   94.69%           
  Complexity       14       14           
=========================================
  Files           163      163           
  Lines          3447     3447           
  Branches         21       21           
=========================================
  Hits           3264     3264           
  Misses          180      180           
  Partials          3        3           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 947bc5d...12f5014. Read the comment docs.

@peterzhuamazon peterzhuamazon changed the title Tweak OpenSearch build.sh so the rpm artifact is having saming naming convention [RPM M1] Tweak OpenSearch build.sh so the rpm artifact is having saming naming convention Feb 21, 2022
Comment on lines +144 to +145
ARTIFACT_TARGET_BUILD_NAME=opensearch-min-$VERSION$IDENTIFIER-$QUALIFIER.$EXT
[ ! -z "$QUALIFIER_ALT" ] && ARTIFACT_TARGET_BUILD_NAME=opensearch-min-$VERSION$IDENTIFIER-$QUALIFIER_ALT.$EXT
Copy link
Member

Choose a reason for hiding this comment

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

For the right naming convention a change should be made in OpenSearch rather than renaming the artifact here. It can be confusing if someone tries to build OpenSearch rpm using core repo.
I think this issue was created for the same purpose: https://github.com/opensearch-project/opensearch-build/issues/397

Copy link
Member Author

Choose a reason for hiding this comment

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

Not knowing this issue exist to start with.
The reason I havent change core is due to yum probably need us to keep x86_64 naming.
Will keep this PR open for a while.

Copy link
Member Author

Choose a reason for hiding this comment

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

We have the naming as a requirements here, the reason I rename it is to keep consistency:
#1548

@peterzhuamazon peterzhuamazon deleted the opensearch-buildsh branch February 23, 2022 19:56
@peterzhuamazon peterzhuamazon restored the opensearch-buildsh branch February 23, 2022 19:56
@peterzhuamazon
Copy link
Member Author

Close this now.

@peterzhuamazon peterzhuamazon deleted the opensearch-buildsh branch May 16, 2022 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants