Skip to content
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

Check if unready binding can be removed #959

Conversation

pedjak
Copy link
Contributor

@pedjak pedjak commented Apr 30, 2021

  • added missing acceptance tests
  • in the reconcile loop, add finalizer only if deletion timestamp is unset
  • unbind handler: stop processing and do not retry in case of any error when reading the application resource

@pedjak
Copy link
Contributor Author

pedjak commented Apr 30, 2021

/retest

@codecov
Copy link

codecov bot commented Apr 30, 2021

Codecov Report

Merging #959 (876b787) into master (c256ac6) will increase coverage by 0.50%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #959      +/-   ##
==========================================
+ Coverage   53.77%   54.27%   +0.50%     
==========================================
  Files          23       23              
  Lines        1233     1227       -6     
==========================================
+ Hits          663      666       +3     
+ Misses        480      473       -7     
+ Partials       90       88       -2     
Impacted Files Coverage Δ
pkg/reconcile/pipeline/handler/project/impl.go 56.27% <100.00%> (+2.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c256ac6...876b787. Read the comment docs.

* jq ".status.conditions[] | select(.type=="Ready").status" of Service Binding "unready-binding" should be changed to "False"
When Service binding "unready-binding" is deleted

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line:194 -> unnecessary extra line

@DhritiShikhar
Copy link
Contributor

LGTM

* added missing acceptance tests
* in the reconcile loop, add finalizer only if deletion timestamp is unset
* unbind handler: stop processing and do not retry in case of any error when reading the application resource

Signed-off-by: Predrag Knezevic <pknezevi@redhat.com>
@pedjak pedjak force-pushed the remove-not-ready-binding branch from 08a0322 to 876b787 Compare May 3, 2021 08:54
@DhritiShikhar
Copy link
Contributor

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: DhritiShikhar

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@DhritiShikhar
Copy link
Contributor

/lgtm

@openshift-merge-robot openshift-merge-robot merged commit 4efb48c into redhat-developer:master May 3, 2021
@pedjak pedjak added this to the 0.8 milestone May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants