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

Add ExecutionLabelsCondition as a new Flow trigger condition #2720

Closed
anna-geller opened this issue Dec 15, 2023 · 0 comments
Closed

Add ExecutionLabelsCondition as a new Flow trigger condition #2720

anna-geller opened this issue Dec 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@anna-geller
Copy link
Member

anna-geller commented Dec 15, 2023

Feature description

Similarly to how we support ExecutionNamespaceCondition, we should also support ExecutionLabelsCondition to allow a Flow trigger to be triggered only after completion/start of Executions with matching labels.

We should highlight in the docs that this condition is meant to be used with the Flow trigger and not with Schedule or Polling triggers.

  - id: flow_trigger
    type: io.kestra.core.models.triggers.types.Flow
    conditions:
      - type: io.kestra.core.models.conditions.types.ExecutionLabelsCondition
        labels: 
          owner: rick.astley
@anna-geller anna-geller added the enhancement New feature or request label Dec 15, 2023
@anna-geller anna-geller added this to the v0.16.0 milestone Dec 15, 2023
@Skraye Skraye self-assigned this Mar 14, 2024
@Skraye Skraye closed this as completed in 163c9d5 Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants