-
Notifications
You must be signed in to change notification settings - Fork 2
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
Generalize and make this test framework pluggable #57
Comments
I think that what we proposed here : bird-house/pavics-jupyter-base#2 (comment) will help to solve the current limitations :
Still not a trivial task, but I think it provides a good fundation to solve this issue. |
Indeed a foundation to build upon. I believe the notebooks are not shipped together with the image but the image have the scripts to download them so this script can be called many times to keep the notebooks up-to-date without having to rebuild the full image just to get updated notebooks. So adding new notebooks is deferred to the image builder/owner, basically solve point 3 of adding new notebooks repos. For the rest, like you said "still a not trivial task". |
You're right, technically the image does not contain the notebooks, but from the e2e it does not matter as the image would be responsible to provide them. |
Sorry, I should have referenced the proper reply. It's meant to clarify "But then the image must be private too?" So if the private notebooks are not part of the image, then the image do not have to be private. Also imply the download script need to be able to handle private repos to get those private notebooks. |
Hum ok, that's a good point. For these cases images would required credentials and the complexity increases. |
This repo basically allow to run jupyter notebooks from any external git repos and ensure expected output and exit code.
Current limitations:
Complex to add new repos containing notebooks.
Have to edit several files (default_build_params, Jenkinsfile, downloadrepos, testall).
Ideally all these files would be driven by only 1 config file.
No exclude list for notebooks. Can only enable/disable notebooks for a whole repo.
Per repo toogle is in Jenkinsfile, forcing a commit if we want to enable/disable a repo later.
Ideally the toogle would be configurable and not hardcoded in the code.
No pluggable mechanism to add new repos without having to touch the code.
This means all the organizations deploying this test framework are running the exact same tests, without being able to customize their own list of notebooks to run.
Ideally the list of repos and which notebooks to run by default would be provided by an externally (not committed here) config file which would allow different organizations to customize their own run.
No support to test private notebooks repos.
Related issue: #49
Once we have a new generic and pluggable framework, we would start a new "Jupyter-notebooks-e2e-tests" repo with this framework.
Edit:
The text was updated successfully, but these errors were encountered: