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

Web + Engine - Ability for user to control task dependencies being AND vs OR #425

Open
tlawrie opened this issue Apr 12, 2024 · 1 comment

Comments

@tlawrie
Copy link
Member

tlawrie commented Apr 12, 2024

The code has the ability to treat the dependencies as an

  • OR, i.e. as long as one path / edge is valid then the task will run
  • AND i.e. all paths / edges have to be valid

Image

Couple of implementation options

  • Implement AND - all paths have to be valid. Tasks work as a join currently implemented
  • Implement OR - at least one path is valid code exists
  • Add an option for user to choose how it works.
  • Create a join system task and leverage the code.
@tlawrie tlawrie converted this from a draft issue Apr 12, 2024
@tlawrie
Copy link
Member Author

tlawrie commented Apr 12, 2024

Tekton treats a task as a JOIN with ALL depencies to be met

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant