bootleg
bootleg copied to clipboard
Deploy different apps in umbrella project to different servers
I have an umbrella project with multiple apps. I have distillery config for all apps defined at the top level of the umbrella project. Is there any support in bootleg for defining multiple apps/release and their corresponding deployment targets at the top level of an umbrella project? If not I assume I'll need to move both distillery config and bootleg config into sub-apps within the umbrella project. That would feel a bit awkward though since I assume I'd need different workspaces per app, each of which would have their own cloned git repo, ...
While this is not a use-case that Bootleg directly supports, you may be able to use a combination of the some of the lesser-used configuration options and either:
- custom tasks w/ hooks
- repurposing deployment environment files to be used for individual apps
It should be possible to set (and set again as needed):
config(:ex_path, "webthing")
config(:app, :webthing)
But this is so far untested. I'd love to hear whether you have any success with this, and would be happy to work with you to see if this is something we can support with documentation.