{"action":"created","comment":{"url":"https://api.github.com/repos/ovh/cds/pulls/comments/135991053","pull_request_review_id":59467574,"id":135991053,"diff_hunk":"@@ -71,20 +82,25 @@ func (p *PipelineBuildJob) PostGet(s gorp.SqlExecutor) error {\n \t\tp.BookedBy = h\n \t}\n \n-\tquery := \"SELECT job, parameters, spawninfos FROM pipeline_build_job WHERE id = $1\"\n-\tvar params, job, spawn []byte\n-\tif err := s.QueryRow(query, p.ID).Scan(&job, &params, &spawn); err != nil {\n+\tquery := \"SELECT job, parameters, spawninfos, exec_groups FROM pipeline_build_job WHERE id = $1\"\n+\tvar params, job, spawn, execGroups []byte\n+\tif err := s.QueryRow(query, p.ID).Scan(&job, &params, &spawn, &execGroups); err != nil {\n \t\treturn err","path":"engine/api/pipeline/gorp_model.go","position":44,"original_position":44,"commit_id":"a732481b079b6f7bc05324b420ca003542d54b2e","original_commit_id":"a732481b079b6f7bc05324b420ca003542d54b2e","user":{"login":"fsamin","id":684151,"avatar_url":"https://avatars1.githubusercontent.com/u/684151?v=4","gravatar_id":"","url":"https://api.github.com/users/fsamin","html_url":"https://github.com/fsamin","followers_url":"https://api.github.com/users/fsamin/followers","following_url":"https://api.github.com/users/fsamin/following{/other_user}","gists_url":"https://api.github.com/users/fsamin/gists{/gist_id}","starred_url":"https://api.github.com/users/fsamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsamin/subscriptions","organizations_url":"https://api.github.com/users/fsamin/orgs","repos_url":"https://api.github.com/users/fsamin/repos","events_url":"https://api.github.com/users/fsamin/events{/privacy}","received_events_url":"https://api.github.com/users/fsamin/received_events","type":"User","site_admin":false},"body":"wrap error","created_at":"2017-08-30T07:37:21Z","updated_at":"2017-08-30T07:39:32Z","html_url":"https://github.com/ovh/cds/pull/992#discussion_r135991053","pull_request_url":"https://api.github.com/repos/ovh/cds/pulls/992","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ovh/cds/pulls/comments/135991053"},"html":{"href":"https://github.com/ovh/cds/pull/992#discussion_r135991053"},"pull_request":{"href":"https://api.github.com/repos/ovh/cds/pulls/992"}}},"pull_request":{"url":"https://api.github.com/repos/ovh/cds/pulls/992","id":138295433,"html_url":"https://github.com/ovh/cds/pull/992","diff_url":"https://github.com/ovh/cds/pull/992.diff","patch_url":"https://github.com/ovh/cds/pull/992.patch","issue_url":"https://api.github.com/repos/ovh/cds/issues/992","number":992,"state":"open","locked":false,"title":"fix (api): check exec groups on worker model usage","user":{"login":"yesnault","id":395454,"avatar_url":"https://avatars3.githubusercontent.com/u/395454?v=4","gravatar_id":"","url":"https://api.github.com/users/yesnault","html_url":"https://github.com/yesnault","followers_url":"https://api.github.com/users/yesnault/followers","following_url":"https://api.github.com/users/yesnault/following{/other_user}","gists_url":"https://api.github.com/users/yesnault/gists{/gist_id}","starred_url":"https://api.github.com/users/yesnault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yesnault/subscriptions","organizations_url":"https://api.github.com/users/yesnault/orgs","repos_url":"https://api.github.com/users/yesnault/repos","events_url":"https://api.github.com/users/yesnault/events{/privacy}","received_events_url":"https://api.github.com/users/yesnault/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>","created_at":"2017-08-29T22:07:32Z","updated_at":"2017-08-30T07:39:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d7d6ea20db521e37640f8c9d97ace58b136b888","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ovh/cds/pulls/992/commits","review_comments_url":"https://api.github.com/repos/ovh/cds/pulls/992/comments","review_comment_url":"https://api.github.com/repos/ovh/cds/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ovh/cds/issues/992/comments","statuses_url":"https://api.github.com/repos/ovh/cds/statuses/a732481b079b6f7bc05324b420ca003542d54b2e","head":{"label":"ovh:ye-fix-img-grp","ref":"ye-fix-img-grp","sha":"a732481b079b6f7bc05324b420ca003542d54b2e","user":{"login":"ovh","id":1698434,"avatar_url":"https://avatars3.githubusercontent.com/u/1698434?v=4","gravatar_id":"","url":"https://api.github.com/users/ovh","html_url":"https://github.com/ovh","followers_url":"https://api.github.com/users/ovh/followers","following_url":"https://api.github.com/users/ovh/following{/other_user}","gists_url":"https://api.github.com/users/ovh/gists{/gist_id}","starred_url":"https://api.github.com/users/ovh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovh/subscriptions","organizations_url":"https://api.github.com/users/ovh/orgs","repos_url":"https://api.github.com/users/ovh/repos","events_url":"https://api.github.com/users/ovh/events{/privacy}","received_events_url":"https://api.github.com/users/ovh/received_events","type":"Organization","site_admin":false},"repo":{"id":70572539,"name":"cds","full_name":"ovh/cds","owner":{"login":"ovh","id":1698434,"avatar_url":"https://avatars3.githubusercontent.com/u/1698434?v=4","gravatar_id":"","url":"https://api.github.com/users/ovh","html_url":"https://github.com/ovh","followers_url":"https://api.github.com/users/ovh/followers","following_url":"https://api.github.com/users/ovh/following{/other_user}","gists_url":"https://api.github.com/users/ovh/gists{/gist_id}","starred_url":"https://api.github.com/users/ovh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovh/subscriptions","organizations_url":"https://api.github.com/users/ovh/orgs","repos_url":"https://api.github.com/users/ovh/repos","events_url":"https://api.github.com/users/ovh/events{/privacy}","received_events_url":"https://api.github.com/users/ovh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ovh/cds","description":"Enterprise-Grade Continuous Delivery & DevOps Automation Open Source Platform","fork":false,"url":"https://api.github.com/repos/ovh/cds","forks_url":"https://api.github.com/repos/ovh/cds/forks","keys_url":"https://api.github.com/repos/ovh/cds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ovh/cds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ovh/cds/teams","hooks_url":"https://api.github.com/repos/ovh/cds/hooks","issue_events_url":"https://api.github.com/repos/ovh/cds/issues/events{/number}","events_url":"https://api.github.com/repos/ovh/cds/events","assignees_url":"https://api.github.com/repos/ovh/cds/assignees{/user}","branches_url":"https://api.github.com/repos/ovh/cds/branches{/branch}","tags_url":"https://api.github.com/repos/ovh/cds/tags","blobs_url":"https://api.github.com/repos/ovh/cds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ovh/cds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ovh/cds/git/refs{/sha}","trees_url":"https://api.github.com/repos/ovh/cds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ovh/cds/statuses/{sha}","languages_url":"https://api.github.com/repos/ovh/cds/languages","stargazers_url":"https://api.github.com/repos/ovh/cds/stargazers","contributors_url":"https://api.github.com/repos/ovh/cds/contributors","subscribers_url":"https://api.github.com/repos/ovh/cds/subscribers","subscription_url":"https://api.github.com/repos/ovh/cds/subscription","commits_url":"https://api.github.com/repos/ovh/cds/commits{/sha}","git_commits_url":"https://api.github.com/repos/ovh/cds/git/commits{/sha}","comments_url":"https://api.github.com/repos/ovh/cds/comments{/number}","issue_comment_url":"https://api.github.com/repos/ovh/cds/issues/comments{/number}","contents_url":"https://api.github.com/repos/ovh/cds/contents/{+path}","compare_url":"https://api.github.com/repos/ovh/cds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ovh/cds/merges","archive_url":"https://api.github.com/repos/ovh/cds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ovh/cds/downloads","issues_url":"https://api.github.com/repos/ovh/cds/issues{/number}","pulls_url":"https://api.github.com/repos/ovh/cds/pulls{/number}","milestones_url":"https://api.github.com/repos/ovh/cds/milestones{/number}","notifications_url":"https://api.github.com/repos/ovh/cds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ovh/cds/labels{/name}","releases_url":"https://api.github.com/repos/ovh/cds/releases{/id}","deployments_url":"https://api.github.com/repos/ovh/cds/deployments","created_at":"2016-10-11T08:28:23Z","updated_at":"2017-08-26T04:36:20Z","pushed_at":"2017-08-30T07:38:56Z","git_url":"git://github.com/ovh/cds.git","ssh_url":"git@github.com:ovh/cds.git","clone_url":"https://github.com/ovh/cds.git","svn_url":"https://github.com/ovh/cds","homepage":"https://ovh.github.io/cds/","size":28141,"stargazers_count":94,"watchers_count":94,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":23,"mirror_url":null,"open_issues_count":52,"forks":23,"open_issues":52,"watchers":94,"default_branch":"master"}},"base":{"label":"ovh:master","ref":"master","sha":"2bf83b52bbcea856215155a7446279ce1644a543","user":{"login":"ovh","id":1698434,"avatar_url":"https://avatars3.githubusercontent.com/u/1698434?v=4","gravatar_id":"","url":"https://api.github.com/users/ovh","html_url":"https://github.com/ovh","followers_url":"https://api.github.com/users/ovh/followers","following_url":"https://api.github.com/users/ovh/following{/other_user}","gists_url":"https://api.github.com/users/ovh/gists{/gist_id}","starred_url":"https://api.github.com/users/ovh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovh/subscriptions","organizations_url":"https://api.github.com/users/ovh/orgs","repos_url":"https://api.github.com/users/ovh/repos","events_url":"https://api.github.com/users/ovh/events{/privacy}","received_events_url":"https://api.github.com/users/ovh/received_events","type":"Organization","site_admin":false},"repo":{"id":70572539,"name":"cds","full_name":"ovh/cds","owner":{"login":"ovh","id":1698434,"avatar_url":"https://avatars3.githubusercontent.com/u/1698434?v=4","gravatar_id":"","url":"https://api.github.com/users/ovh","html_url":"https://github.com/ovh","followers_url":"https://api.github.com/users/ovh/followers","following_url":"https://api.github.com/users/ovh/following{/other_user}","gists_url":"https://api.github.com/users/ovh/gists{/gist_id}","starred_url":"https://api.github.com/users/ovh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovh/subscriptions","organizations_url":"https://api.github.com/users/ovh/orgs","repos_url":"https://api.github.com/users/ovh/repos","events_url":"https://api.github.com/users/ovh/events{/privacy}","received_events_url":"https://api.github.com/users/ovh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ovh/cds","description":"Enterprise-Grade Continuous Delivery & DevOps Automation Open Source Platform","fork":false,"url":"https://api.github.com/repos/ovh/cds","forks_url":"https://api.github.com/repos/ovh/cds/forks","keys_url":"https://api.github.com/repos/ovh/cds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ovh/cds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ovh/cds/teams","hooks_url":"https://api.github.com/repos/ovh/cds/hooks","issue_events_url":"https://api.github.com/repos/ovh/cds/issues/events{/number}","events_url":"https://api.github.com/repos/ovh/cds/events","assignees_url":"https://api.github.com/repos/ovh/cds/assignees{/user}","branches_url":"https://api.github.com/repos/ovh/cds/branches{/branch}","tags_url":"https://api.github.com/repos/ovh/cds/tags","blobs_url":"https://api.github.com/repos/ovh/cds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ovh/cds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ovh/cds/git/refs{/sha}","trees_url":"https://api.github.com/repos/ovh/cds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ovh/cds/statuses/{sha}","languages_url":"https://api.github.com/repos/ovh/cds/languages","stargazers_url":"https://api.github.com/repos/ovh/cds/stargazers","contributors_url":"https://api.github.com/repos/ovh/cds/contributors","subscribers_url":"https://api.github.com/repos/ovh/cds/subscribers","subscription_url":"https://api.github.com/repos/ovh/cds/subscription","commits_url":"https://api.github.com/repos/ovh/cds/commits{/sha}","git_commits_url":"https://api.github.com/repos/ovh/cds/git/commits{/sha}","comments_url":"https://api.github.com/repos/ovh/cds/comments{/number}","issue_comment_url":"https://api.github.com/repos/ovh/cds/issues/comments{/number}","contents_url":"https://api.github.com/repos/ovh/cds/contents/{+path}","compare_url":"https://api.github.com/repos/ovh/cds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ovh/cds/merges","archive_url":"https://api.github.com/repos/ovh/cds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ovh/cds/downloads","issues_url":"https://api.github.com/repos/ovh/cds/issues{/number}","pulls_url":"https://api.github.com/repos/ovh/cds/pulls{/number}","milestones_url":"https://api.github.com/repos/ovh/cds/milestones{/number}","notifications_url":"https://api.github.com/repos/ovh/cds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ovh/cds/labels{/name}","releases_url":"https://api.github.com/repos/ovh/cds/releases{/id}","deployments_url":"https://api.github.com/repos/ovh/cds/deployments","created_at":"2016-10-11T08:28:23Z","updated_at":"2017-08-26T04:36:20Z","pushed_at":"2017-08-30T07:38:56Z","git_url":"git://github.com/ovh/cds.git","ssh_url":"git@github.com:ovh/cds.git","clone_url":"https://github.com/ovh/cds.git","svn_url":"https://github.com/ovh/cds","homepage":"https://ovh.github.io/cds/","size":28141,"stargazers_count":94,"watchers_count":94,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":23,"mirror_url":null,"open_issues_count":52,"forks":23,"open_issues":52,"watchers":94,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ovh/cds/pulls/992"},"html":{"href":"https://github.com/ovh/cds/pull/992"},"issue":{"href":"https://api.github.com/repos/ovh/cds/issues/992"},"comments":{"href":"https://api.github.com/repos/ovh/cds/issues/992/comments"},"review_comments":{"href":"https://api.github.com/repos/ovh/cds/pulls/992/comments"},"review_comment":{"href":"https://api.github.com/repos/ovh/cds/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ovh/cds/pulls/992/commits"},"statuses":{"href":"https://api.github.com/repos/ovh/cds/statuses/a732481b079b6f7bc05324b420ca003542d54b2e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"fsamin"}}