Commit f49be602 authored by Mykola Zamkovyi (EPAM)'s avatar Mykola Zamkovyi (EPAM)
Browse files

wb movie to common pipeline

parent 9ccfcccf
Pipeline #34519 failed with stages
in 9 minutes and 35 seconds
......@@ -104,26 +104,26 @@ include:
# - docker build -t gcr.io/$OSDU_GCP_PROJECT/$OSDU_GCP_APPLICATION_NAME/$OSDU_GCP_APPLICATION_NAME-$OSDU_GCP_VENDOR:$CI_COMMIT_SHORT_SHA --rm . -f ./build/Dockerfile
# - gcloud docker -- push gcr.io/$OSDU_GCP_PROJECT/$OSDU_GCP_APPLICATION_NAME/$OSDU_GCP_APPLICATION_NAME-$OSDU_GCP_VENDOR:$CI_COMMIT_SHORT_SHA
osdu-gcp-test-python:
image: gcr.io/google.com/cloudsdktool/cloud-sdk
allow_failure: true
only:
variables:
- $OSDU_GCP == 'true' && $OSDU_GCP_INT_TEST_TYPE == 'python'
script:
- apt-get install -y python3-venv
- python3 -m venv env
- source env/bin/activate
- pip install --upgrade pip
- pip install wheel pytest pytest-cov
- pip install -r requirements.txt
- pip install -r requirements_dev.txt
- cd tests/integration
- echo $OSDU_GCP_INTEGRATION_TESTER | base64 -d > file.json
- gcloud auth activate-service-account --key-file file.json
- gcloud config set project $OSDU_GCP_PROJECT
- python gen_postman_env.py --token $(gcloud auth print-identity-token) --base_url $OSDU_GCP_WELLBORE_DDMS_URL --cloud_provider $OSDU_GCP_VENDOR --data_partition $OSDU_TENANT --acl_domain $DOMAIN --legal_tag $LEGAL_TAG
- pytest ./functional --environment="./generated/postman_environment.json" --filter-tag=basic
#osdu-gcp-test-python:
# image: gcr.io/google.com/cloudsdktool/cloud-sdk
# allow_failure: true
# only:
# variables:
# - $OSDU_GCP == 'true' && $OSDU_GCP_INT_TEST_TYPE == 'python'
# script:
# - apt-get install -y python3-venv
# - python3 -m venv env
# - source env/bin/activate
# - pip install --upgrade pip
# - pip install wheel pytest pytest-cov
# - pip install -r requirements.txt
# - pip install -r requirements_dev.txt
# - cd tests/integration
# - echo $OSDU_GCP_INTEGRATION_TESTER | base64 -d > file.json
# - gcloud auth activate-service-account --key-file file.json
# - gcloud config set project $OSDU_GCP_PROJECT
# - python gen_postman_env.py --token $(gcloud auth print-identity-token) --base_url $OSDU_GCP_WELLBORE_DDMS_URL --cloud_provider $OSDU_GCP_VENDOR --data_partition $OSDU_TENANT --acl_domain $DOMAIN --legal_tag $LEGAL_TAG
# - pytest ./functional --environment="./generated/postman_environment.json" --filter-tag=basic
#osdu-gcp-test:
# extends: []
......
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