This file contains hidden or 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
| variables: | |
| - group: Artifacts | |
| steps: | |
| - task: Docker@1 | |
| displayName: 'Build an image' | |
| inputs: | |
| command: Build an image | |
| azureSubscription: Devops | |
| azureContainerRegistry: '{"loginServer":"xxx.azurecr.io", "id" : "/subscriptions/xxx/resourceGroups/xxx-DEV/providers/Microsoft.ContainerRegistry/registries/xxx"}' | |
| dockerFile: src/Services/MyApi/Dockerfile |
This file contains hidden or 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
| <?xml version='1.0' encoding='utf-8'?> | |
| <configuration> | |
| <packageSources> | |
| <add key='XXX' value='$ARTIFACTS_ENDPOINT' /> | |
| </packageSources> | |
| <packageSourceCredentials> | |
| <XXX> | |
| <add key='Username' value='$USER' /> | |
| <add key='ClearTextPassword' value='$ACCESS_TOKEN' /> | |
| </XXX> |
This file contains hidden or 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 mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS base | |
| WORKDIR /app | |
| EXPOSE 80 | |
| EXPOSE 443 | |
| FROM microsoft/dotnet:2.2-sdk AS build | |
| ARG ARTIFACTS_ENDPOINT | |
| ARG ACCESS_TOKEN | |
| ARG USER | |
| WORKDIR /src |
This file contains hidden or 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
| error : Response status code does not indicate success: 401 (Unauthorized). |
This file contains hidden or 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
| steps: | |
| - task: Docker@1 | |
| displayName: 'Build an image' | |
| inputs: | |
| command: Build an image | |
| azureSubscription: XXX | |
| azureContainerRegistry: '{"loginServer":"xxx.azurecr.io", "id" : "/subscriptions/xxx/resourceGroups/xx-xxx-xxx-DEV/providers/Microsoft.ContainerRegistry/registries/xxx"}' | |
| dockerFile: src/Services/MyApi/Dockerfile | |
| imageName: $(Build.Repository.Name):$(Build.BuildId) |
This file contains hidden or 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 mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS base | |
| WORKDIR /app | |
| EXPOSE 80 | |
| EXPOSE 443 | |
| FROM microsoft/dotnet:2.2-sdk AS build | |
| WORKDIR /src | |
| COPY / /src/Services/MyApi/ | |
| WORKDIR /src/Services/MyApi/MyApi.Api | |
| RUN dotnet restore MyApi.csproj -nowarn:msb3202,nu1503 |
This file contains hidden or 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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "sites_ansiblewcf_name": { | |
| "defaultValue": "ansiblewcf", | |
| "type": "String" | |
| }, | |
| "workflows_Sample2_name": { | |
| "defaultValue": "Sample2", |
This file contains hidden or 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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "workflows_Sample2_name": { | |
| "defaultValue": "Sample2", | |
| "type": "String" | |
| }, | |
| "sites_webjob3f7739bb_name": { | |
| "defaultValue": "webjob3f7739bb", |
This file contains hidden or 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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "workflows_Sample2_name": { | |
| "defaultValue": "Sample2", | |
| "type": "String" | |
| }, | |
| "sites_webjob3f7739bb_name": { | |
| "defaultValue": "webjob3f7739bb", |
This file contains hidden or 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
| { | |
| "appRoles": [], | |
| "availableToOtherTenants": false, | |
| "displayName": "TestFromAAAAAAAAAnsible", | |
| "errorUrl": null, | |
| "groupMembershipClaims": null, | |
| "optionalClaims": null, | |
| "acceptMappedClaims": null, | |
| "homepage": "https://tokiotadev.com/testansible", | |
| "informationalUrls": { |
NewerOlder