-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dag execution instead of linear one 👣
- Rework the `dag` code a bit, adds GetSchedulable methods to DAG : Given a list of "done" task, give me the task that can be scheduled - fix invalid detected cycle in `dag` The current DAG implementation was marking some graph as invalid even though they were. For example, the following DAG is valid. ``` 42 / \ 100 200 \ / | 101 | \ | 102 ``` But the `dag.Build` would say there is a cycle in there. This is fixed by appending the visited node with the node currently "checked", that way, we can go through the same task twice, but from different path. - Use the `dag` in the reconcilier - Add a e2e test that "exercices" the dag - Update the update pipeline status code, do not short-circuit pipeline status in case of a taskrun not being run yet… As we use a DAG execution flow, we want to check all tasks now. - Make sure `create-dir` containers gets a unique name (the same way `copy-` containers do) Signed-off-by: Vincent Demeester <[email protected]>
- Loading branch information
1 parent
3a41fcf
commit a1f2733
Showing
10 changed files
with
457 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.