-
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
Fix the bundle_artifact_path value and remove wrong comments for deb assemble #4673
Fix the bundle_artifact_path value and remove wrong comments for deb assemble #4673
Conversation
…assemble Signed-off-by: Peter Zhu <[email protected]>
# for dirpath, dirnames, filenames in os.walk(os.path.join('/tmp/opensearch*')): | ||
# In debuild, the final package is created in the parent directory of the sources | ||
# https://github.com/opensearch-project/opensearch-build/issues/4532#issuecomment-2091726868 | ||
bundle_artifact_path = f"/tmp/{self.filename}_{deb_version}_{deb_architecture(build_cls.architecture)}.deb" |
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.
Is this path the same as before?
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.
It is same, but in previous implementation the var bundle_artifact_path
is missing assignment other than None
, resulted in:
2024-03-14 17:05:15 INFO Found deb file: None
Now:
2024-05-02 21:50:15 INFO Found deb file: /tmp/opensearch_2.14.0_amd64.deb
Thanks.
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.
Make sense. I see it doesn't assign any value after line 100. Thanks @peterzhuamazon
# for dirpath, dirnames, filenames in os.walk(os.path.join('/tmp/opensearch*')): | ||
# In debuild, the final package is created in the parent directory of the sources | ||
# https://github.com/opensearch-project/opensearch-build/issues/4532#issuecomment-2091726868 | ||
bundle_artifact_path = f"/tmp/{self.filename}_{deb_version}_{deb_architecture(build_cls.architecture)}.deb" |
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.
Make sense. I see it doesn't assign any value after line 100. Thanks @peterzhuamazon
Description
Fix the bundle_artifact_path value and remove wrong comments for deb assemble
Issues Resolved
Closes #4532
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.