Commit 8a3601cb authored by Oleksii Tsyganov (EPAM)'s avatar Oleksii Tsyganov (EPAM) Committed by Oleksandr Kosse (EPAM)
Browse files

Added variables for schema integration tests

parent bc9b6a83
...@@ -51,12 +51,13 @@ ...@@ -51,12 +51,13 @@
OSDU_GCP_INDEXER_QUEUE_HOST: https://indexer-queue-attcrcktoa-uc.a.run.app/api/indexer/v1/_dps/task-handlers/enqueue OSDU_GCP_INDEXER_QUEUE_HOST: https://indexer-queue-attcrcktoa-uc.a.run.app/api/indexer/v1/_dps/task-handlers/enqueue
OSDU_GCP_UNIT_HOSTNAME: os-unit-attcrcktoa-uc.a.run.app OSDU_GCP_UNIT_HOSTNAME: os-unit-attcrcktoa-uc.a.run.app
OSDU_GCP_CRS_CATALOG_HOSTNAME: os-crs-catalog-attcrcktoa-uc.a.run.app OSDU_GCP_CRS_CATALOG_HOSTNAME: os-crs-catalog-attcrcktoa-uc.a.run.app
OSDU_GCP_SCHEMA_URL: https://os-schema-attcrcktoa-uc.a.run.app
REDIS_GROUP_HOST: 10.234.198.27 REDIS_GROUP_HOST: 10.234.198.27
REDIS_SEARCH_HOST: 10.99.138.107 REDIS_SEARCH_HOST: 10.99.138.107
REDIS_STORAGE_HOST: 10.16.59.203 REDIS_STORAGE_HOST: 10.16.59.203
REDIS_SYNC_HOST: 10.116.62.35 REDIS_SYNC_HOST: 10.116.62.35
OSDU_GCP_REDIS_SEARCH_PORT: 6379 OSDU_GCP_REDIS_SEARCH_PORT: 6379
OSDU_GCP_SPRING_PROFILES_ACTIVE: dev OSDU_GCP_SPRING_PROFILES_ACTIVE: dev
# variables for unit deployment # variables for unit deployment
OSDU_GCP_UNIT_CATALOG_BUCKET: nice-etching-277309-unit-catalog-bucket OSDU_GCP_UNIT_CATALOG_BUCKET: nice-etching-277309-unit-catalog-bucket
# common variables # common variables
...@@ -118,6 +119,12 @@ ...@@ -118,6 +119,12 @@
ELASTIC_HOST: $OSDU_GCP_ELASTIC_HOST ELASTIC_HOST: $OSDU_GCP_ELASTIC_HOST
ELASTIC_PORT: $OSDU_GCP_ELASTIC_PORT ELASTIC_PORT: $OSDU_GCP_ELASTIC_PORT
DATA_PARTITION_ID_TENANT1: osdu DATA_PARTITION_ID_TENANT1: osdu
# variables for schema tests
VENDOR: $OSDU_GCP_VENDOR
HOST: $OSDU_GCP_SCHEMA_URL
PRIVATE_TENANT1: osdu
PRIVATE_TENANT2: osdu
SHARED_TENANT: osdu
osdu-gcp-containerize: osdu-gcp-containerize:
stage: containerize stage: containerize
...@@ -144,14 +151,14 @@ osdu-gcp-deploy: ...@@ -144,14 +151,14 @@ osdu-gcp-deploy:
- gcloud auth activate-service-account --key-file $OSDU_GCP_DEPLOY_FILE - gcloud auth activate-service-account --key-file $OSDU_GCP_DEPLOY_FILE
- gcloud config set project $OSDU_GCP_PROJECT - gcloud config set project $OSDU_GCP_PROJECT
- > - >
gcloud beta run deploy $OSDU_GCP_APPLICATION_NAME gcloud beta run deploy $OSDU_GCP_APPLICATION_NAME
--image gcr.io/$OSDU_GCP_PROJECT/$OSDU_GCP_APPLICATION_NAME/$OSDU_GCP_SERVICE-$OSDU_GCP_VENDOR:$CI_COMMIT_SHORT_SHA --image gcr.io/$OSDU_GCP_PROJECT/$OSDU_GCP_APPLICATION_NAME/$OSDU_GCP_SERVICE-$OSDU_GCP_VENDOR:$CI_COMMIT_SHORT_SHA
--platform managed --platform managed
--region $OSDU_GCP_CLOUDRUN_REGION --region $OSDU_GCP_CLOUDRUN_REGION
--allow-unauthenticated --allow-unauthenticated
--service-account $OSDU_GCP_SERVICE_ACCOUNT --service-account $OSDU_GCP_SERVICE_ACCOUNT
--memory 512M --memory 512M
$OSDU_GCP_CLOUD_RUN_PARAMETERS $OSDU_GCP_CLOUD_RUN_PARAMETERS
--set-env-vars=$OSDU_GCP_ENV_VARS --set-env-vars=$OSDU_GCP_ENV_VARS
- gcloud run services update-traffic $OSDU_GCP_APPLICATION_NAME --platform managed --region $OSDU_GCP_CLOUDRUN_REGION --to-latest - gcloud run services update-traffic $OSDU_GCP_APPLICATION_NAME --platform managed --region $OSDU_GCP_CLOUDRUN_REGION --to-latest
only: only:
......
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