Open elrandira opened 2 years ago
Hi @elrandira currently it does not, but I think it could benefit from one. Or maybe external Watchdog could trigger rfhub2-cli to run specific command. What are your needs?
hi @MaciejWiczk
I am currently running rfhub2 on a dedicated docker alpine image with Kubernetes. I need to regularly watch if there are any update in a local repository that is maintained up-to-date by another process (jenkins pipeline with push notifier). My idea at the moment is just to have a shell loop that would "rfhub2-cli --load-mode=update" on the folder.
@elrandira we had a similar pipeline, and we had multiple repositories that we sent to rfhub2 that was running on K8s. We had a single job, that was checking out all repositories we used, and populated rhub2 using the same command You are. This single job, was triggered by every commint/merge in watched repositories, as a step in other pipelines in Jenkins. See docs here. Maybe this is a solution, that would also for You?
that's basically what I am doing. Thanks for the tips Maciej :)
Is rfhub2 able to auto-update if the content of paths provided update?