This plugin is deprecated. If you are interested, check out https://github.com/cloudfoundry-community/cf-plugin-deploy
Seed creates orgs, spaces, and pushes app. This plugin was created for automation of creating certain orgs, spaces, and apps. This is useful if you want to keep the consistency between different Cloud Foundry Environments. Future support should includes creation of users, services and basically anything in cf cli commands.
$ go get github.com/cloudfoundry-community/cf-plugin-seed
$ cf install-plugin $GOPATH/bin/cf-plugin-seed
$ cf seed -f example.yml
Example of seed manifest.yml
---
organizations:
- name: org1
spaces:
- name: space1
apps:
- name: app1
repo: https://github.com/cloudfoundry-community/cf-env
- name: app2
path: apps/app1
memory: 256m
disk: 1g
instances: 2
- name: space2
- name: org2
spaces:
- name: space3
apps:
- name: app3
path: "blah"
- name: app4
path: "foo"
cf uninstall-plugin cf-plugin-seed
go get -u github.com/cloudfoundry-community/cf-plugin-seed
cf install-plugin cf-plugin-seed
Note if you are running <0.0.1 of seed please run first.
cf uninstall-plugin seed