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

Task-specific code packaging #46

Open
spitz-dan-l opened this issue Jul 18, 2022 · 1 comment
Open

Task-specific code packaging #46

spitz-dan-l opened this issue Jul 18, 2022 · 1 comment

Comments

@spitz-dan-l
Copy link
Contributor

Hey there redun team!

This one is a bit of a corner case. I would like to disable code packaging for a particular task in a pipeline, but keep it enabled for the rest. I think having a task option to disable code packaging would be the most natural way to do this. As it stands, I have to use two separate executors, one without code packaging and one with.

The use case- I'm using redun to orchestrate some end-to-end tests. In the tasks where I actually run the tests, I want it to use the exact code built into the image (so code packaging disabled). For the rest of the tasks that set up and process the test results, code packaging should still be fine and handy (so enabled).

Cheers,
Dan Spitz

@mattrasmus
Copy link
Collaborator

Thanks @spitz-dan-l for sharing this use case. Creating two executors is the currently support way to do this. However, creating a new task-level option for code_packaging should not be hard to add support for.

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

No branches or pull requests

2 participants