Commit 95a97869 authored by Nicholas Karsky's avatar Nicholas Karsky
Browse files

Merge branch 'azure_catalog' into 'master'

Azure catalog

See merge request !119
parents a9326c67 1ffbec3f
Pipeline #19761 passed with stages
in 23 seconds
......@@ -184,6 +184,14 @@ azure_deploy:
- cd devops/azure
- echo "--set image.branch=$BRANCH --set image.tag=$TAG"
#Update Catalog
- |
if [ ../../data/*_catalog_*.json ]; then
accountKey=$(kubectl get secret airflow -n osdu -o jsonpath='{.data.azurestorageaccountkey}' | base64 -d)
accountName=$(kubectl get secret airflow -n osdu -o jsonpath='{.data.azurestorageaccountname}' | base64 -d)
az storage file upload --account-name $accountName --account-key $accountKey --share-name $SHARE_NAME --source ../../data/*_catalog_*.json
# Install Service
- helm upgrade -i osdu-gitlab-$CI_PROJECT_NAME chart --set image.repository=${AZURE_REGISTRY} --set image.branch=$BRANCH --set image.tag=$TAG
# Increasing to 900s as rolling updates are happening and each service is expected to have minimum 2 containers.
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