Closed klakin-pivotal closed 6 years ago
@klakin-pivotal Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@klakin-pivotal Thank you for signing the Contributor License Agreement!
Would you mind providing some context for this? What's the utility in pushing in CI without starting it? Is it started as part of some later step?
Is it started as part of some later step?
Yes. The use case is for manually-triggered failover as part of disaster recovery. The idea is that all you need to do to activate the failover instance is a cf start
.
Good enough for me. Thanks!
Another use case is pushing applications that only run as tasks. There are other problems in CF around staging but in the future the hope would be you could push an application that would then be scheduled to run on a cron job but not be running all of the time.
cf push
supports a--no-start
option. The CF Concourse Resource should support this as well.Unfortunately this option is unsupported by the
zero-downtime-push
feature ofautopilot
, which complicates the implementation and tests a bit.Signed-off-by: Navdeep Pama npama@pivotal.io