Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
1
-
Description
Since Docker arrived I'am playing around with it quite a bit.
Currently I'm curious how to integrate docker in my deployment process using bamboo.
Bamboo has a bit of a static Environment Configuration, which was fine at a time where I had just a fixed number of environments.
But since docker arrived I can basically create one complete environment (multiple containers) within a small script in no time.
This allows me to easily create multiple environments for different branches.
But in bamboo I would now have to create one environment per container manually.
I would suggest something similar to the plan branches where I have a basic environment and if I want to deploy an artifact I can choose to automatically create a new environment from this template or choose an existing one. This template would contain tasks to create containers, link them, etc
The current workflow looks like that:
- Developer creates new docker container(s) with bash script
- Developer creates new environment in bamboo (basically clones an existing one)
- developer deploys artifact to this environment
...at some point developer deletes environment in bamboo and (hopefully) removes all running containers