Commit eae8a8fb authored by Vladislav Shishko (EPAM)'s avatar Vladislav Shishko (EPAM) Committed by Oleksandr Kosse (EPAM)
Browse files

GONRG-1068 int-test-values(v2)

parent d6463b8c
......@@ -26,7 +26,7 @@
variables:
#services' urls
# placeholder(stub) for register service
OSDU_GCP_REGISTER_URL: https://os-register-dot-opendes.appspot.com/api/register/v1/
OSDU_GCP_REGISTER_URL: https://os-register-attcrcktoa-uc.a.run.app/
OSDU_GCP_ENTITLEMENTS_URL: https://os-entitlements-gcp-attcrcktoa-uc.a.run.app/entitlements/v1/
OSDU_GCP_AUTHORIZE_API: https://os-entitlements-gcp-attcrcktoa-uc.a.run.app/entitlements/v1/
OSDU_GCP_STORAGE_URL: https://os-storage-dot-nice-etching-277309.uc.r.appspot.com/api/storage/v2/
......@@ -40,6 +40,7 @@
OSDU_GCP_SEARCH_QUERY_URL: https://os-search-dot-nice-etching-277309.uc.r.appspot.com//api/search/v2/query/
OSDU_GCP_INDEXER_HOST: https://os-indexer-dot-nice-etching-277309.uc.r.appspot.com/
OSDU_GCP_FILE_URL: https://os-file-attcrcktoa-uc.a.run.app/
OSDU_GCP_NOTIFICATION_URL: https://os-notification-attcrcktoa-uc.a.run.app/
REDIS_GROUP_HOST: 10.234.198.27
REDIS_SEARCH_HOST: 10.99.138.107
REDIS_STORAGE_HOST: 10.16.59.203
......@@ -73,17 +74,26 @@
INTEGRATION_TEST_AUDIENCE: 689762842995-pv217jo3k8j803kk6gqf52qb5amos3a9.apps.googleusercontent.com
# variables for register tests, and deployment
SERVICE_IDENTITY: osdu-gcp-sa
RECORDS_CHANGE_PUBSUB_ENDPOINT: https://os-notification-attcrcktoa-uc.a.run.app/push-handlers/records-changed
RECORDS_CHANGE_PUBSUB_ENDPOINT: ${OSDU_GCP_NOTIFICATION_URL}push-handlers/records-changed
CRON_JOB_EXPECTED_IP: 0:0:0:0:0:0:0:1
SUBSCRIBER_PRIVATE_KEY_ID: ${OSDU_GCP_SUBSCRIBER_PRIVATE_KEY_ID}
SUBSCRIBER_SECRET: ${OSDU_GCP_SUBSCRIBER_SECRET}
SUBSCRIBER_PRIVATE_KEY_ID: $OSDU_GCP_SUBSCRIBER_PRIVATE_KEY_ID
SUBSCRIBER_SECRET: $OSDU_GCP_SUBSCRIBER_SECRET
DE_OPS_TESTER: $OSDU_GCP_R3_OPS_TESTER
DE_ADMIN_TESTER: $OSDU_GCP_R3_ADMIN_TESTER
DE_EDITOR_TESTER: $OSDU_GCP_R3_EDITOR_TESTER
DE_NO_ACCESS_TESTER: $OSDU_GCP_R3_NO_ACCESS_TESTER
REGISTER_BASE_URL: $OSDU_GCP_REGISTER_URL
CLIENT_TENANT: nonexistenttenant
OSDU_TENANT: $TENANT
SUBSCRIPTION_ID: $OSDU_GCP_REGISTER_SUBSCRIPTION_ID
REGISTER_CUSTOM_PUSH_URL: ${OSDU_GCP_REGISTER_URL}api/register/v1/test/challenge/1
osdu-gcp-containerize:
stage: containerize
needs: ["compile-and-unit-test"]
needs: [ "compile-and-unit-test" ]
extends: .osdu-gcp-variables
image: google/cloud-sdk
cache: {}
cache: { }
script:
- gcloud auth activate-service-account --key-file $OSDU_GCP_DEPLOY_FILE
- gcloud config set project $OSDU_GCP_PROJECT
......@@ -95,10 +105,10 @@ osdu-gcp-containerize:
osdu-gcp-deploy:
image: google/cloud-sdk
needs: ["osdu-gcp-containerize"]
needs: [ "osdu-gcp-containerize" ]
stage: deploy
extends: .osdu-gcp-variables
cache: {}
cache: { }
script:
- gcloud auth activate-service-account --key-file $OSDU_GCP_DEPLOY_FILE
- gcloud config set project $OSDU_GCP_PROJECT
......@@ -112,7 +122,7 @@ osdu-gcp-test:
extends:
- .osdu-gcp-variables
stage: integration
needs: ["osdu-gcp-deploy"]
needs: [ "osdu-gcp-deploy" ]
allow_failure: true
variables:
WORKFLOW_HOST: $OSDU_GCP_WORKFLOW_SERVICE_URL
......@@ -158,7 +168,7 @@ osdu-gcp-test-python:
MY_TENANT: osdu
stage: integration
image: python:3.7
needs: ["osdu-gcp-deploy"]
needs: [ "osdu-gcp-deploy" ]
allow_failure: false
script:
- cd testing/unit_test_gcp
......
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