fabric8-services / fabric8-jenkins-idler

OpenShift.io service to idle resp.unidle Jenkins instances
Apache License 2.0
4 stars 15 forks source link

Sync tenants with tenant service #327

Open hrishin opened 5 years ago

hrishin commented 5 years ago

Idler retrieves tenants information only once during the boot time. Its doesn't get updated until next restart. A side effect of such issue is, Idler, keeps stale deployments despite those deployments got de-provisioned. Hence it results in HTTP 404 when it tries to idle Jenkins deployment. It also needs to remove state builds for associated deployments.

Idler needs to sync with tenant service and remove deleted deployments.

hrishin commented 5 years ago

Would help in fixing #315