Commit e7d6c077 authored by Aliaksandr Ramanovich (EPAM)'s avatar Aliaksandr Ramanovich (EPAM)
Browse files

Add debug steps

parent b712b926
Pipeline #4557 passed with stage
in 7 seconds
......@@ -37,6 +37,9 @@ package_docker_image:
image: google/cloud-sdk
cache: {}
script:
- echo DEBUG
- grep -r file-gcp-datastore provider/$OSDU_SERVICE-$OSDU_VENDOR/target
- echo 'STOP DEBUG'
- gcloud auth activate-service-account --key-file $EPAM_GCP_DEPLOY_FILE # $OSDU_GCP_DEPLOY_FILE
- gcloud config set project $OSDU_PROJECT
- touch .gcloudignore
......@@ -50,6 +53,10 @@ deploy_osdu:
name: dev
url: https://$OSDU_APPLICATION_NAME-jvmvia5dea-uc.a.run.app
script:
- echo DEBUG
- echo "REGION=$OSDU_CLOUDRUN_REGION"
- echo "VARS=$OSDU_ENV_VARS"
-
- gcloud auth activate-service-account --key-file $EPAM_GCP_DEPLOY_FILE # $OSDU_GCP_DEPLOY_FILE
- gcloud config set project $OSDU_PROJECT
- gcloud beta run deploy $OSDU_APPLICATION_NAME --image gcr.io/$OSDU_PROJECT/$OSDU_APPLICATION_NAME/$OSDU_SERVICE-$OSDU_VENDOR:$CI_COMMIT_SHORT_SHA --platform managed --region $OSDU_CLOUDRUN_REGION --allow-unauthenticated --service-account $OSDU_SERVICE_ACCOUNT --memory 512M --set-env-vars=$OSDU_ENV_VARS
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