I have a springboot webapp that i want to deploy to Azure. The app is springboot jar. I have been able to use azurewebapp
plug in to achieve this but it is using OAUTH2
which limits integrating this deployment method into our CD (bitbucket).
So the more generic question would be how can i deploy my springboot app via bitbucket deployment pipeline?
I looked at sample yaml file from bitbucket and it looks like that it needs these variables
AZURE_APP_ID: $AZURE_APP_ID
AZURE_PASSWORD: $AZURE_PASSWORD
AZURE_TENANT_ID: $AZURE_TENANT_ID
AZURE_RESOURCE_GROUP: $AZURE_RESOURCE_GROUP
AZURE_APP_NAME: $AZURE_APP_NAME
ZIP_FILE: app-$BITBUCKET_BUILD_NUMBER.zip
So where would i get these values from
- Azure App ID: I am assuming this is from Azure app service? But i don't see any app-id on my currently deployed app.
- Azure Password: is this password for my (admin) account?
- Azure Tenant ID: Whats this? where to get it from?
Also, is this correct approach or should i be using some other method? Azure pipeline?