Code Ship widget to Shopify Dashing (http://shopify.github.io/dashing/).
-
Copy the contents of the jobs, widgets and config folder into the the jobs, widgets and config (maybe you need create it) folders in your dashing project.
-
Edit the codeship.yml file to configure the repository name and ID. The configuration looks like this:
projects:
project_name: project_id
Add the following to your dashboard.erb file, and adjust the attributes to place it where you want. The data-id value is ended by the repository name (same used in codeclimate.yml).
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="codeship-ProjectName" data-view="Codeship" data-title="Project title Build"></div>
</li>
The layout of these widgets is inspired by Geckoboard. So, for best viewing is strongly recommended to change the dimensions of standard widgets. To do this, edit the file assets/application.coffee
for something like:
Dashing.widget_base_dimensions ||= [230, 230]
Dashing.numColumns ||= 5
This widget use Font Awesome 3.2.1
This widget is released under the MIT License.