Commit e251ffce authored by Vladimir Moiseev's avatar Vladimir Moiseev
Browse files

added integration tests(draft)

parent 15fdfaca
Pipeline #67491 failed with stages
in 10 minutes and 56 seconds
......@@ -99,9 +99,8 @@ filemetadata_azure_test:
- apt-get install -y python
- apt-get install -y python-pip
- pip install pytest requests msal
- echo $CI_PROJECT_DIR
- ls $CI_PROJECT_DIR
- svctoken=$(python ../../../../../devops/scripts/azure_jwt_client.py)
- svctoken=$(python ${CI_PROJECT_DIR}/devops/scripts/azure_jwt_client.py)
- echo $svctoken
# - ./tests/e2e/run_e2e_tests.sh --seistore-svc-url="https://${AZURE_DNS_NAME}/seistore-svc/api/v3" --seistore-svc-api-key="NA" --user-idtoken="$svctoken" --user1-idtoken="$svctoken" --tenant="${E2E_TENANT}" --subproject="${E2E_SUBPROJECT}" --admin-email="${E2E_ADMIN_EMAIL}" --datapartition="${E2E_DATA_PARTITION}" --legaltag01="${E2E_LEGALTAG01}" --legaltag02="${E2E_LEGALTAG02}" --subproject-long-name="${E2E_SUBPROJECT_LONG_NAME}" --VCS-Provider="${ISGITLAB}"
# - pytest tests/
......
......@@ -110,7 +110,7 @@ sdms_azure_test:
- apt-get install -y python
- apt-get install -y python-pip
- pip install msal
- svctoken=$(python ../../../devops/scripts/azure_jwt_client.py)
- svctoken=$(python ${CI_PROJECT_DIR}/devops/scripts/azure_jwt_client.py)
- echo $svctoken
- npm install -g newman
- chmod +x ./tests/e2e/run_e2e_tests.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment