https://github.com/cloudfoundry-community/cf-plugin-seed
Seed creates orgs, spaces, and pushes applications to a new Cloud Foundry
https://github.com/cloudfoundry-community/cf-plugin-seed
Last synced: 9 months ago
JSON representation
Seed creates orgs, spaces, and pushes applications to a new Cloud Foundry
- Host: GitHub
- URL: https://github.com/cloudfoundry-community/cf-plugin-seed
- Owner: cloudfoundry-community
- Created: 2015-01-06T20:04:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-02-03T20:20:40.000Z (over 9 years ago)
- Last Synced: 2024-06-20T05:06:26.288Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 296 KB
- Stars: 8
- Watchers: 33
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 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
```yaml
---
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
```bash
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
```