Commit 9c0422ab authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

Merge branch 'Add-OSDU_SA-variable' into 'master'

Added DATA_PROJECT_CEREDENTIALS variable

See merge request !204
parents 9edb7d10 7a19008d
Pipeline #34604 passed with stages
in 21 seconds
...@@ -50,6 +50,7 @@ osdu-gcp-deploy: ...@@ -50,6 +50,7 @@ osdu-gcp-deploy:
$OSDU_GCP_ENV_HELM_EXTRA_VARS $OSDU_GCP_ENV_HELM_EXTRA_VARS
--set image.repository=gcr.io/$OSDU_GCP_PROJECT/$OSDU_GCP_APPLICATION_NAME/$OSDU_GCP_APPLICATION_NAME-$OSDU_GCP_VENDOR --set image.repository=gcr.io/$OSDU_GCP_PROJECT/$OSDU_GCP_APPLICATION_NAME/$OSDU_GCP_APPLICATION_NAME-$OSDU_GCP_VENDOR
--set image.tag=$CI_COMMIT_SHORT_SHA --set image.tag=$CI_COMMIT_SHORT_SHA
--set secret.gcpSA=$OSDU_GCP_DATA_PROJECT_CREDENTIALS
- kubectl rollout status deployment.v1.apps/$OSDU_GCP_PROJECT -n $OSDU_GCP_APPLICATION_NAME --timeout=900s - kubectl rollout status deployment.v1.apps/$OSDU_GCP_PROJECT -n $OSDU_GCP_APPLICATION_NAME --timeout=900s
- pod=$(kubectl get pod -n $OSDU_GCP_APPLICATION_NAME | grep $OSDU_GCP_PROJECT | tail -1 | awk '{print $1}') - pod=$(kubectl get pod -n $OSDU_GCP_APPLICATION_NAME | grep $OSDU_GCP_PROJECT | tail -1 | awk '{print $1}')
- status=$(kubectl wait -n $OSDU_GCP_APPLICATION_NAME --for=condition=Ready pod/$pod --timeout=300s) - status=$(kubectl wait -n $OSDU_GCP_APPLICATION_NAME --for=condition=Ready pod/$pod --timeout=300s)
......
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