Automation events and scopes

An automation can run when a specific event occurs at a given scope, either a registry or a project. This page lists the events that can trigger an automation at each scope.

Registry

This section describes the scopes and events for an automation in a Registry.

Scopes

You create a Registry automation at these scopes:

  • A Registry. The automation watches for the event taking place on any collection in the registry.
  • A single collection in a registry.

Events

A Registry automation can watch for these events:

  • Linking a new artifact to a collection: Test and validate new models or datasets when they are registered.
  • Adding a new alias to a version of an artifact: Trigger a special step of your workflow when a new artifact version has a specific alias applied. For example, deploy a model when it has the production alias applied.

Project

This section describes the scopes and events for an automation in a project.

Scopes

You can create a project automation at these scopes:

  • The project. The automation watches for the event taking place on any collection in the project.
  • All collections in the project that match the filter you supply.

Events

A project automation can watch for these events:

  • A new version of an artifact is created in a collection: Apply recurring actions to each version of an artifact. Specifying a collection is optional. For example, start a training job when a new dataset artifact version is created.
  • An artifact alias is added: Trigger a special step of your workflow when a new artifact version in a project or collection has a specific alias applied. For example, run a series of downstream processing steps when an artifact has the test-set-quality-check alias applied.

Next steps