Hari
Hari

Reputation: 267

Cloud foundry command to push the same deployment to multiple organization

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?

Upvotes: 0

Views: 459

Answers (2)

Avhi
Avhi

Reputation: 886

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.

Upvotes: 0

K.AJ
K.AJ

Reputation: 1292

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.

Upvotes: 1

Related Questions