-
Notifications
You must be signed in to change notification settings - Fork 25
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
Improve Debian Releases File #426
Conversation
Added Description to aptly repo create Added Label and Origin to aply publish snapshot Signed-off-by: marcohald <[email protected]>
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.
Hi @marcohald ,
This file is used for both OS and OSD so we cannot hardcode with comments/labels.
Is there any particular benefits of adding them especially when the repo is created with ${jobname} and snapshot with ${jobname}-${repoVersion} already?
Thanks.
@peterzhuamazon The actual generated File https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt/dists/stable/InRelease looks like this at the moment
As far as I can see neither ${jobname} or ${repoVersion} is part of that File. As far as i understand the only option that is not from the Release File is the origin to pin. |
Could you change the comment/origin/label to use different value based on ${jobname} then? Let me know. Thanks. |
changed hardcoded Opensearch to ${filename} Signed-off-by: marcohald <[email protected]>
Thank you for the hint with the different products I didn't thought about that. |
Hi @marcohald , Could you make two more changes?
I have also reviewed aptly commands and the apt repo information, and I think your change would be beneficial. Thanks. |
I will update your test cases once you commit the requested changes. Thanks. |
Signed-off-by: marcohald <[email protected]>
Hi @peterzhuamazon |
Will add test cases in a min. |
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Thanks @marcohald for the contribution and we should be able to see this change take effect in the next release. |
Signed-off-by: marcohald <[email protected]> Signed-off-by: Peter Zhu <[email protected]> Co-authored-by: Peter Zhu <[email protected]> (cherry picked from commit 3632e49) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Waiting for #427 to bump verision before update the jenkinsfile. |
Description
Added Description to aptly repo create
Added Label and Origin to aply publish snapshot
Issues Resolved
Closes opensearch-project/opensearch-build#4485
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.