Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create and manage automations in the UI #13342

Merged
merged 3 commits into from
May 15, 2024
Merged

Create and manage automations in the UI #13342

merged 3 commits into from
May 15, 2024

Conversation

pleek91
Copy link
Contributor

@pleek91 pleek91 commented May 14, 2024

Description

Users can now manage their automations via the ui. Automations in Prefect enable you to configure actions that Prefect executes automatically based on trigger conditions.

To enable set PREFECT_EXPERIMENTAL_EVENTS=True and PREFECT_API_SERVICES_TRIGGERS_ENABLED=True in your prefect profile.

Read more about automations in the prefect automation docs.

Automation Triggers

The following preconfigured trigger templates are available

  • Deployment status
  • Flow run state
  • Work pool status
  • Work queue status
image

Automation Actions

The following actions are available

  • Cancel a flow run
  • Suspend a flow run
  • Change a flow run's state
  • Pause a deployment
  • Resume a deployment
  • Pause a work queue
  • Resume a work queue
  • Pause a work pool
  • Resume a work pool
  • Pause an automation
  • Resume an automation
  • Send a notification
image

@pleek91 pleek91 added ui Related to the Prefect web interface experimental Related to an experimental feature labels May 14, 2024
@pleek91
Copy link
Contributor Author

pleek91 commented May 14, 2024

Waiting on #13343

@collincchoy collincchoy self-assigned this May 15, 2024
@collincchoy collincchoy marked this pull request as ready for review May 15, 2024 16:53
@collincchoy collincchoy requested review from collincchoy and removed request for znicholasbrown May 15, 2024 16:53
Copy link
Contributor

@collincchoy collincchoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks & works great to me!

@collincchoy collincchoy merged commit 320d588 into 2.x May 15, 2024
27 checks passed
@collincchoy collincchoy deleted the 2.x-automations branch May 15, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental Related to an experimental feature ui Related to the Prefect web interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants