Replies: 5 comments 4 replies
|
Do you use the same deployment config for both doco-cd instances? I would recommend to write a additional deployment config just for the doco-cd instance that updated the main/app doco-cd instance. |
|
Yes, I have two separate deployment configs (.doco-cd.main.yaml and .doco-cd.updater.yaml). Only the main target contains the deployment for renovate. For the updater, polling is configured with I'm doing experiments with Compose profiles, but I didn't find a satisfying and stable solution yet. |
|
I think I know the issue. I need to implement something to prevent this. |
|
Can you please test with |
|
One note to your well-written new Self-Updating documentation: |
Uh oh!
There was an error while loading. Please reload this page.
I configured two instances of Doco CD in one repository for self-updating purposes, as suggested in #827 (comment). It works very well so far.
I also have a Renovate instance in the same repository which is triggered by Doco CD's scheduler. It worked great while I had only one Doco CD instance. Now, with a second instance, each of them triggers at the same time, leading to two conflicting Renovate containers running in parallel.
I tried to configure a separate target for one of the Doco CD instances and I also tried to set the label
cd.doco.job.skip_running: truein the Renovate Compose file. Neither approach fixed the problem.Is it somehow possible to prevent one Doco CD instance from triggering the scheduler? Otherwise I will use an external trigger for Renovate. Although I like the idea to use the Doco CD scheduler very much.
All reactions