Commit 9861e9be authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

STUB for osdu gcp cloudrun integration tests - GONRG-718

parent 01de9dfe
Pipeline #7669 passed with stage
in 6 seconds
......@@ -28,13 +28,13 @@
OSDU_GCP_STORAGE_URL: https://os-storage-dot-nice-etching-277309.uc.r.appspot.com/api/storage/v2/
OSDU_GCP_AUTHORIZE_API: https://os-entitlements-gcp-attcrcktoa-uc.a.run.app/entitlements/v1/
OSDU_GCP_ENTITLEMENTS_URL: https://os-entitlements-gcp-attcrcktoa-uc.a.run.app/entitlements/v1/
OSDU_GCP_LEGAL_HOST_URL: https://os-legal-dot-nice-etching-277309.uc.r.appspot.com/api/legal/v1/
OSDU_GCP_LEGAL_HOST_URL: https://os-legal-dot-nice-etching-277309.uc.r.appspot.com/api/legal/v1/
OSDU_GCP_AIRFLOW_URL: https://c410714dc037b0e02p-tp.appspot.com
OSDU_GCP_DELIVERY_SERVICE_URL: https://os-file-attcrcktoa-uc.a.run.app
# env parameters
OSDU_GCP_INTEGRATION_TEST_AUDIENCE: 689762842995-pv217jo3k8j803kk6gqf52qb5amos3a9.apps.googleusercontent.com
OSDU_GCP_DEPLOY_ENV: dev
OSDU_GCP_DOMAIN: osdu-gcp.go3-nrg.projects.epam.com
OSDU_GCP_DOMAIN: osdu-gcp.go3-nrg.projects.epam.com
OSDU_GCP_TENANT_NAME: osdu
OSDU_GCP_MY_TENANT_PROJECT: osdu
OSDU_GCP_MY_TENANT: osdu
......@@ -42,15 +42,14 @@
OSDU_GCP_PROJECT: nice-etching-277309
OSDU_GCP_VPC_CONNECTOR: osdu-connector
osdu-gcp-containerize:
stage: containerize
needs: ['compile-and-unit-test']
needs: ["compile-and-unit-test"]
extends: .osdu-gcp-variables
image: google/cloud-sdk
cache: {}
script:
- 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
- touch .gcloudignore
- gcloud builds submit --config provider/$OSDU_GCP_SERVICE-$OSDU_GCP_VENDOR/cloudbuild/cloudbuild.yaml --substitutions=_PROVIDER_NAME=$OSDU_GCP_VENDOR,_SHORT_SHA=$CI_COMMIT_SHORT_SHA,_PORT=$OSDU_GCP_PORT
......@@ -58,10 +57,9 @@ osdu-gcp-containerize:
variables:
- $OSDU_GCP == 'true'
osdu-gcp-deploy:
image: google/cloud-sdk
needs: ['osdu-gcp-containerize']
needs: ["osdu-gcp-containerize"]
stage: deploy
extends: .osdu-gcp-variables
cache: {}
......@@ -72,3 +70,11 @@ osdu-gcp-deploy:
only:
variables:
- $OSDU_GCP == 'true'
osdu-gcp-test:
extends:
- .osdu-gcp-variables
stage: integration
needs: ["osdu-gcp-deploy"]
script:
- echo "This is a stub. Integration tests are not implemented for the R3 services."
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