Skip to content

Commit

Permalink
[ci] export env with secret + debug env dump
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgorana committed Feb 1, 2024
1 parent 608bf6e commit d7b8f72
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-tests-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d7b8f72

Please sign in to comment.