Hide Forgot
Description of problem: Given an app and ssh into app, run 'ctl_app build' to build app, will meet error 'No such file or directory - /var/lib/openshift/526764d40fd7c68bc3000035/app-root/runtime/repo/.git' Version-Release number of selected component (if applicable): devenv_3932 How reproducible: always Steps to Reproduce: 1. create one app 2. rhcssh into app and run 'ctl_app build' Actual results: 'No such file or directory - /var/lib/openshift/526764d40fd7c68bc3000035/app-root/runtime/repo/.git' Expected results: could build successfully. Additional info:
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/5ae73beea1f8dabdbabc546d81dd2b957d9da9b6 Restore 'gear build' functionality on normal gears Restore 'gear build' functionality on normal gears. If building from Jenkins, use $GIT_BRANCH as the git ref. If building in a normal gear, call ApplicationRepository#archive to replace the contents of app-root/runtime/repo with the ref to build. Exclude .git when rsyncing the repo content from the Jenkins builder gear to the upstream gear. Bug 1022361
https://github.com/openshift/origin-server/pull/3971
Tested this issue on devenv_3939, it has been fixed. [appr21-zqd.dev.rhcloud.com 5268c2649ec99323f0000001]\> gear build Building git ref 'master', commit 8e995f4