{"action":"created","issue":{"url":"https://api.github.com/repos/2600hz/kazoo/issues/2765","repository_url":"https://api.github.com/repos/2600hz/kazoo","labels_url":"https://api.github.com/repos/2600hz/kazoo/issues/2765/labels{/name}","comments_url":"https://api.github.com/repos/2600hz/kazoo/issues/2765/comments","events_url":"https://api.github.com/repos/2600hz/kazoo/issues/2765/events","html_url":"https://github.com/2600hz/kazoo/pull/2765","id":187066351,"number":2765,"title":"Fix erlang build timeout for circleci","user":{"login":"skorobkov","id":8956153,"avatar_url":"https://avatars.githubusercontent.com/u/8956153?v=3","gravatar_id":"","url":"https://api.github.com/users/skorobkov","html_url":"https://github.com/skorobkov","followers_url":"https://api.github.com/users/skorobkov/followers","following_url":"https://api.github.com/users/skorobkov/following{/other_user}","gists_url":"https://api.github.com/users/skorobkov/gists{/gist_id}","starred_url":"https://api.github.com/users/skorobkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skorobkov/subscriptions","organizations_url":"https://api.github.com/users/skorobkov/orgs","repos_url":"https://api.github.com/users/skorobkov/repos","events_url":"https://api.github.com/users/skorobkov/events{/privacy}","received_events_url":"https://api.github.com/users/skorobkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"fenollp","id":278727,"avatar_url":"https://avatars.githubusercontent.com/u/278727?v=3","gravatar_id":"","url":"https://api.github.com/users/fenollp","html_url":"https://github.com/fenollp","followers_url":"https://api.github.com/users/fenollp/followers","following_url":"https://api.github.com/users/fenollp/following{/other_user}","gists_url":"https://api.github.com/users/fenollp/gists{/gist_id}","starred_url":"https://api.github.com/users/fenollp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenollp/subscriptions","organizations_url":"https://api.github.com/users/fenollp/orgs","repos_url":"https://api.github.com/users/fenollp/repos","events_url":"https://api.github.com/users/fenollp/events{/privacy}","received_events_url":"https://api.github.com/users/fenollp/received_events","type":"User","site_admin":false},"assignees":[{"login":"fenollp","id":278727,"avatar_url":"https://avatars.githubusercontent.com/u/278727?v=3","gravatar_id":"","url":"https://api.github.com/users/fenollp","html_url":"https://github.com/fenollp","followers_url":"https://api.github.com/users/fenollp/followers","following_url":"https://api.github.com/users/fenollp/following{/other_user}","gists_url":"https://api.github.com/users/fenollp/gists{/gist_id}","starred_url":"https://api.github.com/users/fenollp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenollp/subscriptions","organizations_url":"https://api.github.com/users/fenollp/orgs","repos_url":"https://api.github.com/users/fenollp/repos","events_url":"https://api.github.com/users/fenollp/events{/privacy}","received_events_url":"https://api.github.com/users/fenollp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-11-03T13:55:59Z","updated_at":"2016-11-14T11:19:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/2600hz/kazoo/pulls/2765","html_url":"https://github.com/2600hz/kazoo/pull/2765","diff_url":"https://github.com/2600hz/kazoo/pull/2765.diff","patch_url":"https://github.com/2600hz/kazoo/pull/2765.patch"},"body":"Without \"timeout\" option kerl build killed with error \"took more than 10 minutes since last output\".\r\nThis happens when erlang build first time (~20 minutes). After this it taken from cache and dont spend so much time."},"comment":{"url":"https://api.github.com/repos/2600hz/kazoo/issues/comments/260310662","html_url":"https://github.com/2600hz/kazoo/pull/2765#issuecomment-260310662","issue_url":"https://api.github.com/repos/2600hz/kazoo/issues/2765","id":260310662,"user":{"login":"skorobkov","id":8956153,"avatar_url":"https://avatars.githubusercontent.com/u/8956153?v=3","gravatar_id":"","url":"https://api.github.com/users/skorobkov","html_url":"https://github.com/skorobkov","followers_url":"https://api.github.com/users/skorobkov/followers","following_url":"https://api.github.com/users/skorobkov/following{/other_user}","gists_url":"https://api.github.com/users/skorobkov/gists{/gist_id}","starred_url":"https://api.github.com/users/skorobkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skorobkov/subscriptions","organizations_url":"https://api.github.com/users/skorobkov/orgs","repos_url":"https://api.github.com/users/skorobkov/repos","events_url":"https://api.github.com/users/skorobkov/events{/privacy}","received_events_url":"https://api.github.com/users/skorobkov/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T11:19:49Z","updated_at":"2016-11-14T11:19:49Z","body":"Alternative to use bash-script is rewrite multiline commands into one line command.\r\n\r\n```BASH\r\n    - |\r\n      if [[ ! -d ~/.kerl/$OTP_VERSION ]]; then\r\n        if [[ ! -d ~/.kerl ]]; then\r\n          mkdir ~/.kerl\r\n          curl -fsSLo ~/.kerl/kerl https://raw.githubusercontent.com/kerl/kerl/master/kerl\r\n          chmod +x ~/.kerl/kerl\r\n          ~/.kerl/kerl update releases\r\n        fi\r\n        ~/.kerl/kerl build $OTP_VERSION $OTP_VERSION\r\n        ~/.kerl/kerl install $OTP_VERSION ~/.kerl/$OTP_VERSION\r\n      fi\r\n```\r\nrewrite to\r\n```BASH\r\n    - if [[ ! -d ~/.kerl/$OTP_VERSION ]]; then if [[ ! -d ~/.kerl ]]; then mkdir ~/.kerl; curl -fsSLo ~/.kerl/kerl https://raw.githubusercontent.com/kerl/kerl/master/kerl; chmod +x ~/.kerl/kerl; ~/.kerl/kerl update  releases; fi; ~/.kerl/kerl build $OTP_VERSION $OTP_VERSION; ~/.kerl/kerl install $OTP_VERSION ~/.kerl/$OTP_VERSION; fi\r\n          timeout: 3600\r\n```\r\nBut it is ugly-looking.\r\n\r\nBecause multiline commands did not recognize \"timeout\" option (I tried different ways,. but \"timeout\" option only works with single-line command) I move multiline command into script."}}
{"actor":{"display_login":"skorobkov"}}