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

Switch to an OOP implementation #16

Open
denbonte opened this issue Sep 19, 2023 · 0 comments
Open

Switch to an OOP implementation #16

denbonte opened this issue Sep 19, 2023 · 0 comments
Assignees

Comments

@denbonte
Copy link
Member

Now that the pipeline is pretty much set up and we know what we need and want/might implement, switch to an OOP implementation.

The idea is to have an "MHubContainer" class with a bunch of methods such as:

  • build
  • inspect
  • test
  • push
  • comms with the MHub DB

And a bunch of attributes such as

  • path to dockerfile
  • image ID
  • whether the image is a base image or a model image
  • base image id (if the image is not a base image)
  • associated testing data

The pipeline will then fetch all of the images to build, test, push and comm with the server, starting from config files.

@denbonte denbonte self-assigned this Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant