Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOSH 2.0 support - only support bosh2 format releases, single manifests/thing.yml #97

Merged
merged 19 commits into from Jul 18, 2017

Conversation

drnic
Copy link
Contributor

@drnic drnic commented May 18, 2017

See https://github.com/cloudfoundry-community/bosh-gen/projects/1

With bosh2 now GA, we are migrating all community releases to assume bosh2 usage. There are some subtle required changes, and some stylistic changes. This PR for bosh-gen is so that new BOSH releases look and feel like this new style.

bosh-gen will also try to help generate releases that produce no bosh-lint linting errors (read introduction)

Local installation

git clone https://github.com/cloudfoundry-community/bosh-gen -b bosh2
cd bosh-gen
bundle
rake install:local

Changes

Required for bosh2

  • config/private.yml schema changed

Style/lint changes

  • single manifest that "just works", rather than templates/make_manifest to merge several part files together. Generated stub manifests/thing.yml should be updated as you develop your release to always deploy a useful working system. bosh2 deploy manifests/thing.yml should "just work" please.
  • ctl for name of job monit control script

Removed

  • bosh1 ruby plugin - bosh2 is written in golang and does not support plugins; I'm unsure how much this plugin was used; but if it was then it needs rewriting
  • old specs + .travis.yml for testing generators; instead we'll look at having integration tests via CI
  • data/properties.sh template - it wasn't a pattern that was being adopted

@drnic
Copy link
Contributor Author

drnic commented Jul 18, 2017

v0.90.0 has been cut which include WIP on bosh2 support

@drnic drnic merged commit 7e307e7 into master Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant