Skip to content

Commit

Permalink
remove housework references, simplify the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
aloneguid committed Jul 29, 2020
1 parent 9c87ae7 commit 56413f7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 41 deletions.
1 change: 0 additions & 1 deletion GitVersion.yml

This file was deleted.

38 changes: 18 additions & 20 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pool:
vmImage: 'ubuntu-16.04'
vmImage: 'ubuntu-latest'

trigger:
batch: true
Expand All @@ -9,7 +9,8 @@ trigger:
paths:
exclude:
- README.md
- /doc/**/*
- doc/**/*
- .github/*

pr:
branches:
Expand All @@ -22,34 +23,31 @@ pr:

variables:
- group: 'External Resources'
- name: v
value: '4.15.0'
- name: av
value: '4.0.0'
- name: pv
value: '4.15.0'

steps:
- task: petersendev.dotnet-global-tool-installer.DotnetGlobalToolInstaller.DotnetGlobalToolInstaller@0
displayName: 'install housework'
inputs:
name: housework

- script: 'housework author src/*.csproj -s build.ini -r -v'
displayName: 'author csproj'
- script: echo "##vso[build.updatebuildnumber]$(pv)"

- script: 'housework setbuildnumber %Version% -s build.ini -v'
displayName: 'set build number'

- script: 'housework pushvars Version -s build.ini -v'
displayName: 'push variables'
- task: DotNetCoreCLI@2
displayName: 'unit tests'
inputs:
command: test
projects: src/Config.Net.Tests
arguments: '-c release /p:Version=$(pv) /p:FileVersion=$(v) /p:AssemblyVersion=$(av) /p:PackageLicenseUrl="https://github.com/aloneguid/config/blob/master/LICENSE" /p:Authors="Ivan Gavryliuk (@aloneguid)" /p:PackageIconUrl="http://i.isolineltd.com/nuget/config.net.png"'

- task: DotNetCoreCLI@2
displayName: 'build all'
inputs:
projects: src/Config.Net.sln
arguments: '-c release'
arguments: '-c release /p:Version=$(pv) /p:FileVersion=$(v) /p:AssemblyVersion=$(av) /p:PackageLicenseUrl="https://github.com/aloneguid/config/blob/master/LICENSE" /p:Authors="Ivan Gavryliuk (@aloneguid)" /p:PackageIconUrl="http://i.isolineltd.com/nuget/config.net.png"'


- task: DotNetCoreCLI@2
displayName: 'unit tests'
inputs:
command: test
projects: src/Config.Net.Tests
arguments: '-c release'

- task: CopyFiles@2
displayName: 'copy generated nugets'
Expand Down
18 changes: 0 additions & 18 deletions build.ini

This file was deleted.

2 changes: 0 additions & 2 deletions src/Config.Net.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
..\.editorconfig = ..\.editorconfig
..\azure-pipelines.yml = ..\azure-pipelines.yml
..\build.ini = ..\build.ini
..\GitVersion.yml = ..\GitVersion.yml
..\README.md = ..\README.md
EndProjectSection
EndProject
Expand Down

0 comments on commit 56413f7

Please sign in to comment.