Continuous delivery can schedule deployments without a DeploySpec #1053
Description
If a stack is provisioned with continuous delivery enabled, or continuous delivery is enabled shortly thereafter, it's quite possible for the continuous delivery routine to run on the stack prior to the DeploySpec being cached, particularly when the git repo is large and slow to clone.
This results not only in the max_commits
default value being used and a deployment of a potentially very old commit being triggered, but there's no guarantee that the deployment job will wait for a DeploySpec, and it may run using the default with potentially very poor results.
Our proposal is for continuous delivery to be delayed until a DeploySpec can be cached. The idea would be to consider any empty DeploySpec to be insufficient for continuous delivery to operate.
Would this change be accepted?
Activity