-
Notifications
You must be signed in to change notification settings - Fork 5
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
[GH-32] Upload bin directory. #34
Conversation
It looks like you are uploading the bin dir on every task invocation. This will not scale well when you have 10,000's of tasks. Can you do the upload once when the executor is created? Here is how AWS Batch does it: |
AWS Batch copies the bin dir into the work dir, something like |
Yes. This is not efficient. The reason is I couldn't find a way to insert the path. Let me do more investigation. |
e894824
to
e593040
Compare
If the workflow contains a bin directory, upload to a tmp directory in the working directory. In `.command.run` script, we add `export PATH=...` to include the tmp directory.
e593040
to
87eec32
Compare
Looks good to me 👍 |
Release 0.1.8 includes multiple bugfixes: * [GH-20] Update project's org. name. by @jealous in MemVerge/nf-float#21 * [nextflow-ioGH-22] Include auto-install in the document by @jealous in MemVerge/nf-float#23 * [nextflow-ioGH-26] Support config in process. by @jealous in MemVerge/nf-float#33 * [nextflow-ioGH-32] Upload bin directory. by @jealous in MemVerge/nf-float#34 * [nextflow-ioGH-28] Correct syntax in README. by @jealous in MemVerge/nf-float#36 * [nextflow-ioGH-29] Read credentials from ENV or secrets. by @jealous in MemVerge/nf-float#35 * [nextflow-ioGH-38] Track job with tags by @jealous in MemVerge/nf-float#39 * [nextflow-ioGH-37] Support default registry. by @jealous in MemVerge/nf-float#40 **Full Changelog**: MemVerge/nf-float@0.1.7...0.1.8
Release 0.1.8 includes multiple bugfixes: * [GH-20] Update project's org. name. by @jealous in MemVerge/nf-float#21 * [GH-22] Include auto-install in the document by @jealous in MemVerge/nf-float#23 * [GH-26] Support config in process. by @jealous in MemVerge/nf-float#33 * [GH-32] Upload bin directory. by @jealous in MemVerge/nf-float#34 * [GH-28] Correct syntax in README. by @jealous in MemVerge/nf-float#36 * [GH-29] Read credentials from ENV or secrets. by @jealous in MemVerge/nf-float#35 * [GH-38] Track job with tags by @jealous in MemVerge/nf-float#39 * [GH-37] Support default registry. by @jealous in MemVerge/nf-float#40 **Full Changelog**: MemVerge/nf-float@0.1.7...0.1.8
If the workflow contains a bin directory, upload to a tmp directory in the working directory.
In
.command.run
script, we addexport PATH=...
to include the tmp directory.