-
Notifications
You must be signed in to change notification settings - Fork 261
Add composite veneer to opm alpha render-veneer ...
#1054
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
Add composite veneer to opm alpha render-veneer ...
#1054
Conversation
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
and any changes necessary in relation to adding unit tests. Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Codecov Report
@@ Coverage Diff @@
## master #1054 +/- ##
==========================================
+ Coverage 52.06% 52.87% +0.81%
==========================================
Files 102 104 +2
Lines 9218 9403 +185
==========================================
+ Hits 4799 4972 +173
- Misses 3505 3515 +10
- Partials 914 916 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
as well as add the necessary additional test cases Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
as per review comments Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
to work like the other veneer builders by reading a full FBC from STDOUT and writing it to the output destination in the custom veneer config. Also adds additional test cases to cover the new changes. Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
gallettilance
left a comment
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 - just one comment maybe for a follow up.
| cmd.Flags().BoolVar(&validate, "validate", true, "whether or not the created FBC should be validated (i.e 'opm validate')") | ||
| cmd.Flags().StringVarP(&compositeFile, "composite-config", "c", "catalog/config.yaml", "File to use as the composite configuration file") | ||
| cmd.Flags().StringVarP(&catalogFile, "catalog-config", "f", "catalogs.yaml", "File to use as the catalog configuration file") | ||
| return cmd |
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.
could we add a flag to account for a previous catalog generation so we dont have to pull all images again? or an overwrite option for the output in case it's non empty so we can warn users if they make a veneer change that would strand users on a particular version for example?
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.
Are you thinking about the use-case where we want to make incremental updates only to an existing catalog? According to the document (https://docs.google.com/document/d/1uEZdVA06GGahPl3ygnGrFLRkrohaQjs25mVcXToYakE/edit#heading=h.kjc5gjiy2pkd) SOP will be to overwrite the specific contribution in all cases.
I'd be interested in talking more about the use-case, but def not barring this PR merge.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: everettraven, gallettilance, grokspawn The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
Description of the change:
opm alpha render-veneer composite [FILE] [OPTIONS]compositepackage that adds:Motivation for the change:
Reviewer Checklist
/docsNote for Reviewers: