Simple Dashing widget (and associated job) to display a your Repositories from Gitlab
No dependence
Put the gitlab_repo.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="gitlab_repo" data-view="List" data-title="Gitlab issues" style="background-color: #71388a"></div>
</li>
Issues and project are fetched every 3 minutes, but you can change that by editing the job schedule.
- Gitlab V4 api