Skip to content

Commit a8e51d9

Browse files
authored
Release 1.3.10 (#67)
* Upgrade build system to fix CI (#66) * Targets net462 for all projects * Adds build-system template which contains yaml files for azure devops builds * Updates build.fsx to fix some bugs and tweak some stuff * Bump FluentAssertions from 5.3.0 to 5.9.0 (#60) Bumps [FluentAssertions](https://github.com/fluentassertions/fluentassertions) from 5.3.0 to 5.9.0. - [Release notes](https://github.com/fluentassertions/fluentassertions/releases) - [Commits](fluentassertions/fluentassertions@5.3.0...5.9.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump Akka.TestKit.Xunit2 from 1.3.9 to 1.3.15 Bumps [Akka.TestKit.Xunit2](https://github.com/akkadotnet/akka.net) from 1.3.9 to 1.3.15. - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/1.3.15/RELEASE_NOTES.md) - [Commits](akkadotnet/akka.net@v1.3.9...1.3.15) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump Serilog from 2.7.1 to 2.8.0 Bumps [Serilog](https://github.com/serilog/serilog) from 2.7.1 to 2.8.0. - [Release notes](https://github.com/serilog/serilog/releases) - [Changelog](https://github.com/serilog/serilog/blob/dev/CHANGES.md) - [Commits](serilog/serilog@v2.7.1...v2.8.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump Akka from 1.3.9 to 1.3.15 Bumps [Akka](https://github.com/akkadotnet/akka.net) from 1.3.9 to 1.3.15. - [Release notes](https://github.com/akkadotnet/akka.net/releases) - [Changelog](https://github.com/akkadotnet/akka.net/blob/1.3.15/RELEASE_NOTES.md) - [Commits](akkadotnet/akka.net@v1.3.9...1.3.15) Signed-off-by: dependabot-preview[bot] <[email protected]> * Update RELEASE_NOTES.md * Update common.props * Update RELEASE_NOTES.md
1 parent 2844204 commit a8e51d9

15 files changed

+322
-72
lines changed

RELEASE_NOTES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#### 1.3.10 October 05 2019 ####
2+
* Upgraded to Serilog v2.8.0
3+
* Upgraded to Akka 1.3.15
4+
15
#### 1.3.9 August 23 2018 ####
26
* [Fixed: Regression: ForContext API doesn't apply changes](https://github.com/akkadotnet/Akka.Logger.Serilog/issues/51)
37
* Upgraded to Akka.NET v1.3.9.
@@ -48,4 +52,4 @@ Support for Akka 1.0.8
4852

4953
#### 1.0.7 Februari 29 2016 ####
5054

51-
Support for Akka 1.0.7
55+
Support for Akka 1.0.7

build-system/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Azure Pipelines Build Files
2+
These `.yaml` files are used by Windows Azure DevOps Pipelines to help execute the following types of builds:
3+
4+
- Pull request validation on Linux (Mono / .NET Core)
5+
- Pull request validation on Windows (.NET Framework / .NET Core)
6+
- NuGet releases with automatic release notes posted to a Github Release repository.
7+
8+
**NOTE**: you will need to change some of the pipeline variables inside the `windows-release.yaml` for your specific project and you will also want to create variable groups with your signing and NuGet push information.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
parameters:
2+
name: ''
3+
vmImage: ''
4+
scriptFileName: ''
5+
scriptArgs: 'all'
6+
timeoutInMinutes: 120
7+
outputDirectory: 'bin/nuget'
8+
9+
jobs:
10+
- job: ${{ parameters.name }}
11+
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
12+
pool:
13+
vmImage: ${{ parameters.vmImage }}
14+
steps:
15+
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
16+
clean: false # whether to fetch clean each time
17+
submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
18+
persistCredentials: true
19+
# Linux or macOS
20+
- task: Bash@3
21+
displayName: Linux / OSX Build
22+
inputs:
23+
filePath: ${{ parameters.scriptFileName }}
24+
arguments: ${{ parameters.scriptArgs }}
25+
continueOnError: true
26+
condition: in( variables['Agent.OS'], 'Linux', 'Darwin' )
27+
# Windows
28+
- task: BatchScript@1
29+
displayName: Windows Build
30+
inputs:
31+
filename: ${{ parameters.scriptFileName }}
32+
arguments: ${{ parameters.scriptArgs }}
33+
continueOnError: true
34+
condition: eq( variables['Agent.OS'], 'Windows_NT' )
35+
- task: PublishTestResults@2
36+
inputs:
37+
testRunner: VSTest
38+
testResultsFiles: '**/*.trx' #TestResults folder usually
39+
testRunTitle: ${{ parameters.name }}
40+
mergeTestResults: true
41+
- task: CopyFiles@2
42+
displayName: 'Copy Build Output'
43+
inputs:
44+
sourceFolder: ${{ parameters.outputDirectory }}
45+
contents: '**\*'
46+
targetFolder: $(Build.ArtifactStagingDirectory)
47+
continueOnError: boolean # 'true' if future steps should run even if this step fails; defaults to 'false'
48+
- task: PublishBuildArtifacts@1
49+
inputs:
50+
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
51+
artifactName: ${{ parameters.name }}
52+
- script: 'echo 1>&2'
53+
failOnStderr: true
54+
displayName: 'If above is partially succeeded, then fail'
55+
condition: eq(variables['Agent.JobStatus'], 'SucceededWithIssues')

build-system/linux-pr-validation.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Pull request validation for Linux against the `dev` and `master` branches
2+
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference
3+
trigger:
4+
branches:
5+
include:
6+
- dev
7+
- master
8+
9+
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
10+
11+
pr:
12+
autoCancel: true # indicates whether additional pushes to a PR should cancel in-progress runs for the same PR. Defaults to true
13+
branches:
14+
include: [ dev, master ] # branch names which will trigger a build
15+
16+
jobs:
17+
- template: azure-pipeline.template.yaml
18+
parameters:
19+
name: Ubuntu
20+
vmImage: 'ubuntu-16.04'
21+
scriptFileName: ./build.sh
22+
scriptArgs: all

build-system/nightly-builds.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Release task for PbLib projects
2+
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference
3+
4+
pool:
5+
vmImage: vs2017-win2016
6+
demands: Cmd
7+
8+
trigger: none
9+
pr: none
10+
11+
schedules:
12+
- cron: "0 0 * * *"
13+
displayName: Daily midnight build
14+
branches:
15+
include:
16+
- dev
17+
18+
variables:
19+
- group: nugetKeys #create this group with SECRET variables `nugetKey`
20+
21+
steps:
22+
- task: BatchScript@1
23+
displayName: 'FAKE Build'
24+
inputs:
25+
filename: build.cmd
26+
arguments: 'Nuget nugetprerelease=dev nugetpublishurl=$(nightlyUrl) nugetkey=$(nightlyKey)'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Pull request validation for Windows against the `dev` and `master` branches
2+
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference
3+
trigger:
4+
branches:
5+
include:
6+
- dev
7+
- master
8+
9+
pr:
10+
autoCancel: true # indicates whether additional pushes to a PR should cancel in-progress runs for the same PR. Defaults to true
11+
branches:
12+
include: [ dev, master ] # branch names which will trigger a build
13+
14+
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
15+
16+
jobs:
17+
- template: azure-pipeline.template.yaml
18+
parameters:
19+
name: Windows
20+
vmImage: 'vs2017-win2016'
21+
scriptFileName: build.cmd
22+
scriptArgs: all

build-system/windows-release.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Release task for PbLib projects
2+
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference
3+
4+
pool:
5+
vmImage: vs2017-win2016
6+
demands: Cmd
7+
8+
trigger:
9+
branches:
10+
include:
11+
- refs/tags/*
12+
pr: none
13+
14+
variables:
15+
- group: nugetKeys #create this group with SECRET variables `nugetKey`
16+
- name: githubConnectionName
17+
value: AkkaDotNet_Releases #replace this
18+
- name: projectName
19+
value: Akka.Logger.Serilog #replace this
20+
- name: githubRepositoryName
21+
value: akkadotnet/Akka.Logger.Serilog #replace this
22+
23+
steps:
24+
- task: BatchScript@1
25+
displayName: 'FAKE Build'
26+
inputs:
27+
filename: build.cmd
28+
arguments: 'All SignClientUser=$(signingUsername) SignClientSecret=$(signingPassword) nugetpublishurl=https://www.nuget.org/api/v2/package nugetkey=$(nugetKey)'
29+
30+
- task: GitHubRelease@0
31+
displayName: 'GitHub release (create)'
32+
inputs:
33+
gitHubConnection: $(githubConnectionName)
34+
repositoryName: $(githubRepositoryName)
35+
title: '$(projectName) v$(Build.SourceBranchName)'
36+
releaseNotesFile: 'RELEASE_NOTES.md'
37+
assets: |
38+
bin\nuget\*.nupkg

0 commit comments

Comments
 (0)