-
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
Upgrade to BMI 2.0 #339
Upgrade to BMI 2.0 #339
Conversation
Was getting ``` RuntimeError: The Poetry configuration is invalid: - [extras.pipfile_deprecated_finder.2] 'pip-shims<=0.3.4' does not match '^[a-zA-Z-_.0-9]+$' ```
…ns/images in same way
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice to have the containers centralized. Haven't tested yet, but the code changes look good.
def start_container( | ||
work_dir: Union[str, Path], | ||
image_engine: ImageForContainerEngines, | ||
input_dirs: Optional[Iterable[str]] = None, | ||
image_port=55555, | ||
timeout=None, | ||
delay=0, | ||
) -> Bmi: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having this isolated from the models is great!
Would it be possible to separate the image selection from the actual starting of container? I'd like to be able to start a container by simply passing in an image (assuming that I know which container engine I'm using)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added start_apptainer_container() and start_docker_container()
Also could you add a changelog entry? |
Merged as part of #340 |
TODO
[x] Update docsNo docs found using BMI<v2