bmuschko / gradle-cargo-plugin

Gradle plugin that provides deployment capabilities to local and remote containers via Cargo
Apache License 2.0
258 stars 61 forks source link

Added CargoConfigureLocal task #144

Closed markjfisher closed 6 years ago

markjfisher commented 8 years ago

Added a task to run the 'configure' task in cargo with a cargoConfigureLocal task.

I'd like the ability to bundle the containers configuration manually onto target via SSH (rather than having to specify usernames and passwords to remotes), so a 'configure' only task is a useful option.

This is also useful as I can add additional generated configuration directories (rather than using configFiles) into the container configuration before starting the container.

Also, I can now manually run and background the start of (e.g.) tomcat on the target using ssh rather than the blocking cargoRunLocal task.

There don't seem to be any tests around creating the cargo*Local tasks, but the implementation is trivial, so I haven't added any either.

mping commented 8 years ago

Any progress on this?

bmuschko commented 6 years ago

Thanks again for your pull request. I release a new version with your changes.

markjfisher commented 6 years ago

You're welcome.