This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name":"AKS Cluster Configuration Reader", | |
"Id":"{{ create a unique guid }}", | |
"IsCustom":true, | |
"Description":"Can get AKS configuration.", | |
"Actions":[ | |
"Microsoft.ContainerService/managedClusters/accessProfiles/listCredential/action", | |
"Microsoft.ContainerService/managedClusters/listClusterUserCredential/action" | |
], | |
"NotActions":[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
- repo: self | |
queue: | |
name: Hosted Ubuntu 1604 | |
steps: | |
- task: AzureResourceGroupDeployment@2 | |
displayName: 'Azure Deployment:Create Or Update Resource Group action on My-Resource-Group-XXX-XXX' | |
inputs: | |
azureSubscription: DemoSPNConnection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
- repo: self | |
queue: | |
name: Hosted Ubuntu 1604 | |
steps: | |
- task: DotNetCoreCLI@2 | |
displayName: Restore | |
inputs: | |
command: restore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/dotnet:2.2.100-sdk AS build-env | |
WORKDIR /app | |
# Credit: https://stackoverflow.com/questions/53419491/azure-artifacts-gives-unauthorized-when-trying-to-build-dockerfile/53510966#53510966 | |
# Personal access token to access Artifacts feed | |
ARG ACCESS_TOKEN | |
ARG ARTIFACTS_ENDPOINT | |
# Install the Credential Provider to configure the access | |
RUN wget -qO- https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh | bash |