diff --git a/.github/workflows/pr-tests-stack.yml b/.github/workflows/pr-tests-stack.yml index 2ed61ccedab..7d90d561186 100644 --- a/.github/workflows/pr-tests-stack.yml +++ b/.github/workflows/pr-tests-stack.yml @@ -438,11 +438,11 @@ jobs: timeout-minutes: 60 env: ORCHESTRA_DEPLOYMENT_TYPE: "container_stack" - AZURE_BLOB_STORAGE_KEY: "Testing" TEST_NOTEBOOK_PATHS: "${{ matrix.notebook-paths }}" PYTEST_MODULES: "${{ matrix.pytest-modules }}" shell: bash run: | + export AZURE_BLOB_STORAGE_KEY="${{ secrets.AZURE_BLOB_STORAGE_KEY }}" tox -e stack.test.notebook #Run log collector python script diff --git a/.github/workflows/pr-tests-syft.yml b/.github/workflows/pr-tests-syft.yml index 0852db9269b..346e8e5e48e 100644 --- a/.github/workflows/pr-tests-syft.yml +++ b/.github/workflows/pr-tests-syft.yml @@ -295,6 +295,7 @@ jobs: DEV_MODE: "True" # force orchestra --build TEST_NOTEBOOK_PATHS: "${{ matrix.notebook-paths }}" run: | + export AZURE_BLOB_STORAGE_KEY="${{ secrets.AZURE_BLOB_STORAGE_KEY }}" tox -e stack.test.notebook pr-tests-syft-security: diff --git a/tox.ini b/tox.ini index 02341e2f8c7..e31ac92bc90 100644 --- a/tox.ini +++ b/tox.ini @@ -510,14 +510,15 @@ deps = changedir = {toxinidir}/notebooks allowlist_externals = bash +passenv=HOME, USER, AZURE_BLOB_STORAGE_KEY setenv = ORCHESTRA_DEPLOYMENT_TYPE = {env:ORCHESTRA_DEPLOYMENT_TYPE:single_container} DEV_MODE = {env:DEV_MODE:True} TEST_NOTEBOOK_PATHS = {env:TEST_NOTEBOOK_PATHS:api/0.8} - AZURE_BLOB_STORAGE_KEY = {env:AZURE_BLOB_STORAGE_KEY:invalid_key} ENABLE_SIGNUP = True commands = - bash -c "echo $AZURE_BLOB_STORAGE_KEY" + bash -c "env" + # Volume cleanup bash -c 'hagrid land all --force || true' bash -c "docker volume rm test-domain-1_mongo-data --force || true"