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

wb movie to common pipeline

parent 5c6430a0
Pipeline #35349 passed with stages
in 20 minutes and 40 seconds
......@@ -17,18 +17,19 @@
# OSDU Infrastructure variables
OSDU_GCP_PROJECT_NAME: osdu-service-prod
OSDU_GCP_ZONE: us-central1-c
OSDU_GCP_TENANT: odesprod
OSDU_GCP_CLUSTER: osdu-service-prod-gke-wellbore
OSDU_GCP_LEGAL_TAG: odesprod-demo-legaltag
OSDU_GCP_PROJECT_SA: $OSDU_GCP_SA_PROD
# 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_APPLICATION_HEALTH_URL: https://wellbore-ddms-preship.osdu-gcp.go3-nrg.projects.epam.com/api/os-wellbore-ddms/healthz
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_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_DEPLOYMENT_DIR: devops/gcp/osdu-helm
#OSDU_GCP_HELM_DEPLOYMENT_DIR: devops/gcp
OSDU_GCP_HELM_CHART: wellbore
.osdu-gcp-variables-community:
......@@ -193,6 +194,8 @@ osdu-gcp-test-python:
- echo $OSDU_GCP_INTEGRATION_TESTER_PROD | base64 -d > file.json
- gcloud auth activate-service-account --key-file file.json
- gcloud config set project $OSDU_GCP_PROJECT_NAME
- gcloud container clusters get-credentials $OSDU_GCP_CLUSTER --zone $OSDU_GCP_ZONE --project $OSDU_GCP_PROJECT_NAME
- $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'}'`
- 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
......
kind: Secret
apiVersion: v1
metadata:
name: {{ .Values.secret.name }}
namespace: {{ .Values.namespace }}
type: Opaque
data:
{{ .Values.secret.key | quote }}: {{ .Values.secret.gcpSA | quote }}
#kind: Secret
#apiVersion: v1
#metadata:
# name: {{ .Values.secret.name }}
# namespace: {{ .Values.namespace }}
#type: Opaque
#data:
# {{ .Values.secret.key | quote }}: {{ .Values.secret.gcpSA | quote }}
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