zend-patterns / ZendServerSDK

Pure ZF2 CLI for zpk creation and webapi client.
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

Check for running deployment #79

Closed janatzend closed 8 years ago

janatzend commented 9 years ago

A deployment which is being started before another deployment has been finished, can cause an unpredictable behavior in Zend Server. It would be nice to have a flag for the 'deployment' command to check for running deployments before executing the actual deployment. If 'yes', just stop the process (block the deployment)

slaff commented 9 years ago

e57eac29acb4bcfa9de4b8fb6f7c281dc2cc7c64 contains the initial changes for this feature request. --safe will check if there is on-going deployment and if yes will exit with error --safe in combination with --wait will play it safe and wait for the on-going to finish before starting the new deployment.

slaff commented 8 years ago

@janatzend Please, check if this is working for you and if yes, close the feature request.