Adding a gate to a workflow - Amazon CodeCatalyst

Adding a gate to a workflow

In Amazon CodeCatalyst, you can add a gate to a workflow to prevent it from proceeding unless certain conditions are met. Use the following instructions to add a gate to a workflow.

For more information about gates, see Gating a workflow run.

To add and configure a gate
  1. Open the CodeCatalyst console at https://codecatalyst.aws/.

  2. Choose your project.

  3. In the navigation pane, choose CI/CD, and then choose Workflows.

  4. Choose the name of your workflow. You can filter by the source repository or branch name where the workflow is defined, or filter by workflow name or status.

  5. Choose Edit.

  6. Choose Visual.

  7. On the left, choose Gates.

  8. In the gate catalog, search for a gate, and then choose the plus sign (+) to add the gate to your workflow.

  9. Configure the gate. Choose Visual to use the visual editor, or YAML to use the YAML editor. For detailed instructions, see:

  10. (Optional) Choose Validate to make sure the YAML code is valid.

  11. Choose Commit to commit your changes.