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

Non-trivial example #39

Closed
bonnevm opened this issue Dec 9, 2019 · 7 comments
Closed

Non-trivial example #39

bonnevm opened this issue Dec 9, 2019 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@bonnevm
Copy link

bonnevm commented Dec 9, 2019

Is there a non-trivial example of a flow where steps are not running directly in the FlowSpec, but in different docker container?

    @step
    def a(self):
        # Step should be processed by a worker running "DockerImageA"
        self.next(self.b)
   @step
    def b(self):
        # Step should be processed by a worker running "DockerImageB"
        self.next(self.end)
@savingoyal
Copy link
Collaborator

Yes, indeed - you can run on AWS Batch with your own container -

@batch(image="my_image")
@step 
def step(self):
    ...

@savingoyal savingoyal added the help wanted Extra attention is needed label Dec 9, 2019
@bonnevm
Copy link
Author

bonnevm commented Dec 9, 2019

Is there a way to run such a flow locally?

@savingoyal
Copy link
Collaborator

Not currently. What would be your use-case? You can specify specific dependencies locally using the @conda decorator as well.

@bonnevm
Copy link
Author

bonnevm commented Dec 10, 2019

Essentially testing workflows locally, where some of the steps are built by other teams in potentially other languages.

@savingoyal
Copy link
Collaborator

We don't support this today on the local instances. Our recommendation is to use @conda and/or execute in the cloud.

@crk-codaio
Copy link
Contributor

Does @savingoyal 's last response answer your question? I'm wondering if we can close this issue as "will not fix".

@bonnevm
Copy link
Author

bonnevm commented Dec 11, 2019

Sorry for the delay. Yes it's answering my question.

valayDave pushed a commit that referenced this issue Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants