-
Notifications
You must be signed in to change notification settings - Fork 77
Bug 2035859: chore: pull constraint-related changes from api, registry and olm #246
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
Bug 2035859: chore: pull constraint-related changes from api, registry and olm #246
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dinhxuanvu 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 |
|
@dinhxuanvu: This pull request references Bugzilla bug 2035859, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/bugzilla refresh |
|
@dinhxuanvu: This pull request references Bugzilla bug 2035859, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (xzha@redhat.com), skipping review request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@timflannagan @perdasilva PTAL. Thanks |
|
/retest |
| // Validate will validate constraint type and return error(s) | ||
| func (cc *CelConstraint) Validate() []error { | ||
| errs := []error{} | ||
| if cc.Cel == nil { |
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.
@dinhxuanvu
If using bellow format, error "The CEL field is missing" will be raised.
dependencies:
- type: olm.constraint
value:
any:
constraints:
- message: Package prometheus is needed for...
package:
packageName: prometheus
versionRange: '>=0.27.0'
- gvk:
group: camel.apache.org
kind: Integration
version: v1
message: GVK Integration is needed for
message: All are required for etcd because..
|
/hold |
…shift#211) The constraint EP uses `failureMessage`, not `message`. This is a mistake that should be corrected. Signed-off-by: Vu Dinh <vudinh@outlook.com> Upstream-repository: api Upstream-commit: 160240770853d11a62b3ff721b3ffed2d8edf06d
…t schema (#2572) The correct field for olm.constraint is `failureMessage` instead of `message` as it is currently in the code. This change is to honor the field name that is specified in the original enhancement. Signed-off-by: Vu Dinh <vudinh@outlook.com> Upstream-repository: operator-lifecycle-manager Upstream-commit: 25a7159cf292bb9de7164a4db2c1e9c3e402a489
…shift#901) * fix(render/diff): Support olm.constraint in opm render/diff cmd Currently, the olm.constraint type is ignored and not recognized in render and diff cmd. This commit is to add supoprt for constraint type. Signed-off-by: Vu Dinh <vudinh@outlook.com> * Accept any non-specific dependency as property Clean up test code Signed-off-by: Vu Dinh <vudinh@outlook.com> Upstream-repository: operator-registry Upstream-commit: 4e339285b95dad2e635204ff85826aa6099ee6a3
c24f7d9 to
0d3db55
Compare
|
@dinhxuanvu: This pull request references Bugzilla bug 2035859, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (xzha@redhat.com), skipping review request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
So this PR will contain commits to fix the two listed BZs on |
|
/unhold |
|
/retest |
|
/hold |
|
/retest |
1 similar comment
|
/retest |
|
@dinhxuanvu: All pull requests linked via external trackers have merged: Bugzilla bug 2035859 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@dinhxuanvu: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
@dinhxuanvu: Bugzilla bug 2035859 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Fix these BZs: