Skip to content

Commit

Permalink
Installed Jupyter notebooks via ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Nov 15, 2023
1 parent 149228e commit aaa6a54
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 12 deletions.
23 changes: 12 additions & 11 deletions doc/changes/changes_0.1.0.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions test/integration/test_create_dss_docker_image.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import docker
import pytest
import re
import requests
import tenacity
import time
Expand All @@ -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
Expand Down Expand Up @@ -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)

0 comments on commit aaa6a54

Please sign in to comment.