You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve repository reconciliation to use cron based periodic syncs and introduce one time syncs (#328)
* Introduce cronbased and runOnceAt reconciliation for db-cache
* Introduce new command to allow user to run repository sync once
- updated repo reg and added tests to cover sync schedule
- added unit tests for runOnce feature
* Update cr cache to run repo sync using cron + runOnceAt mechanism
* Add a feature to change repo cr status when reconciliation is in progress
* fix comment
* Fix cache tests and reduce code complexity
* Align logs for handleRunOnceAt function
* Add unit tests for sync and git connectivity check
* Add more test coverage and refactor background cache updates
* Add retry mechanism for repo status update for api conflicts
* Align logs for invalid spec and add test coverage for external repo connection check
* Introduce next sync time in Repo CR status message
* Refactor cr and db cache to use a common sync interface
* Parameterize repo retry attempts and fix merge conflict
* Make fakeclient common to all tests and improve code
// +kubebuilder:validation:XValidation:message="The 'content' field is deprecated, its only valid value is 'Package'",rule="self == '' || self == 'Package'"
0 commit comments