{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/5978","labels_url":"https://api.github.com/repos/openshift/origin/issues/5978/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5978/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/5978/events","html_url":"https://github.com/openshift/origin/issues/5978","id":118001400,"number":5978,"title":"Allow to annotate the build started manually","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/area/usability","name":"area/usability","color":"006b75"},{"url":"https://api.github.com/repos/openshift/origin/labels/component/build","name":"component/build","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/openshift/origin/labels/priority/P3","name":"priority/P3","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2015-11-20T09:35:23Z","updated_at":"2015-12-10T18:06:56Z","closed_at":null,"body":"Related discussion: https://github.com/openshift/origin/pull/5961#issuecomment-158159105\r\n\r\nThis will work similar to the `-e` parameter, but will accept a list of annotations that will be applied to the build output image (if the build output is set).\r\n\r\nIt should also be added as label to the Build object itself. Alternatively we can copy all labels from the Build object to the Docker image.\r\n\r\nWe might need this to identify what started the build (and additional metadata, like if the build was started from verified source ref, etc.)"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/163704971","html_url":"https://github.com/openshift/origin/issues/5978#issuecomment-163704971","issue_url":"https://api.github.com/repos/openshift/origin/issues/5978","id":163704971,"user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T18:06:56Z","updated_at":"2015-12-10T18:06:56Z","body":"@jwforres should weigh in on what she'd want to show in the UI if all we\nhad was an image (that showed up on a different deployment, even)\n\nOn Tue, Dec 8, 2015 at 6:32 AM, Michal Fojtik <notifications@github.com>\nwrote:\n\n> @smarterclayton <https://github.com/smarterclayton> @bparees\n> <https://github.com/bparees> annotations make more sense to me as well.\n> How about starting a list of annotations we want to set and then see if we\n> want to allow to set any custom annotation or just have fixed list of them?\n>\n> So far I think it would be useful:\n>\n>    - openshift.io/build/started-by - specify what started a build (can be\n>    a Jenkins URL, CI, username, etc)\n>    - openshift.io/build/reason - why the build was started (?)\n>    - openshift.io/build/signed-by - signature of the person that started\n>    the build (?)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/openshift/origin/issues/5978#issuecomment-162856397>.\n>\n"}}