Deployment jobs

"Deployments" in Crow are manually triggered events on top of finished pipelines. They relate to the idea to "deploy" successful builds to a specific environment (e.g. "production").

Important

Deployments are not enabled by default. They must be explicitly allowed in the repo settings within the "General" section.

If enabled, the "Deploy" button is shown.

Deploy Button

Deploy Button

When clicked, a popup opens with various options. It requires specifying a target environment. The input can be arbitrary (as long as no environment sub-filter is set in the YAML). Behind the scenes, a pipeline is started and possibly filtered against the specified environment. For example:

when:
  event: deployment
  environment: production

In addition, an optional secondary filter can be set via the "Deployment task" option. This allows to further narrow down deployment jobs within a specific environment. In YAML config, this would be specified as:

when:
  event: deployment
  environment: production
  task: job1

Deployment Popup

Deployment Popup