Custom Deployments for Bamboo

Customize your deployments on the fly

The add-on provides similar functionality as in custom build execution but for deployments. With a simple UI, you can quickly select a target environment, customize variable values and trigger the deployment.

In case you are using a microservervice architecture and you would like to have capabilities to deploy single components only this addon will come in handy. For example using TAGS in ansible or LIMITs to restrict your deployment to a smaller subset of servers or to a single role.


Choose an environment


Fill the environment variable values that need customizations


In case you don't like the idea of all variables being customized, under administration you will find the option to filter out some of the variables.


As of version 1.0.8 Custom deployments can cache if you like previous values and values can be preset via global or environment configuration.

For each variable you can define possible values via a JSON stored as global configuration or environment variable. For example for variable ENV you can define CD_ENV_POSSIBLE_VALUES and predefine the values as in following example:

{
   "ENV" : [ "Dev","QA","Prod" ]
} 

The values can also be displayed as a combo or checkboxes box instead of free text.

More recent versions support custom format per variable:

{
"TAGS" : {
"type" : "checkbox",
"separator": ",",
"values" : ["a", "b", "c"]
}
}

Just define the variable name, type, separator to use when ticking multiple checkboxes and fill your array of predefined values.




No comments:

Post a Comment