| Thanks! > I've been through the docs and could find if there's a way to deploy a git repo, or a tar file, that contains the docker compose file instead if copy pasting. We are currently developing a GitHub Action utilizing our SDK to upload latest releases (and provide paths to the docker-compose file). > What about env variables? These are high up in our backlog and we are looking for initial partners to specify them with. We thought about using end-to-end encryption for env variables. What would be an example for an endpoint? > `docker compose up`
Yes currently this all what the agent does. We assume that most applications handle upgrades inside their applications and not on an infrastructure level. Do you have an exact upgrade case in mind? Regarding the vendor and the customer portal, we want to enable both options. A deployment can either be managed by the vendor or by the customer. Some customers want to control when they want to perform upgrades and set certain variables or helm values themselves. In other cases it is fine if the ISV does all the management. This is also what might be configurable in the future. Thanks again, let us know if you know how can improve Distr. All feedback is welcome. |
Cool. So the tar would be uploaded to the hub and from there the user can manage deployments. Or maybe even create draft? deployments from the gh action and the user would only have to confirm/approve before shipping to clients.
> Do you have an exact upgrade case in mind?
Yeah, some apps could get quite complicated due to <reasons> and a single `docker compose up` for deployment won't cut it. For example, user may need to do a backup before deployment or some post deployment steps like db migrations. These steps may depend on which app version you are updating from, so even though they can be handled from within the app some logic/state is needed to determine when to execute them.
The ability to specify pre-deploy, post-deploy and a custom deploy command (not just docker compose up) would be helpful.
> A deployment can either be managed by the vendor or by the customer.
But not both? Can't the customer invite the vendor back to allow them to perform such actions when necessary?
The customer portal is a good idea, the ux needs a little polish I think. Make it super easy to see if there's a new app version, a button to install it, and perhaps real time feedback/progress. Some customers would also appreciate the ability to export a list of app deployments with logs for auditing.