Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.2 KB

README.md

File metadata and controls

60 lines (47 loc) · 1.2 KB

Overview

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.

installation

$ go get github.com/cloudfoundry-community/cf-plugin-seed
$ cf install-plugin $GOPATH/bin/cf-plugin-seed

usage

$ cf seed -f example.yml

manifest

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"

upgrading seed

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