Skip to content
This repository has been archived by the owner on Mar 5, 2018. It is now read-only.

rosenhouse/cf-filler

Repository files navigation

DEPRECATED

Please see the cf-deployment README for how to use the new --vars-store feature in the bosh-cli


cf-filler

Build Status

Generate variables to fill in cf-deployment using the fancy new (alpha) bosh-cli.

Install

go get github.com/rosenhouse/cf-filler

Note

Make sure you're using bosh-cli v0.0.107 or higher. Older versions don't play nicely with cf-filler.

Also, it appears that this functionality is now built the bosh cli! Check out cf-deployment#24 for an example.

Usage

You'll need a "recipe" file that describes the variables to generate. At the time of this writing, cf-deployment includes its own recipe (permalink in case that changes).

cf-filler -recipe ~/workspace/cf-deployment/recipe-cf-deployment.yml \
          -dnsname my-env.example.com > /tmp/vars.yml

bosh-cli build-manifest --var-errs --var-file=/tmp/vars.yml \
    ~/workspace/cf-deployment/cf-filler/cf-deployment.yml > /tmp/my-deployment.yml

bosh-cli -e my-director -d cf deploy /tmp/my-deployment.yml

If you modify cf-deployment (say to add extra jobs), you may need to customize your recipe file as well.

Running the tests

  • Locally

    go get github.com/cloudfoundry/bosh-cli
    ./test
  • On a remote Concourse

    fly -t myconcourse execute -x -c ci/test.yml

About

fill in the variables for your cf-deployment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •