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 mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build | |
WORKDIR /build | |
ARG version=0.0.0 | |
COPY ./Microservice/Microservice.csproj ./Microservice/Microservice.csproj | |
COPY ./Microservice.Tests/Microservice.Tests.csproj ./Microservice.Tests/Microservice.Tests.csproj | |
RUN dotnet restore ./Microservice/Microservice.csproj | |
RUN dotnet restore ./Microservice.Tests/Microservice.Tests.csproj |
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
ruby "2.6.2" | |
source "https://rubygems.org" | |
gem "dependabot-omnibus", git: "https://github.com/acraven/dependabot-core", branch: "azure-author-details" |
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
credentials = [{ | |
"type" => "git_source", | |
"host" => "dev.azure.com", | |
"username" => "", | |
"password" => "YOUR_AZURE_DEVOPS_PAT" | |
},{ | |
"type" => "nuget_feed", | |
"url" => "https://pkgs.dev.azure.com/YOUR_ORG_NAME/_packaging/YOUR_FEED_NAME/nuget/v3/index.json", | |
"token" => ":YOUR_AZURE_DEVOPS_PAT" # Don't forget the colon | |
}] |
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
See https://github.com/acraven/azure-dependabot for the whole repo |
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: 1.0$(Rev:.r) | |
trigger: | |
batch: false | |
branches: | |
include: | |
- master | |
paths: | |
exclude: | |
- README.md |
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
# Include branch name to prevent PR builds consuming version numbers from master builds | |
name: $(Build.SourceBranchName)-1.0$(Rev:.r) | |
trigger: | |
batch: false | |
branches: | |
include: | |
- master | |
paths: | |
exclude: |
NewerOlder