Description of problem: Two V2 cartridge action hook names aren't consistent with V1: * pre-build should be pre_build * post-deploy should be post_deploy In addition, the 'post-install' bin script should be 'post_install' to be consistent with other scripts in the cartridge spec. Version-Release number of selected component (if applicable): How reproducible: N/A Steps to Reproduce: N/A Actual results: N/A Expected results: N/A Additional info:
https://github.com/openshift/origin-server/pull/2633
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/c9a6ffbdf36b368593e8b8beb55fe73b12b12d95 Bug 967017: Use underscores for v2 cart script names
It's fixed, verified on devenv_3277,please refer to the following results: 1. Create app rhc app create cruby80 ruby-1.8 2. Create pre_build and post_deploy cd cruby80 echo 'echo "I am in pre_build ==================YEAH!!!!!"' > .openshift/action_hooks/pre_build echo 'echo "I am in post_deploy ==============================OKKO!!!!!!!"' > .openshift/action_hooks/post_deploy 3. git push git add .;git commit -amp; git push [master 8e3c0ff] p 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .openshift/action_hooks/post_deploy mode change 100644 => 100755 .openshift/action_hooks/pre_build Counting objects: 13, done. Compressing objects: 100% (10/10), done. Writing objects: 100% (10/10), 1016 bytes, done. Total 10 (delta 2), reused 0 (delta 0) remote: Stopping Ruby cart remote: httpd (no pid file) not running remote: I am in pre_build ==================YEAH!!!!! remote: Running build on Ruby cart remote: Starting Ruby cart remote: I am in post_deploy ==============================OKKO!!!!!!! To ssh://948511341651594496180224.rhcloud.com/~/git/cruby80.git/ 3247a57..8e3c0ff master -> master [root@F18-CCY action_hooks]# pwd /root/test/cruby80/.openshift/action_hooks