Commit 127e39fb authored by Vivek Ojha's avatar Vivek Ojha
Browse files

Merge branch 'users/amaverma/updateSchemaDocM7' into 'release/0.10'

Updating the schema load doc in release 0.10

See merge request !492
parents 009d825d c8320469
Pipeline #67951 passed with stages
in 1 minute and 4 seconds
......@@ -11,7 +11,7 @@ UNIQUE="<your_osdu_unique>" # ie: demo
AZURE_DNS_NAME="<your_osdu_fqdn>" # ie: osdu-$UNIQUE.contoso.com
DATA_PARTITION="<your_partition>" # ie:opendes
ACR_REGISTRY="<repository>" # ie: msosdu.azurecr.io
TAG="<app_version>" # ie: 0.10.0
TAG="<app_version>" # ie: 0.12.0
# This logs your local Azure CLI in using the configured service principal.
az login --service-principal -u $ARM_CLIENT_ID -p $ARM_CLIENT_SECRET --tenant $ARM_TENANT_ID
......@@ -21,16 +21,17 @@ ENV_VAULT=$(az keyvault list --resource-group $GROUP --query [].name -otsv)
cat > .env << EOF
DATA_PARTITION=$DATA_PARTITION
AZURE_TENANT_ID=$ARM_TENANT_ID
AZURE_DNS_NAME=$AZURE_DNS_NAME
AZURE_TENANT_ID=$(az keyvault secret show --id https://${ENV_VAULT}.vault.azure.net/secrets/tenant-id --query value -otsv)
AZURE_AD_APP_RESOURCE_ID=$(az keyvault secret show --id https://${ENV_VAULT}.vault.azure.net/secrets/aad-client-id --query value -otsv)
AZURE_CLIENT_ID=$(az keyvault secret show --id https://${ENV_VAULT}.vault.azure.net/secrets/app-dev-sp-username --query value -otsv)
AZURE_CLIENT_SECRET=$(az keyvault secret show --id https://${ENV_VAULT}.vault.azure.net/secrets/app-dev-sp-password --query value -otsv)
EOF
# Execute container to load the schema's
docker run --env-file .env $ACR_REGISTRY/schema-load:$TAG
docker run --env-file .env $ACR_REGISTRY/schema-data-init:$TAG
```
## Policy Data Loading
Policy Service has standard shared policies that have to be loaded.
......
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