Conversation
Work based on Sergiy's draft. Fixed bugs here and there, adjusted documentation, removed spurious changes.
|
Note, there is also a small irrelevant change in the "head" shortcut too, just wanted to make it go through too. |
|
For this pull request, I intend to merge it using a merge commit instead of a squash commit, so that each developer's work is properly credited. |
MontrealSergiy
left a comment
There was a problem hiding this comment.
seems fine to me.
Would you like me to test it?
|
Sure test it, it's easy |
|
I just used the diagnostics tool with a plain linux container for it |
|
You don't even need a boutiques task for this feature |
|
I am going to add right now the commit for the OTHER feature too, since it's only one method changed. Good design. |
If a plugins contain a folder named "container_mnt", and a boutiques descriptor has an entry in its custom field called "cbrain:plugins-container-bindmount" with a path as a value, then the plugins folder will be bindmounted into the apptainer container under the path specified in the descriptor. Implements issue aces#1569 on GitHub.
|
Tested on my side and it is a really nice addition. |
|
The first feature was tested, tool config seems working. The second feature looks simple and elegant, though:
I do not have particularly elegant solution for all these bullet points, but at least we should be aware of challenges that may arise with new approach |
|
Reply, point by point:
I will consider maybe making it one more "install" step in the rake task that install plugins, but for the moment that's good enough, I think. |
|
BTW boutiques support creating files (see 'file-template' attribute), though it does not have execution right and only suits for small text files, not executable or libraries |
I don't understand what that means. Can you explain? |
|
the boutiques format has a feature to create additional files whenever |
|
In |
|
This one is not particularly straightforward too. I did not find much in BTQ docs, yet it is in the schema and Tristan's paper Algorithm 1 pseudo-code |
Adds the ability to specify bindmounts in a ToolConfig, for tasks launched with Apptainer.
The configuration is performed in the "Singularity Overlays" text area, where the admin can add lines like:
There are two commits in this PR: