samson-deployment icon indicating copy to clipboard operation
samson-deployment copied to clipboard

Configure deployment setup in yml instead of env vars

Open baschny opened this issue 9 years ago • 2 comments

I currently can configure some stuff in a "project.yml" file, but the most important things like deploy_to, application, url, context etc can only be set via environment variables. So you need yet another "shell script wrapper" just to call the correct deployment target (which in our case is configured in "samson" GUI and not even versioned).

So my wish would be to only require two env-vars (DEPLOYMENT_PROJECT + some other switch - i.e. DEPLOYMENT_STAGE to keep the samson terminology) and with that all other variables are fetched from the relevant project file.

baschny avatar Mar 21 '16 22:03 baschny

Added a new python based deployment wrapper with 29f3cb91c75e1c26b7947f88a7d6abefb042c0cd which should improve the situation. Still WIP

mblaschke avatar Apr 27 '16 19:04 mblaschke

New deployment wrapper needs new samson-deployment image update, will be released with Dockerfiles 1.0

mblaschke avatar Apr 29 '16 19:04 mblaschke