All Projects → cloudfoundry-community → Cf Plugin Seed

cloudfoundry-community / Cf Plugin Seed

Seed creates orgs, spaces, and pushes applications to a new Cloud Foundry

Programming Languages

go
31211 projects - #10 most used programming language

DEPRECATED

This plugin is deprecated. If you are interested, check out https://github.com/cloudfoundry-community/cf-plugin-deploy

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].