Commit cb540b7f authored by Aliaksandr Lubouski (EPAM)'s avatar Aliaksandr Lubouski (EPAM) 🥑 Committed by Oleksandr Kosse (EPAM)
Browse files

GONRG-1083: ci-cd-pipelines for search service added...

GONRG-1083: ci-cd-pipelines for search service added OSDU_GCP_TESTING_DIR=testing variable to variables
parent 8be39b3f
......@@ -42,6 +42,7 @@
OSDU_GCP_SEARCH_HOST: https://os-search-attcrcktoa-uc.a.run.app/api/search/v2/
OSDU_GCP_SEARCH_QUERY_URL: https://os-search-attcrcktoa-uc.a.run.app/api/search/v2/query/
OSDU_GCP_INDEXER_HOST: https://os-indexer-dot-nice-etching-277309.uc.r.appspot.com/
OSDU_GCP_INDEXER_HOST_SEARCH: https://os-indexer-dot-nice-etching-277309.uc.r.appspot.com/api/indexer/v2/
OSDU_GCP_FILE_URL: https://os-file-attcrcktoa-uc.a.run.app/
OSDU_GCP_NOTIFICATION_URL: https://os-notification-attcrcktoa-uc.a.run.app/
OSDU_GCP_UNIT_HOSTNAME: os-unit-attcrcktoa-uc.a.run.app
......@@ -78,7 +79,7 @@
# variables for delivery tests
ENTITLEMENTS_DOMAIN: osdu-gcp.go3-nrg.projects.epam.com
TENANT: osdu
DEFAULT_DATA_PARTITION_ID_TENANT2: osdu
#DEFAULT_DATA_PARTITION_ID_TENANT2: osdu
INTEGRATION_TEST_AUDIENCE: 689762842995-pv217jo3k8j803kk6gqf52qb5amos3a9.apps.googleusercontent.com
# variables for register tests, and deployment
SERVICE_IDENTITY: osdu-gcp-sa
......@@ -102,6 +103,14 @@
MY_TENANT: osdu
ENABLE_FULL_BUCKET_NAME: "true"
SKIP_HTTP_TESTS: "true"
# variables for search tests
DATA_GROUP: osdu
ENTITLEMENTS_HOST: $OSDU_GCP_ENTITLEMENTS_URL
ELASTIC_PASSWORD: $OSDU_GCP_ELASTIC_PASSWORD
ELASTIC_USER_NAME: $OSDU_GCP_ELASTIC_USER
ELASTIC_HOST: $OSDU_GCP_ELASTIC_HOST
ELASTIC_PORT: $OSDU_GCP_ELASTIC_PORT
DATA_PARTITION_ID_TENANT1: osdu
osdu-gcp-containerize:
stage: containerize
......@@ -171,13 +180,15 @@ osdu-gcp-test:
NO_DATA_ACCESS_TESTER: $OSDU_GCP_NO_DATA_ACCESS_TESTER
SEARCH_INTEGRATION_TESTER: $OSDU_GCP_INTEGRATION_TESTER
HOST_URL: $OSDU_GCP_LEGAL_HOST_URL
INDEXER_HOST: $OSDU_GCP_INDEXER_HOST_SEARCH
OSDU_GCP_TESTING_DIR: testing
script:
- export GCP_DEPLOY_FILE=$(echo $OSDU_GCP_DEPLOY_FILE)
- >
mvn
--batch-mode
--settings=$CI_PROJECT_DIR/.mvn/community-maven.settings.xml
-f testing/pom.xml
-f $OSDU_GCP_TESTING_DIR/pom.xml
verify
--projects $OSDU_GCP_SERVICE-test-core,$OSDU_GCP_SERVICE-test-gcp
2>&1 | tee test-results.log
......
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