Skip to content

Commit 607bf6c

Browse files
authored
Merge pull request #41 from codez-one/cicd
fixes smaller things in the CICD
2 parents 43faa36 + 2c7b06e commit 607bf6c

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ You can add the package for example with the following `dotnet` command:
1616
dotnet add package CZ.AspNetCore.EasyAuthAuthentication
1717
```
1818

19-
Pre-releases of this Package are pushed to an internal <a href="https://dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication/_packaging?_a=feed&feed=CZ.AspNetCore.EasyAuthAuthentication" target="_blank">feed an Azure DevOps</a>.
19+
Pre-releases of this Package are pushed to an internal <a href="https://dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication/_artifacts/feed/czon" target="_blank">feed an Azure DevOps</a>.
2020

21-
There are also access to packages from pull requests in another <a href="https://dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication/_packaging?_a=feed&feed=CZ.AspNetCore.EasyAuthAuthentication-PR" target="_blank">Azure DevOps feed</a>. All Packages in this feed has a name like this: `PR-{pull request number}-CZ.AspNetCore.EasyAuthAuthentication`. So you must only pick the package of your PR to check your changes in a test project. All changes of the pull request are tracked in the pull request package version history.
21+
There are also access to packages from pull requests in another <a href="https://dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication/_artifacts/feed/czon-pr" target="_blank">Azure DevOps feed</a>. All Packages in this feed has a name like this: `PR-{pull request number}-CZ.AspNetCore.EasyAuthAuthentication`. So you must only pick the package of your PR to check your changes in a test project. All changes of the pull request are tracked in the pull request package version history.
2222

2323
## Build
2424

@@ -28,10 +28,10 @@ The build environment for this project is on Azure DevOps and can be found here
2828

2929
| Name | Status |
3030
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
31-
| CZ.AspNetCore.EasyAuthAuthentication-CI | [![Build Status](https://dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication/_apis/build/status/CZ.AspNetCore.EasyAuthAuthentication-CI)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_build/latest?definitionId=24) |
32-
| Alpha | [![Alpha](https://vsrm.dev.azure.com/czon/_apis/public/Release/badge/b206bf59-b281-4d06-91c3-3877c3aeaaf9/1/1)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&_a=releases) |
33-
| Beta | [![Beta](https://vsrm.dev.azure.com/czon/_apis/public/Release/badge/b206bf59-b281-4d06-91c3-3877c3aeaaf9/1/2)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&_a=releases) |
34-
| Release | [![Release](https://vsrm.dev.azure.com/czon/_apis/public/Release/badge/b206bf59-b281-4d06-91c3-3877c3aeaaf9/1/3)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&_a=releases) |
31+
| CZ.AspNetCore.EasyAuthAuthentication-CI | [![Build Status](https://dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication/_apis/build/status/CZ.AspNetCore.EasyAuthAuthentication-CI)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_build/latest?definitionId=7) |
32+
| Alpha | [![Alpha](https://vsrm.dev.azure.com/czon/_apis/public/Release/badge/bc4d5ed4-f7f8-4b67-9212-2dadeae79439/2/2)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=2&_a=releases) |
33+
| Beta | [![Beta](https://vsrm.dev.azure.com/czon/_apis/public/Release/badge/bc4d5ed4-f7f8-4b67-9212-2dadeae79439/2/3)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=2&_a=releases) |
34+
| Release | [![Release](https://vsrm.dev.azure.com/czon/_apis/public/Release/badge/bc4d5ed4-f7f8-4b67-9212-2dadeae79439/2/4)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=2&_a=releases) |
3535

3636
## Quickstart
3737

pipelines/CZ.AspNetCore.EasyAuthAuthentication.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pr:
1010
autoCancel: true
1111
branches:
1212
include:
13-
- master
13+
- '*'
1414

1515
pool:
1616
vmImage: 'windows-latest'
@@ -36,7 +36,9 @@ stages:
3636
displayName: 'Install dotnet core SDK'
3737
inputs:
3838
packageType: 'sdk'
39-
useGlobalJson: true
39+
# because use global json currently takes always the defined version
40+
# and ignores the `rollForward` flag we fall back to this:
41+
version: 3.1.x
4042

4143
- task: DotNetCoreCLI@2
4244
displayName: 'Install GitVersion: $(GitVersion)'
@@ -64,7 +66,7 @@ stages:
6466
inputs:
6567
command: 'build'
6668
projects: '$(Project)'
67-
arguments: '--configuration $(buildConfiguration) --no-restore'
69+
arguments: '--configuration $(buildConfiguration) --no-restore /p:ContinuousIntegrationBuild=true'
6870

6971
- task: DotNetCoreCLI@2
7072
displayName: 'Test'

pipelines/templates/NuGet.Pack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ steps:
1616
packagesToPack: '$(Project)'
1717
nobuild: true
1818
arguments: '--configuration $(buildConfiguration) --no-restore'
19-
buildProperties: '${{ parameters.buildProperties }}'
19+
buildProperties: '${{ parameters.buildProperties }};ContinuousIntegrationBuild=true'
2020
packDirectory: '$(Build.ArtifactStagingDirectory)'
2121
verbosityPack: Normal

0 commit comments

Comments
 (0)