{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/jenkins-plugin/issues/114","repository_url":"https://api.github.com/repos/openshift/jenkins-plugin","labels_url":"https://api.github.com/repos/openshift/jenkins-plugin/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/openshift/jenkins-plugin/issues/114/comments","events_url":"https://api.github.com/repos/openshift/jenkins-plugin/issues/114/events","html_url":"https://github.com/openshift/jenkins-plugin/issues/114","id":189842041,"number":114,"title":"\"Trigger OpenShift Deployment\" should accept an image tag","user":{"login":"andyevans","id":1240436,"avatar_url":"https://avatars.githubusercontent.com/u/1240436?v=3","gravatar_id":"","url":"https://api.github.com/users/andyevans","html_url":"https://github.com/andyevans","followers_url":"https://api.github.com/users/andyevans/followers","following_url":"https://api.github.com/users/andyevans/following{/other_user}","gists_url":"https://api.github.com/users/andyevans/gists{/gist_id}","starred_url":"https://api.github.com/users/andyevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyevans/subscriptions","organizations_url":"https://api.github.com/users/andyevans/orgs","repos_url":"https://api.github.com/users/andyevans/repos","events_url":"https://api.github.com/users/andyevans/events{/privacy}","received_events_url":"https://api.github.com/users/andyevans/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-16T20:56:02Z","updated_at":"2016-11-16T22:22:36Z","closed_at":null,"body":"As documented:\r\n_\"Trigger OpenShift Deployment\": performs the equivalent of an oc deploy --latest command invocation; it will monitor the resulting ReplicationController's \"openshift.io/deployment.phase\" annotation to confirm success_\r\n\r\nDefaulting the `oc deploy` command to use `--latest` seems a bit limiting. What i'd like to be able to do is build an image, perform a successful deployment to a development environment, tag the image, then make sure this tag of the image is progressed through subsequent environments. How would one deploy an older version of an image? At the moment it wouldn't be possible without modifying the deployment config. What if a new `latest` image makes it's way into the registry while a deployment is awaiting approval to deploy to an environment?\r\n\r\nPlease forgive me if i've missed something here.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/openshift/jenkins-plugin/issues/comments/261091613","html_url":"https://github.com/openshift/jenkins-plugin/issues/114#issuecomment-261091613","issue_url":"https://api.github.com/repos/openshift/jenkins-plugin/issues/114","id":261091613,"user":{"login":"bparees","id":4974046,"avatar_url":"https://avatars.githubusercontent.com/u/4974046?v=3","gravatar_id":"","url":"https://api.github.com/users/bparees","html_url":"https://github.com/bparees","followers_url":"https://api.github.com/users/bparees/followers","following_url":"https://api.github.com/users/bparees/following{/other_user}","gists_url":"https://api.github.com/users/bparees/gists{/gist_id}","starred_url":"https://api.github.com/users/bparees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bparees/subscriptions","organizations_url":"https://api.github.com/users/bparees/orgs","repos_url":"https://api.github.com/users/bparees/repos","events_url":"https://api.github.com/users/bparees/events{/privacy}","received_events_url":"https://api.github.com/users/bparees/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T22:22:36Z","updated_at":"2016-11-16T22:22:36Z","body":"you can also take a look at our sample jenkins job which does promotion from dev to prod:\r\nhttps://github.com/openshift/jenkins/blob/master/2/contrib/openshift/configuration/jobs/OpenShift%20Sample/config.xml\r\n\r\nthere is a tutorial associated w/ that job here:\r\nhttps://github.com/openshift/origin/tree/master/examples/jenkins\r\n\r\nand the summary of what the job does when run:\r\n```\r\nIt will trigger an OpenShift build of the application, wait for the build to result in a deployment, confirm the new deployment works, and then tag the image for production. This tagging will trigger another deployment, this time creating/updating the production service.\r\n```"}}
{"actor":{"display_login":"bparees"}}