Creating Gates

To create a gate:

  1. Display the Gates pane for the target application Applications > [selected application] > Gates.
  2. Select a value from the Add a new condition list.

    The available statuses are defined in the Administration > Automation > Statuses page. You will supply your own values in your implementation of Deployment Automation.

    The Add a new condition list includes both version and snapshot statuses. Selecting a value provides both And and Or selection boxes.

    Figure 1. Gate Definition

    image

    Using the And box adds an additional value to the condition that must be satisfied. For example, defining the gate Passed Tests And Latest means that only component versions with both statuses, Passed Tests and Latest, satisfy the condition and can be deployed into the environment. A single condition can have as many And-ed values as there are statuses defined.

    Using the Or box adds an additional condition to the gate. Additional conditions are defined in the same way as the first one. A gate with two or more conditions means the component will be deployed if it meets any of the conditions. For example, For example, if you define the gate Passed Tests Or Latest, a component will pass the gate if it has either status (or both). A single gate can have any number of conditions.

  3. Save your work when finished.

See Statuses for more information about version and snapshot statuses.