Cloud foundry command to push the same deployment to multiple organization

356 views Asked by At

I am trying to push my deployment to multiple organization space in one cf push could you please let me know whether there is any single command to do so using cf push?

cf push ....

Is there any option to provide in manifest.yml file?

2

There are 2 answers

0
K.AJ On

No cf push works on given target only. For your use case, a the targets plugin may help. Plugins are available on https://plugins.cloudfoundry.org. You still will need some shell scripting to achieve your goal.

0
Avhi On

No, there is no single command you can use to deploy the same application to different Orgs. The only workaround you can use is - create shell script to target different Org once you are done with push to one Org.