-
Notifications
You must be signed in to change notification settings - Fork 166
DAG #280
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
Closed
DAG #280
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
179d351
Add a directed acyclic graph (DAG) implementation.
ejholmes 3b5ab8a
Use a graph to build the plan
ejholmes d468684
Better error when graph fails validation
ejholmes 6d8ab4e
Include the name of the node that didn't exist in the graph
ejholmes efb33e9
Docstrings and small tweaks
ejholmes 74de5e8
Add a DAG.transpose function, and use that to walk the graph in reverse
ejholmes 314628f
Execute plan in parallel
ejholmes 0159925
Allow providers to disable parallel execution
ejholmes e8794c3
Cancel parallel execution if a step fails
ejholmes fe6ea29
Trap SIGINT and SIGTERM and signal threads to stop.
ejholmes 68ff4a7
Synchronize around calls to `fn` within `execute`
ejholmes a8d4cd2
Merge pull request #281 from remind101/dag-concurrent
ejholmes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
.PHONY: build | ||
.PHONY: build test lint | ||
|
||
build: | ||
docker build -t remind101/stacker . | ||
|
||
test: | ||
lint: | ||
flake8 --exclude stacker/tests/ stacker | ||
flake8 --ignore N802 stacker/tests # ignore setUp naming | ||
|
||
test: lint | ||
python setup.py test |
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gets removed in this PR, which may not be correct. This seems to tail the events, but I'm not sure I've ever actually seen stacker do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah - this is used by some people with
--tail
. Does it cause issues if you leave it in?