Commit e207c68b authored by Mykola Zamkovyi (EPAM)'s avatar Mykola Zamkovyi (EPAM)
Browse files

wb movie to common pipeline

parent 70de25cd
Pipeline #35596 passed with stages
in 9 minutes and 31 seconds
......@@ -12,27 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#.osdu-gcp-variables-preprod:
# variables:
# # OSDU Infrastructure variables
# OSDU_GCP_PROJECT_NAME: osdu-service-prod
# OSDU_GCP_ZONE: us-central1-c
# OSDU_GCP_CLUSTER: osdu-service-prod-gke-wellbore
# OSDU_GCP_PROJECT_SA: $OSDU_GCP_SA_PROD
# OSDU_GCP_HELM_DEPLOYMENT_DIR: devops/gcp/osdu-helm
# # OSDU Service & Int test variables
# OSDU_GCP_WELLBORE_DDMS_URL: https://wellbore-ddms-preship.osdu-gcp.go3-nrg.projects.epam.com/api/os-wellbore-ddms
# OSDU_GCP_TENANT: odesprod
# OSDU_GCP_LEGAL_TAG: odesprod-demo-legaltag
# #OSDU_GCP_ENV_HELM_EXTRA_VARS: --set secret.gcpSA=$osdu_gcp_sa_encode --set namespace=$OSDU_GCP_APPLICATION_NAME --set configMap.data.projectId=$OSDU_GCP_PROJECT_NAME --set configMap.data.searchEndpoint="https://search-drgfbg5txq-uc.a.run.app/api/search" --set configMap.data.storageEndpoint="https://storage-drgfbg5txq-uc.a.run.app/api/storage" --set image.repository=gcr.io/osdu-service-prod/wellbore-ddms/wellbore-ddms-gcp --set image.tag=latest
# #OSDU_GCP_ENV_HELM_EXTRA_VARS: --set secret.gcpSA=$osdu_gcp_sa_encode --set namespace=$OSDU_GCP_APPLICATION_NAME --set configMap.data.projectId=$OSDU_GCP_PROJECT_NAME --set configMap.data.searchEndpoint="https://search-drgfbg5txq-uc.a.run.app/api/search" --set configMap.data.storageEndpoint="https://storage-drgfbg5txq-uc.a.run.app/api/storage" #--set image.repository=$CI_REGISTRY_IMAGE --set image.tag=gcp-
# OSDU_GCP_APPLICATION_NAME: wellbore-ddms
# OSDU_GCP_HELM_DEPLOYMENT_DIR: devops/gcp/osdu-helm
# #OSDU_GCP_HELM_DEPLOYMENT_DIR: devops/gcp
# OSDU_GCP_HELM_CHART: wellbore
variables:
PIP_REQUIREMENTS: "requirements.txt requirements_dev.txt"
......@@ -72,7 +51,6 @@ include:
# - project: 'osdu/platform/ci-cd-pipelines'
# file: 'cloud-providers/aws.yml'
# --------------------------------------------------------------------------------
containerize:
extends: .skipForTriggeringMergeRequests
stage: containerize
......@@ -196,6 +174,9 @@ osdu-gcp-test-python:
- OSDU_GCP_WELLBORE_DDMS_URL=http://`kubectl get ingress -n wellbore-ddms -o jsonpath='{..ingress[*].'ip'}'``kubectl get configmap wellbore -n wellbore-ddms -o jsonpath='{.data.'API_URL'}'`
- OSDU_GCP_TENANT=`kubectl get configmap wellbore -n wellbore-ddms -o jsonpath='{.data.'TENANT'}'`
- OSDU_GCP_LEGAL_TAG=`kubectl get configmap wellbore -n wellbore-ddms -o jsonpath='{.data.'LEGAL_TAG'}'`
- echo $OSDU_GCP_WELLBORE_DDMS_URL
- echo $OSDU_GCP_TENANT
- echo $OSDU_GCP_LEGAL_TAG
- python gen_postman_env.py --token $(gcloud auth print-identity-token) --base_url $OSDU_GCP_WELLBORE_DDMS_URL --cloud_provider $OSDU_GCP_VENDOR --data_partition $OSDU_GCP_TENANT --acl_domain $DOMAIN --legal_tag $OSDU_GCP_LEGAL_TAG
- pytest ./functional --environment="./generated/postman_environment.json" --filter-tag=basic
......
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