An event based cache for gitlab dashboards using webhooks.
651
An event based cache for gitlab dashboards using webhooks.
docker pull nadavami/gitlab-dashboard-proxy
docker run -d -e GITLAB_URL=https://gitlab.com -p 8080:3000 nadavami/gitlab-dashboard-proxy
<gitlab-dashboard-proxy url>/gitlab instead of GitLab's url.<gitlab-dashboard-proxy url>/update.GET /gitlab -> Proxies connections to GitLab and caches requests for projectsPOST /update -> Clears a single project's cache based on a GitLab pipeline webhookGET /cache -> Returns a JSON object containing cached pathsGET /cache/clear -> Clears the entire cacheWe DDoSed our GitLab instance after having many dashboards monitor many pipelines. Just adding a single display that polls every 10s visibly increases server load. This project provides an event based cache to shield GitLab from the large number of API requests.
Content type
Image
Digest
Size
47.1 MB
Last updated
about 8 years ago
docker pull nadavami/gitlab-dashboard-proxy