cloudfoundry-incubator / cflocal

Stage and launch CF apps, push and pull droplets, and connect to real CF services -- in Docker
Apache License 2.0
178 stars 27 forks source link

support for -p option for Spring boot #4

Closed alexvasseur closed 7 years ago

alexvasseur commented 7 years ago

for Spring boot app, I would use cf push -p myapp.jar appname and there is no such a thing as the application folder

cf local is not friendly to that - is there some way to deal with that using local.yml (I could not find its expected structure) or a way to add the -p option ?

sclevine commented 7 years ago

Currently, you must unzip the JAR file and use CF Local from inside the unzipped folder.

The roadmap for extra local-path-related options looks like:

  1. A path field in local.yml that allows you to specify a ZIP/JAR
  2. A -f flag that allows you to specify a local.yml file
  3. A remote field in local.yml that allows you to specify a different remote app name
  4. A droplet field in local.yml that allows you to specify a droplet file

And then potentially:

  1. A -p flag to override path
  2. A -n flag to override remote
  3. A -d flag to override droplet
sclevine commented 7 years ago

@avasseur-pivotal I added -p in the latest release (0.11.0).