{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/9813","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/9813/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/9813/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/9813/events","html_url":"https://github.com/openshift/origin/pull/9813","id":165201865,"number":9813,"title":"Extended builds","user":{"login":"PI-Victor","id":6294120,"avatar_url":"https://avatars.githubusercontent.com/u/6294120?v=3","gravatar_id":"","url":"https://api.github.com/users/PI-Victor","html_url":"https://github.com/PI-Victor","followers_url":"https://api.github.com/users/PI-Victor/followers","following_url":"https://api.github.com/users/PI-Victor/following{/other_user}","gists_url":"https://api.github.com/users/PI-Victor/gists{/gist_id}","starred_url":"https://api.github.com/users/PI-Victor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PI-Victor/subscriptions","organizations_url":"https://api.github.com/users/PI-Victor/orgs","repos_url":"https://api.github.com/users/PI-Victor/repos","events_url":"https://api.github.com/users/PI-Victor/events{/privacy}","received_events_url":"https://api.github.com/users/PI-Victor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/api-approved","name":"api-approved","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":38,"created_at":"2016-07-12T23:08:33Z","updated_at":"2016-08-02T17:12:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/9813","html_url":"https://github.com/openshift/origin/pull/9813","diff_url":"https://github.com/openshift/origin/pull/9813.diff","patch_url":"https://github.com/openshift/origin/pull/9813.patch"},"body":"OLD PR: https://github.com/openshift/origin/pull/9596 (had to close it)\r\n\r\nTrello: https://trello.com/c/MWUAjl6k/237-13-extended-builds-separate-mvn-vs-jboss-evg\r\nThis is dependent on: https://github.com/openshift/source-to-image/pull/505\r\nTo make this work, in your bc\r\n\r\n```\r\n   strategy:\r\n      sourceStrategy:\r\n        env:\r\n        - name: EXAMPLE\r\n          value: sample-app\r\n        from:\r\n          kind: ImageStreamTag\r\n          name: wildfly:latest\r\n        runtimeArtifacts:\r\n        - sourcePath: /path/to/1\r\n          destinationDir: path/to/1\r\n        - sourcePath: /path/to/2\r\n          destinationDir: path/to/2\r\n        - sourcePath: /path/to/3\r\n          destinationDir: path/to/3\r\n        - sourcePath: /path/to/4\r\n          destinationDir: path/to/4\r\n        runtimeImage:\r\n          kind: ImageStreamTag\r\n          name: openjdk:latest\r\n```\r\ncc: @php-coder @bparees \r\nNOTE: sourcePath needs to be a full path insider your builder image that points to the file/dir that you want to be copied, while destinationDir is the path relative to your runtimeImage WORKDIR where your files will be copied\r\n\r\nNOTE:\r\nIn order to run this, you need to update your s2i builder image with the current compiled binary.\r\n\r\neither using [bindmountproxy](https://github.com/csrwng/bindmountproxy) this works with ```oc cluster up```  instructions are in the repo.\r\n\r\nor by using [openshift-devtools](https://github.com/rhcarvalho/openshift-devtools/tree/master/extras)\r\n```\r\nextras/rebuild-s2i-builder\r\n```\r\nthis will rebuild the s2i-builder image and copy your openshift locally compiled binary inside it (you need to run openshift with --latest-images for openshift to use that rebuilt image)\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/236973890","html_url":"https://github.com/openshift/origin/pull/9813#issuecomment-236973890","issue_url":"https://api.github.com/repos/openshift/origin/issues/9813","id":236973890,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T17:12:42Z","updated_at":"2016-08-02T17:12:42Z","body":"Evaluated for origin test up to 5da464cca4b09be2f72feeb3a7d90ddbe0f0c8c7"}}
{"actor":{"display_login":"openshift-bot"}}