{"action":"created","issue":{"url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/211","repository_url":"https://api.github.com/repos/REBELinBLUE/deployer","labels_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/211/comments","events_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/211/events","html_url":"https://github.com/REBELinBLUE/deployer/issues/211","id":149911621,"number":211,"title":"old builds are not being deleted","user":{"login":"lorvent","id":3512953,"avatar_url":"https://avatars.githubusercontent.com/u/3512953?v=3","gravatar_id":"","url":"https://api.github.com/users/lorvent","html_url":"https://github.com/lorvent","followers_url":"https://api.github.com/users/lorvent/followers","following_url":"https://api.github.com/users/lorvent/following{/other_user}","gists_url":"https://api.github.com/users/lorvent/gists{/gist_id}","starred_url":"https://api.github.com/users/lorvent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorvent/subscriptions","organizations_url":"https://api.github.com/users/lorvent/orgs","repos_url":"https://api.github.com/users/lorvent/repos","events_url":"https://api.github.com/users/lorvent/events{/privacy}","received_events_url":"https://api.github.com/users/lorvent/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/REBELinBLUE/deployer/labels/Needs%20Feedback","name":"Needs Feedback","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-04-20T23:13:51Z","updated_at":"2016-04-22T19:27:30Z","closed_at":null,"body":"Before submitting your issue, please make sure that you've checked all of the checkboxes below.\r\n\r\n- [*] You're running the [latest release](https://github.com/REBElinBLUE/deployer/releases/latest) version of Deployer.\r\n- [*] Ensure that you're running at least PHP 5.5.9, you can check this by running `php -v`\r\n- [*] You've ran `composer install --no-dev` from the root of your installation.\r\n- [*] You've ran `npm install --production` from the root of your installation.\r\n- [] You've ran `rm -rf bootstrap/cache/*` from the root of your installation.\r\n- [] You have restarted the queue listener and node socket server.\r\n\r\nTo help us better understand your issue, please answer the following.\r\n\r\n### Expected behaviour\r\n\r\nPrevious builds should be removed from server\r\n\r\n### Actual behaviour\r\n\r\nit keep on adding new builds so server running out of space.\r\n\r\nwhen checked, it has 44 builds totally and taking up 6.1GB space :cry: \r\n\r\n### Steps to reproduce\r\n\r\n*If your issue requires any specific steps to reproduce, please outline them here.*\r\n\r\n### Environment info\r\nOperating System:\r\nPHP Version:\r\nNode Version:\r\nDatabase System:\r\nDatabase Version:\r\n\r\n### Logs (see storage/logs/) or other output that would be helpful\r\n(If logs are large, please upload as attachment).\r\n"},"comment":{"url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/comments/213561495","html_url":"https://github.com/REBELinBLUE/deployer/issues/211#issuecomment-213561495","issue_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/211","id":213561495,"user":{"login":"REBELinBLUE","id":2143908,"avatar_url":"https://avatars.githubusercontent.com/u/2143908?v=3","gravatar_id":"","url":"https://api.github.com/users/REBELinBLUE","html_url":"https://github.com/REBELinBLUE","followers_url":"https://api.github.com/users/REBELinBLUE/followers","following_url":"https://api.github.com/users/REBELinBLUE/following{/other_user}","gists_url":"https://api.github.com/users/REBELinBLUE/gists{/gist_id}","starred_url":"https://api.github.com/users/REBELinBLUE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/REBELinBLUE/subscriptions","organizations_url":"https://api.github.com/users/REBELinBLUE/orgs","repos_url":"https://api.github.com/users/REBELinBLUE/repos","events_url":"https://api.github.com/users/REBELinBLUE/events{/privacy}","received_events_url":"https://api.github.com/users/REBELinBLUE/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T19:27:30Z","updated_at":"2016-04-22T19:27:30Z","body":"Crap I've done it again, sorry typo in the previous command, should be\r\n\r\n```bash\r\n$ (ls -t|head -n 11;ls)|sort|uniq -u|xargs rm -rf\r\n```"}}