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

Run drake stage always after upstream completes #203

Open
kavink opened this issue Oct 15, 2015 · 2 comments
Open

Run drake stage always after upstream completes #203

kavink opened this issue Oct 15, 2015 · 2 comments

Comments

@kavink
Copy link

kavink commented Oct 15, 2015

I have a scenario where i always want to run a downstream job after upstream complete, It does not matter if it succeeded or failed.

Current behavior is run-me-always will not run if i-fail-exit-1 stage/tag fails.

%run-me-always <- %i-exit-0 %i-fail-exit-1, 

How do i trigger stage by tag's always even if upstream fails? I just want to wait for all upstream to complete and then trigger downstream .

@dirtyvagabond
Copy link
Contributor

i might be a little confused by this example, b/c i think it's trying to have it both ways. run-me wants to depend on i-fail and also not depend on i-fail. By definition (and I guess by cold hard logic), Drake cannot and does not support this.

One question would be: why does run-me need to wait for i-fail? If you can at all get away with removing i-fail from run-me's deps, you should do that. OTOH, if run-me needs the contents of i-fail, then there is a dependency here (by definition) and you want Drake to enforce it.

Or am I confused?

@kavink
Copy link
Author

kavink commented Oct 17, 2015

basically i want all stages to complete before running the last stage.

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

No branches or pull requests

2 participants