-
-
Notifications
You must be signed in to change notification settings - Fork 211
Add a Docker Image for testing and doc building in an isolated environment #1075
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
Conversation
mfeurer
left a comment
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 just skimmed this and left a few comments. I think this is a good idea. Do you plan to add a build action to github actions?
|
I added a Github workflow that automatically builds and pushes a docker image on a push to |
mfeurer
left a comment
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.
This looks good, interestingly, the workflow is a bit different to the one we use in Auto-sklearn (https://github.com/automl/auto-sklearn/blob/master/.github/workflows/docker-publish.yml). I think we can copy over one or two things, such as running the unit tests and correctly setting the tag, but besides that it looks good to me.
Co-authored-by: Matthias Feurer <[email protected]>
…nment (openml#1075) * Initial structure * Add doc and test functionality for mounted repo * Add branch support and safeguards * Update docker usage and name, add structure * Improved formatting * Add reference to docker image from main docs * Add Workflow to build and push docker image * Use environment variable directly * Try other formatting for SHA tag * Try format as string * Only push latest * Explicitly make context relative * Checkout repository * Install wheel and setuptools before other packages * Rename master to main * Add information about Docker PR * Make 'note' italtics instead of content Co-authored-by: Matthias Feurer <[email protected]> Co-authored-by: Matthias Feurer <[email protected]>
Due to my recent difficulties building the docs from my Windows machine (still not sure why it broke), I decided to make a docker image that can be used to:
develop.Please refer to the included documentation for more information.
I think it'll be useful for anyone who wishes to execute these tasks in an isolated environment, though the primary audience is probably Windows users.
Looking for feedback, but I will still add: