{"id":22683299,"url":"https://github.com/mtchavez/dashing-circleci","last_synced_at":"2025-04-12T18:26:27.966Z","repository":{"id":10993949,"uuid":"13315367","full_name":"mtchavez/dashing-circleci","owner":"mtchavez","description":"CircleCI Dashing Widget","archived":false,"fork":false,"pushed_at":"2014-07-11T02:41:03.000Z","size":211,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T12:46:53.542Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtchavez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-04T03:02:19.000Z","updated_at":"2020-10-02T16:57:59.000Z","dependencies_parsed_at":"2022-09-03T01:22:35.297Z","dependency_job_id":null,"html_url":"https://github.com/mtchavez/dashing-circleci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fdashing-circleci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fdashing-circleci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fdashing-circleci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fdashing-circleci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtchavez","download_url":"https://codeload.github.com/mtchavez/dashing-circleci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248611972,"owners_count":21133217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T21:11:32.570Z","updated_at":"2025-04-12T18:26:27.946Z","avatar_url":"https://github.com/mtchavez.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dashing CircleCI Widget\n\nA [Dashing](http://github.com/shopify/dashing) widget for [CircleCI](http://circleci.com)\n\n![](http://f.cl.ly/items/3c0t0v3Z111E0o463032/Screen%20Shot%202013-10-03%20at%208.46.47%20PM.png)\n\n## Requirements\n\n1. [Dashing](http://github.com/shopify/dashing) up and running\n2. A [CircleCI](http://circleci.com) account\n3. CircleCI [gem](http://github.com/mtchavez/circleci)\n4. The contents of this repo to get you set up.\n\n## Setup\n\n1. Add `gem 'circleci'` to your dashing project `Gemfile`\n2. `bundle install`\n3. `git clone git@github.com:mtchavez/dashing-circleci.git`\n4. Copy weather fonts into your dashing project\n\n  ```\n  mkdir -p dashing/assets/fonts\n  cp dashing-circleci/assets/fonts/weather.* dashing/assets/fonts\n  ```\n5. Make a config directory and copy sample `circleci.yml` config\n\n  ```\n  mkdir -p dashing/config\n  cp dashing-circleci/config/circleci.yml dashing/config\n  ``` \n6. Copy `CircleCI` widget into your dashing project widgets\n\n  ```\n  mkdir -p dashing/widgets/circle_ci\n  cp -R dashing-circleci/widgets/circle_ci dashing/widgets/circle_ci\n  ```\n7. Add `circleci.rb` job to dashing jobs\n\n  ```\n  cp dashing-circleci/jobs/circleci.rb dashing/jobs\n  ```\n8. Optionally copy example dashboard or use as a reference to make your own\n\n  ```\n  cp dashing-circleci/dashboards/ci.erb dashing/dashboards\n  ```\n\n## Config\n\nThe `config/circleci.yml` is used to setup the repositories you want to display.\nYou will need to modify this file to add your own repositories as well as your CircleCI API token\n\n```yml\ntoken: circle_ci_token \nprojects:\n  - user: github_username \n    repo: repository_name\n    css_id: repo-id\n  - user: mtchavez\n    repo: dashing-circleci\n    css_id: dashing-circleci\n```\n\n## Dashboard\n\nTo display your dashboard you can use the `dashboards/ci.erb` file in the repo as an example.\nAn example dashboard for the above config would be\n\n```html\n\u003ctitle\u003eCircleCI\u003c/title\u003e\n\u003cdiv class=\"gridster ready\"\u003e\n  \u003cul\u003e\n    \u003c!-- Row 1 --\u003e\n    \u003cli data-row=\"1\" data-col=\"1\" data-sizex=\"1\" data-sizey=\"1\"\u003e\n      \u003cdiv data-id=\"repo-id\" data-view=\"CircleCi\" data-unordered=\"true\" data-title=\"Repository 1\"\u003e\u003c/div\u003e\n    \u003c/li\u003e\n    \u003cli data-row=\"1\" data-col=\"1\" data-sizex=\"1\" data-sizey=\"1\"\u003e\n      \u003cdiv data-id=\"dashing-circleci\" data-view=\"CircleCi\" data-unordered=\"true\" data-title=\"Dashing CircleCI\"\u003e\u003c/div\u003e\n    \u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/div\u003e\n```\n\n## Job\n\nThe job requires the [CircleCI](http://github.com/mtchavez/circleci) gem so make sure that is installed first.\n\nThe circleci job only looks at master branches for your repositories. At my current job we found all our topic\nand feature branches were too noisy with builds and distracted from the status of our most important branch, master.\n\nThere is also a super basic, and probably not very well done, \"weather\" check of your master branch. Depending\non the last 10 builds of your master branch it will display a different weather icon ala Jenkins.\n\nCurrently the job runs once a minute, but you can change that to whatever fits best for you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fdashing-circleci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtchavez%2Fdashing-circleci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fdashing-circleci/lists"}