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

kubeflow / common / 186 / 1
29%
master: 29%

Build:
DEFAULT BRANCH: master
Ran 16 May 2020 11:07PM UTC
Files 26
Run time 1s
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

16 May 2020 11:01PM UTC coverage: 7.645% (+0.003%) from 7.642%
186.1

push

travis-ci-com

web-flow
Provides more flexibility for customizations (#91)

* Provides flexibility to customize reconcile logic

1. Move ReconcileJobs, ReconcilePods, ReconcileServices to interface. JobController provides common implementation. User doesn’t necessarily implement these methods a
nd only user facing change is user need to embed JobController. If operators has custom logic, they can override these reconciling logic

2. Expose few private methods and when user want to have some customization, they can reuse those method
- DeletePodsAndServices
- PastBackoffLimit
- PastActiveDeadline
- CleanupJob

* Expose methods for kubebuilder based operator

1. JobController has default implementation for GetPodsForJob and GetServicesForJob. User needs to pass a PodLister and SeviceLister. For operators using informers, user don’t need to make any change.

2. However, the challenge part if we have more operators are built with kubebuilder which use higher level APIs and doesn’t create `SharedInformerFactory`. In order to accomendate these cases, we expose methods and user can implement them using latest  reconciler.Client.List().

Signed-off-by: Jiaxin Shan <seedjeffwan@gmail.com>

162 of 2119 relevant lines covered (7.65%)

0.33 hits per line

Source Files on job 186.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 171
  • Travis Job 186.1
  • 4d01e683 on github
  • Prev Job for on master (#184.1)
  • Next Job for on master (#188.1)
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