Description of problem: If an application is configured as binary deployment with auto deployment disabled, when push commits to remote, the push action is rejected with message 'git-based deployments are disabled'. However, now that auto deployment is disabled, I should not expect to see the platform's attempt to deploy my application. Version-Release number of selected component (if applicable): On devenv_3880 How reproducible: Always Steps to Reproduce: 1. Create an application, disable auto deployment and configure binary deployment via rest api rhc create-app p1 php-5.3 curl -s -k -H 'Content-Type: Application/json' --user jhou:x https://ec2-54-224-45-70.compute-1.amazonaws.com/broker/rest/domain/jhou/application/p1 -X PUT -d '{"auto_deploy": false}' curl -s -k -H 'Content-Type: Application/json' --user jhou:x https://ec2-54-224-45-70.compute-1.amazonaws.com/broker/rest/domain/jhou/application/p1 -X PUT -d '{"deployment_type":"binary"}' 2. Do some change to the application code, then commit and push Actual results: After step 2: Writing objects: 100% (4/4), 376 bytes | 0 bytes/s, done. Total 4 (delta 2), reused 0 (delta 0) remote: OPENSHIFT_DEPLOYMENT_TYPE is 'binary' - git-based deployments are disabled. remote: To ssh://525642d7883414c514000071.rhcloud.com/~/git/p1.git/ ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'ssh://525642d7883414c514000071.rhcloud.com/~/git/p1.git/' Expected results: The attempt is to push code without deploy hooks triggered, but the message shows the platform reject git deployment. Maybe I should expect a successful git pushing without git deployment. Additional info:
This is behaving as intended. If you set the application's deployment type to binary, git pushes are rejected.