Commit c7384071 authored by Anuj Gupta's avatar Anuj Gupta
Browse files

Merge branch 'cicd-ibm' into 'master'

refine INT tests

See merge request !193
parents d32a0671 75cd08d6
Pipeline #30127 passed with stage
in 13 seconds
...@@ -63,15 +63,20 @@ ibm-test: ...@@ -63,15 +63,20 @@ ibm-test:
extends: extends:
- .ibm_variables - .ibm_variables
script: script:
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- pip install --upgrade pip - pip install --upgrade pip
- pip install wheel pytest pytest-cov
- pip install -r requirements.txt
- pip install -r requirements_dev.txt - pip install -r requirements_dev.txt
- svctoken=$(python devops/scripts/ibm_jwt_client.py) - svctoken=$(python devops/scripts/ibm_jwt_client.py)
- cd $IBM_INT_TEST_PY_SUBDIR - cd tests/integration
- python ./gen_postman_env.py --token ${svctoken} --base_url ${SERVICE_HOST_WELLBORE} --cloud_provider ${CLOUD_PROVIDER} --acl_domain ${ACL_DOMAIN} --legal_tag ${LEGAL_TAG} --data_partition ${DATA_PARTITION_ID} - python ./gen_postman_env.py --token ${svctoken} --base_url ${SERVICE_HOST_WELLBORE} --cloud_provider ${CLOUD_PROVIDER} --acl_domain ${ACL_DOMAIN} --legal_tag ${LEGAL_TAG} --data_partition ${DATA_PARTITION_ID}
- pytest ./functional --environment="./generated/postman_environment.json" --insecure --timeout-request=15000 --filter-tag=crud - pytest ./functional --environment="./generated/postman_environment.json" --insecure --timeout-request=15000 --filter-tag=basic
only: only:
variables: variables:
- $IBM_INT_TEST_PY_SUBDIR && $IBM == 'true' - $IBM == 'true'
except: except:
variables: variables:
- $IBM_SKIP_TEST == 'true' - $IBM_SKIP_TEST == 'true'
\ No newline at end of file
Supports Markdown
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