diff --git a/doc/changes/changes_0.1.0.md b/doc/changes/changes_0.1.0.md index 96abbb76..a87d81b7 100644 --- a/doc/changes/changes_0.1.0.md +++ b/doc/changes/changes_0.1.0.md @@ -1,4 +1,4 @@ -# data-science-sandbox 0.1.0, released 2023-11-02 +# data-science-sandbox 0.1.0, released t.b.d. Code name: Initial release @@ -12,19 +12,20 @@ Version: 0.1.0 ## Features - - #11: Created a notebook to show training with scikit-learn in the notebook - - #15: Installed exasol-notebook-connector via ansible - - #30: Added script to build the Data Science Sandbox as Docker Image - - #33: Added a notebook to securely manage sandbox configuration - - #30: Used the Secret Store in the Learning-in-the-notebook tutorial - - #41: Refactored the Transformer Extension notebook - made it use the Secret Store - - #53: Moved Jupyter notebooks to folder visible to ansible +* #11: Created a notebook to show training with scikit-learn in the notebook +* #15: Installed exasol-notebook-connector via ansible +* #30: Added script to build the Data Science Sandbox as Docker Image +* #33: Added a notebook to securely manage sandbox configuration +* #30: Used the Secret Store in the Learning-in-the-notebook tutorial +* #41: Refactored the Transformer Extension notebook - made it use the Secret Store +* #53: Moved Jupyter notebooks to folder visible to ansible +* #16: Installed Jupyter notebooks via ansible ## Bug Fixes - - #1: Fixed CI build +* #1: Fixed CI build ## Refactoring - - #5: Renamed all occurrences of "script language developer" by "data science" - - #56: Moved jupyter notebook files again +* #5: Renamed all occurrences of "script language developer" by "data science" +* #56: Moved jupyter notebook files again diff --git a/exasol/ds/sandbox/runtime/ansible/roles/docker/defaults/main.yml b/exasol/ds/sandbox/runtime/ansible/roles/docker/defaults/main.yml index 3557f659..0386a05c 100644 --- a/exasol/ds/sandbox/runtime/ansible/roles/docker/defaults/main.yml +++ b/exasol/ds/sandbox/runtime/ansible/roles/docker/defaults/main.yml @@ -1,6 +1,6 @@ --- apt_dependencies: - - apt-transport-https=2.0.9 + - apt-transport-https=2.0.10 - ca-certificates=20230311ubuntu0.20.04.1 - software-properties-common=0.99.9.12 diff --git a/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/bash_runner.py b/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/slc/bash_runner.py similarity index 100% rename from exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/bash_runner.py rename to exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/slc/bash_runner.py diff --git a/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/script-languages.ipynb b/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/slc/script-languages.ipynb similarity index 100% rename from exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/script-languages.ipynb rename to exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/slc/script-languages.ipynb diff --git a/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/slc_main_build_steps.svg b/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/slc/slc_main_build_steps.svg similarity index 100% rename from exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/slc_main_build_steps.svg rename to exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/slc/slc_main_build_steps.svg diff --git a/test/integration/test_create_dss_docker_image.py b/test/integration/test_create_dss_docker_image.py index f41f4d24..db185464 100644 --- a/test/integration/test_create_dss_docker_image.py +++ b/test/integration/test_create_dss_docker_image.py @@ -1,5 +1,6 @@ import docker import pytest +import re import requests import tenacity import time @@ -8,6 +9,7 @@ from tenacity.retry import retry_if_exception_type from tenacity.wait import wait_fixed from tenacity.stop import stop_after_delay +from typing import Set from datetime import datetime, timedelta from exasol.ds.sandbox.lib.dss_docker import DssDockerImage from exasol.ds.sandbox.lib.logging import set_log_level @@ -89,3 +91,20 @@ def test_install_notebook_connector(dss_docker_container): output = output.decode('utf-8').strip() assert exit_code == 0, f'Got output "{output}".' + +def test_install_notebooks(dss_docker_container): + def filename_set(string: str) -> Set[str]: + return set(re.split(r'\s+', string.strip())) + + exit_code, output = dss_docker_container.exec_run("ls -p /root/notebooks") + output = output.decode('utf-8').strip() + assert exit_code == 0, f'Got output "{output}".' + + actual = filename_set(output) + expected = filename_set(""" + access_store_ui.ipynb + sklearn/ + cloud/ + sagemaker/ + """) + assert actual.issuperset(expected)