Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
CI-CD Pipelines
Commits
8a3601cb
Commit
8a3601cb
authored
Nov 26, 2020
by
Oleksii Tsyganov (EPAM)
Committed by
Oleksandr Kosse (EPAM)
Nov 26, 2020
Browse files
Added variables for schema integration tests
parent
bc9b6a83
Changes
1
Hide whitespace changes
Inline
Side-by-side
cloud-providers/osdu-gcp-cloudrun.yml
View file @
8a3601cb
...
...
@@ -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_UNIT_HOSTNAME
:
os-unit-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_SEARCH_HOST
:
10.99.138.107
REDIS_STORAGE_HOST
:
10.16.59.203
REDIS_SYNC_HOST
:
10.116.62.35
OSDU_GCP_REDIS_SEARCH_PORT
:
6379
OSDU_GCP_SPRING_PROFILES_ACTIVE
:
dev
OSDU_GCP_SPRING_PROFILES_ACTIVE
:
dev
# variables for unit deployment
OSDU_GCP_UNIT_CATALOG_BUCKET
:
nice-etching-277309-unit-catalog-bucket
# common variables
...
...
@@ -118,6 +119,12 @@
ELASTIC_HOST
:
$OSDU_GCP_ELASTIC_HOST
ELASTIC_PORT
:
$OSDU_GCP_ELASTIC_PORT
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
:
stage
:
containerize
...
...
@@ -144,14 +151,14 @@ osdu-gcp-deploy:
-
gcloud auth activate-service-account --key-file $OSDU_GCP_DEPLOY_FILE
-
gcloud config set project $OSDU_GCP_PROJECT
-
>
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
--platform managed
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
--platform managed
--region $OSDU_GCP_CLOUDRUN_REGION
--allow-unauthenticated
--service-account $OSDU_GCP_SERVICE_ACCOUNT
--memory 512M
$OSDU_GCP_CLOUD_RUN_PARAMETERS
--allow-unauthenticated
--service-account $OSDU_GCP_SERVICE_ACCOUNT
--memory 512M
$OSDU_GCP_CLOUD_RUN_PARAMETERS
--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
only
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment