cf push dora -i 2
# Trigger a canary deploy
deployment_guid=$(cf curl -X POST /v3/deployments -d "{ \"strategy\": \"canary\", \"relationships\": { \"app\": { \"data\": { \"guid\": [\"$(cf app dora --guid)\"] } } } }" | jq -r .guid)
# Observe that a new canary web process starts
cf apps
# Observe the deployment is in state paused
cf curl /v3/deployments/$deployment_guid | jq .status
# Continue the deployment
cf curl -X POST /v3/deployments/$deployment_guid/actions/continue
# Observe as the canary app is rolled out and old processes are removed
watch cf apps
New Baras test - https://github.com/cloudfoundry/capi-bara-tests/pull/101
Closes #3837
Trying it
[x] I have reviewed the contributing guide
[x] I have viewed, signed, and submitted the Contributor License Agreement
[x] I have made this pull request to the
main
branch[x] I have run all the unit tests using
bundle exec rake
[ ] I have run CF Acceptance Tests