Renovate Community Hosted - Renovate Taking a long time to pull down new image tag #40336
Unanswered
sthwang-metal
asked this question in
Request Help
Replies: 1 comment
-
|
ok i just did another test that I think is pretty confirmatory:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
A Mend.io-hosted app
Which platform you running Renovate on?
GitHub.com
Which version of Renovate are you using?
42.74.5
Please tell us more about your question or problem
Right now when we push a new tag to our image repo that our self-hosted harbor proxies images from, renovate doesn't pick up on the change for hours at a time. This is even after pulling the image through the proxy-cache manually and manually triggering a renovate scan in the UI after.
This is what our renovate config looks like:
We tried running a local runner on a personal laptop and it seems to pick up on the change immediately, with config:
Is there a cache value configured anywhere for docker cache duration?
i finally got around to debugging a longstanding issue and I think i finally figured it out. The issue is, sometimes, it can be up to 12 hours from the time an image tag hits harbor (i have renovate configured to look at harbor see first config) to actually get picked up by renovate.
it would be puzzling/frustrating; I'd verify the image is in Harbor (with oras tags ..., docker pull)run a renovate run, and itd be like "nothing new". Sometimes for 2, sometimes up to 12 hours. Id wake up the next day and the image would be there.
So I experimented with a LOCAL runner (see second config), which has no cache, and surprise surprise, it picks the image up instantly.
Therefore, my hypothesis is that the tags for a given docker container from Harbor are being cached in the cloud runners, probably as a defense against whacking that registry too hard. But im wondering if we can decrease this time, but id like to first know what the default cache value is.
Logs (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions