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

kubeflow / common / 186
29%

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

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

Jobs
ID Job ID Ran Files Coverage
1 186.1 16 May 2020 11:07PM UTC 0
7.65
Travis Job 186.1
Source Files on build 186
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #186
  • 4d01e683 on github
  • Prev Build on master (#184)
  • Next Build on master (#188)
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