diff --git a/.github/workflows/notebook_tests.yaml b/.github/workflows/notebook_tests.yaml index c94357a3..a374dcc4 100644 --- a/.github/workflows/notebook_tests.yaml +++ b/.github/workflows/notebook_tests.yaml @@ -44,3 +44,4 @@ jobs: NBTEST_AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} NBTEST_AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }} NBTEST_AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} + PROJECT_SHORT_TAG: XAIL-NB diff --git a/doc/changes/changes_3.2.0.md b/doc/changes/changes_3.2.0.md index 1995335f..c860301d 100644 --- a/doc/changes/changes_3.2.0.md +++ b/doc/changes/changes_3.2.0.md @@ -4,6 +4,9 @@ Code name: ## Summary +## Refactorings + +* #333: Added project short tag in notebook tests ## Bug Fixes diff --git a/doc/developer_guide/updating_packages.md b/doc/developer_guide/updating_packages.md index 76f4fb28..dd5f77df 100644 --- a/doc/developer_guide/updating_packages.md +++ b/doc/developer_guide/updating_packages.md @@ -10,7 +10,7 @@ If the update is very new and not yet displayed on packages.ubuntu.com you can u ```shell apt-get update -apt-search +apt search ``` Maybe installing the command [chdist](https://manpages.ubuntu.com/manpages/xenial/en/man1/chdist.1.html) could also be helpful, as it allows searching for packages and updates in other versions and distributions of ubuntu than the one installed on your local system. diff --git a/test/notebook_test_runner/test_notebooks_in_dss_docker_image.py b/test/notebook_test_runner/test_notebooks_in_dss_docker_image.py index 7c4bd1d0..68ffa7c9 100644 --- a/test/notebook_test_runner/test_notebooks_in_dss_docker_image.py +++ b/test/notebook_test_runner/test_notebooks_in_dss_docker_image.py @@ -90,7 +90,9 @@ def test_notebook(notebook_test_container_with_log, notebook_test_file, notebook environ = os.environ.copy() environ["NBTEST_ACTIVE"] = "TRUE" nbtest_environ = {key: value for key, value in environ.items() if ( - key.startswith("NBTEST_") or key.startswith("SAAS_"))} + key.startswith("NBTEST_") + or key.startswith("SAAS_") + or key == "PROJECT_SHORT_TAG")} exec_command( command_run_test, container,