-
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
feat(CVP-4395,CVP-4396): add get package, channel and highest bundle functions in utils #357
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #357 +/- ##
========================================
Coverage ? 100.00%
========================================
Files ? 18
Lines ? 502
Branches ? 0
========================================
Hits ? 502
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Sentry. |
769c61b
to
2917951
Compare
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.
LGTM code-wise, but the gitlint issues will need to be addressed to unblock this:
1: CC1 Body does not contain a 'Signed-off-by' line
3: B6 Body message is missing
@dirgim I added a "Signed-off-by" line, and I have a "body message". I think the gitlink checks should pass now. Could you please re-run the ci tests? |
@asergienk You need to add the 'Signed-off-by' line and body message within your commit message. |
2917951
to
767338d
Compare
767338d
to
4f6ca67
Compare
@dheerajodha thank you so much for the clarification and the example! I signed my commit and added a body message to it. |
4f6ca67
to
8a0b759
Compare
This commit adds two functions: *get_package_from_catalog: Given an output of opm render fbcFragment, it returns a package. *get_channel_from_catalog: Given an output of opm render fbcFragment and a olm.package, it returns the 'defaultChannel' value from the olm.package entry *get_highest_bundle_version: Given an output of opm render fbcFragment, package and channel, returns the highest bundle version **All functions will be used in the tasks of deploy-fbc pipeline in tekton-integration-catalog Signed-off-by: Anna Rania <[email protected]>
8a0b759
to
5e6ed80
Compare
/ok-to-test |
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.
LGTM
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.
How much will this need to change after #356? Whether those changes are in this PR or that PR (it is a race 😉).
/ok-to-test |
/retest |
/approve |
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.
+1
This commit adds two functions:
All functions will be used in the task of a 'deploy-fbc' pipeline in https://github.com/konflux-ci/tekton-integration-catalog
Signed-off-by: asergienk [email protected]