• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cloudfoundry-incubator / service-fabrik-broker / 6044
88%

Build:
DEFAULT BRANCH: master
Ran 28 Mar 2022 11:50AM UTC
Jobs 1
Files 187
Run time 20s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6044

push

travis-ci-com

web-flow
prevent accidental deletion of sfplans by users. (#1532)

* Add mcd reconciler to prevent accidental deletion of sfplans.

* Check if the corresponding sfplan needs to be deleted while deleting sfserviceinstance.

If user initiates sfplan deletion while there are sfserviceinstances existing for this plan
which are not set to be deleted. Since the deletion timestamp for the sfplan will
be set the first time user tried to delete the plan, any subsequent tries to delete the same
plan will not trigger the reconciler as the sfplan CR remains the same.
Hence, every time an sfserviceinstance is deleted, we check if the corresponding sfplan
has non-zero deletion ts, and if so perform an update on the plan to force trigger the
reconciliation. If, this is the last sfserviceinstance that belongs to the plan set to be
deleted, the reconciler will remove the finalizer and delete the sfplan. However, this logic
is only applicable to the master cluster while the sfplan flow on sister cluster pretty much
remains the same.

* Add tests to prevent accidental deletion of sfplans.

2902 of 3698 branches covered (78.47%)

Branch coverage included in aggregate %.

9757 of 10721 relevant lines covered (91.01%)

40.62 hits per line

Jobs
ID Job ID Ran Files Coverage
5 6044.5 (SETTINGS_PATH="$(pwd)/broker/config/settings.yml") 28 Mar 2022 11:50AM UTC 0
77.89
Travis Job 6044.5
Source Files on build 6044
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #6044
  • 817e8ebc on github
  • Prev Build on master (#6034)
  • Next Build on master (#6049)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc