Commit c894d5fc authored by Mikhail Piatliou (EPAM)'s avatar Mikhail Piatliou (EPAM) Committed by Oleksandr Kosse (EPAM)
Browse files

Add OSDU_GCP_INT_TEST_TYPE var to run python and java int tests separately (GONRG-896)

parent c1a05e60
......@@ -127,4 +127,24 @@ osdu-gcp-test:
- mvn --batch-mode --settings=$CI_PROJECT_DIR/.mvn/community-maven.settings.xml -f testing/pom.xml verify --projects $OSDU_GCP_SERVICE-test-core,$OSDU_GCP_SERVICE-test-gcp
only:
variables:
- $OSDU_GCP == 'true'
- $OSDU_GCP == 'true' && $OSDU_GCP_INT_TEST_TYPE != 'python'
osdu-gcp-test-python:
extends:
- .osdu-gcp-variables
variables:
INTEGRATION_TESTER: $OSDU_GCP_INTEGRATION_TESTER
BASE_URL: /api/unit
VIRTUAL_SERVICE_HOST_NAME: os-unit-attcrcktoa-uc.a.run.app
MY_TENANT: osdu
stage: integration
image: python:3.7
needs: ["osdu-gcp-deploy"]
allow_failure: false
script:
- cd testing/unit_test_gcp
- chmod +x ./run-integration-tests.sh
- ./run-integration-tests.sh
only:
variables:
- $OSDU_GCP == 'true' && $OSDU_GCP_INT_TEST_TYPE == 'python'
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