{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/6544","labels_url":"https://api.github.com/repos/piwik/piwik/issues/6544/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/6544/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/6544/events","html_url":"https://github.com/piwik/piwik/issues/6544","id":46989386,"number":6544,"title":"Keeping CI builds green at all times for all our repositories","user":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/piwik/piwik/labels/c%3A+Tests+%26+QA","name":"c: Tests & QA","color":"bfdadc"},{"url":"https://api.github.com/repos/piwik/piwik/labels/Major","name":"Major","color":"eb6420"},{"url":"https://api.github.com/repos/piwik/piwik/labels/RFC","name":"RFC","color":"009800"},{"url":"https://api.github.com/repos/piwik/piwik/labels/Task","name":"Task","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"diosmosis","id":125140,"avatar_url":"https://avatars.githubusercontent.com/u/125140?v=3","gravatar_id":"","url":"https://api.github.com/users/diosmosis","html_url":"https://github.com/diosmosis","followers_url":"https://api.github.com/users/diosmosis/followers","following_url":"https://api.github.com/users/diosmosis/following{/other_user}","gists_url":"https://api.github.com/users/diosmosis/gists{/gist_id}","starred_url":"https://api.github.com/users/diosmosis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diosmosis/subscriptions","organizations_url":"https://api.github.com/users/diosmosis/orgs","repos_url":"https://api.github.com/users/diosmosis/repos","events_url":"https://api.github.com/users/diosmosis/events{/privacy}","received_events_url":"https://api.github.com/users/diosmosis/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/piwik/piwik/milestones/72","labels_url":"https://api.github.com/repos/piwik/piwik/milestones/72/labels","id":850567,"number":72,"title":"Piwik 2.11.0","description":"Pool of tickets we pick issues to work on. This release may include DB schema upgrades.\r\n","creator":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":19,"state":"open","created_at":"2014-11-03T02:42:12Z","updated_at":"2015-01-07T10:46:35Z","due_on":"2015-02-11T11:00:00Z","closed_at":null},"comments":5,"created_at":"2014-10-28T04:50:44Z","updated_at":"2015-01-07T12:15:36Z","closed_at":null,"body":"**The goal of this issue** is that every week we want our 40+ projects CI builds to be _green_ with as little pain and effort as possible. Having green builds across the board will increase quality of our work in general, increase developer happiness and help prevent us from deploying broken code.\r\n\r\n**Scope**: this issue covers builds for our official Piwik Plugins (VisitorGenerator, CustomAlerts, etc.) and components and all Piwik PRO plugins.\r\n\r\n\r\n**Proposed steps For The Win**\r\n\r\n 1. [ ] Make all builds green on https://ci-status.com (at east once!)\r\n 1. [x] Automatically trigger the build for each repository once a week #6542\r\n 1. [ ] in CI job against latest stable, allow failures when plugin requires a recent beta  #6930\r\n 1. [ ] Make it easy to spot the list of maintained plugins that don't have tests yet (they may already appear in blue on ci-status?)\r\n  1. [ ] Each plugin without any Unit/Integration/System test should be followed up: when applicable, create a ticket with goal to add tests in the issue tracker of this plugin\r\n  1. [ ] Each plugin that creates or modifies the UI should have a screenshot test; if not we create an issue requesting a UI test.\r\n 1. [ ] Detect automatically when plugins use code that is `@deprecated` or not tagged with `@api` #6539 \r\n\r\n**What we already have today**\r\n * Plugins run tests against piwik/piwik master, to check pro-actively that plugins work with bleeding edge Piwik core platform\r\n * Plugins run tests against the latest stable release, to check that plugins work with current stable Piwik release.\r\n * Plugins can include their own Unit / Integration / Systems tests and UI Screenshot tests\r\n * Each developer is responsible for fixing the build after he broke the build\r\n * Piwik core developers are responsible to fix failures in a plugin when the failure is caused by a BC break or change in core platform (when it occurs then plugin developer should create an issue on piwik/piwik issue tracker to notify core developers)\r\n\r\n\r\nWhat else can we do to help us achieve green builds every week on 40+ repositories?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/69014434","html_url":"https://github.com/piwik/piwik/issues/6544#issuecomment-69014434","issue_url":"https://api.github.com/repos/piwik/piwik/issues/6544","id":69014434,"user":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T12:15:35Z","updated_at":"2015-01-07T12:15:35Z","body":"it's starting to look pretty green on [CI status!](http://ci-status.com/)  5 builds failing out of 45 builds"}}