Skip to content

Commit

Permalink
Configure Azure Developer Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
marlenezw committed Aug 1, 2024
1 parent 3778944 commit 6499545
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/evaluate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,27 +72,6 @@ jobs:
env:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure login
uses: azure/login@v2
with:
client-id: ${{ env.AZURE_CLIENT_ID }}
tenant-id: ${{ env.AZURE_TENANT_ID }}
subscription-id: ${{ env.AZURE_SUBSCRIPTION_ID }}

- name: Set az account
uses: azure/CLI@v2
with:
inlineScript: |
az account set --subscription ${{env.AZURE_SUBSCRIPTION_ID}}
echo $(az ad sp list --display-name myServicePrincipalName --query "[].{spID:appId}" --output tsv)
az role assignment create \
--role "5e0bd9bd-7b93-4f28-af87-19fc36ad61bd" \
--assignee-object-id "$(az ad sp list --display-name myServicePrincipalName --query "[].{spID:appId}" --output tsv)" \
--scope /subscriptions/${{env.AZURE_SUBSCRIPTION_ID}}/resourceGroups/${{env.AZURE_RESOURCE_GROUP}}\
--assignee-principal-type User
- name: evaluate orchestrator
working-directory: ./src/api
run: |
Expand Down

0 comments on commit 6499545

Please sign in to comment.