Commit cc1bb10e authored by Mikhail Piatliou (EPAM)'s avatar Mikhail Piatliou (EPAM)
Browse files

GONRG-989: Generalize vars

parent f00e16ee
Pipeline #14589 passed with stage
in 8 seconds
......@@ -124,22 +124,19 @@ osdu-gcp-test:
SEARCH_HOST: $OSDU_GCP_SEARCH_HOST
STORAGE_HOST: $OSDU_GCP_STORAGE_URL
HOST_URL: $OSDU_GCP_LEGAL_HOST_URL
INTEGRATION_TESTER: $OSDU_GCP_INTEGRATION_TESTER
NO_DATA_ACCESS_TESTER: $OSDU_GCP_NO_DATA_ACCESS_TESTER
script:
# OSDU_GCP_R3_INTEGRATION_TESTER in JSON format --> should be fixed to use BASE64 format
# - export INTEGRATION_TESTER=$(echo $OSDU_GCP_R3_INTEGRATION_TESTER)
# OSDU_GCP_INTEGRATION_TESTER in BASE64 format
- export INTEGRATION_TESTER=$(echo $OSDU_GCP_INTEGRATION_TESTER)
- export NO_DATA_ACCESS_TESTER=$(echo $OSDU_GCP_R3_NO_DATA_ACCESS_TESTER)
- export GCP_DEPLOY_FILE=$(echo $OSDU_GCP_DEPLOY_FILE)
- export SEARCH_INTEGRATION_TESTER=$(echo $OSDU_GCP_R3_INTEGRATION_TESTER)
- >
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
2>&1 | tee test-results.log
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
2>&1 | tee test-results.log
only:
variables:
- $OSDU_GCP == 'true' && $OSDU_GCP_INT_TEST_TYPE != 'python'
......
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