Skip to content

Commit

Permalink
Update Azure Pipelines to use Endjin.RecommendedPractices.
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardvanRooijen committed Mar 6, 2021
1 parent 2d6d94e commit 6b6dc27
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 14 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -330,3 +330,9 @@ ASALocalRun/

# MFractors (Xamarin productivity tool) working folder
.mfractor/

# Cobertura code coverage file
coverage.cobertura.xml

# VS Code config files
/.vscode
15 changes: 15 additions & 0 deletions azure-pipelines.release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
trigger: none
pr: none

resources:
repositories:
- repository: recommended_practices
type: github
name: endjin/Endjin.RecommendedPractices.AzureDevopsPipelines.GitHub
endpoint: corvus-dotnet-github

jobs:
- template: templates/tag.for.release.yml@recommended_practices
parameters:
vmImage: 'windows-latest'
service_connection_github: $(Endjin_Service_Connection_GitHub)
35 changes: 21 additions & 14 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
# Starter pipeline

# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master
branches:
include:
- master
- feature/*
tags:
include:
- '*'

pool:
vmImage: 'ubuntu-latest'
resources:
repositories:
- repository: recommended_practices
type: github
name: endjin/Endjin.RecommendedPractices.AzureDevopsPipelines.GitHub
endpoint: corvus-dotnet-github

steps:
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: 'Solutions/Ais.Net.Receiver.sln'
jobs:
- template: templates/build.and.release.yml@recommended_practices
parameters:
vmImage: 'ubuntu-latest'
service_connection_nuget_org: $(Endjin_Service_Connection_NuGet_Org)
service_connection_github: $(Endjin_Service_Connection_GitHub)
solution_to_build: $(Endjin_Solution_To_Build)
netSdkVersion: '3.x'

0 comments on commit 6b6dc27

Please sign in to comment.