From 5fe87d10d82759593ec122a89fec56d0a3b280e7 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 27 Sep 2024 10:56:00 -0700 Subject: [PATCH] buildbot: Add release dashboard cache refresh request cronjob --- salt/buildbot/init.sls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salt/buildbot/init.sls b/salt/buildbot/init.sls index 5a0c99fa..c63c00a1 100644 --- a/salt/buildbot/init.sls +++ b/salt/buildbot/init.sls @@ -94,6 +94,12 @@ find /data/www/buildbot/test-results -type f -mtime +7 -exec rm {} \;: - user: buildbot - special: '@daily' +curl --head 'https://buildbot.python.org/plugins/wsgi_dashboards/release_status/index.html?refresh=true': + cron.present: + - identifier: RELEASE_DASHBOARD_CACHE_REFRESH + - user: buildbot + - minute: '*/5' + /etc/nginx/sites.d/buildbot-master.conf: file.managed: - source: salt://buildbot/config/nginx.conf.jinja