Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

v0.1.3 Release #41

Merged
merged 18 commits into from
Nov 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
baabaed
added Azure DevOps build system
Aaronontheweb Nov 15, 2019
bc84146
Merge pull request #31 from Aaronontheweb/azure-devops-buildsystem
Aaronontheweb Nov 15, 2019
3954b8b
added updated build scripts (#32)
Aaronontheweb Nov 15, 2019
d61e338
Set up CI with Azure Pipelines
Aaronontheweb Nov 15, 2019
9147b01
[Security] Bump Microsoft.AspNetCore.All from 2.0.5 to 2.0.9 (#21)
dependabot-preview[bot] Nov 15, 2019
9611b29
added code-signing file (#33)
Aaronontheweb Nov 15, 2019
34a3744
Bump FluentAssertions from 5.2.0 to 5.9.0 (#19)
dependabot-preview[bot] Nov 18, 2019
11787eb
upgraded to .NET Core 2.1; dropped dotnet-xunit (#35)
Aaronontheweb Nov 18, 2019
2535d13
Bump Petabridge.Cmd.Host from 0.3.3 to 0.7.0 (#25)
dependabot-preview[bot] Nov 18, 2019
b79d630
Bump XunitVersion from 2.3.0 to 2.4.1 (#20)
dependabot-preview[bot] Nov 18, 2019
6d8a494
Bump Akka.Bootstrap.PCF from 0.1.3 to 0.2.1 (#18)
dependabot-preview[bot] Nov 18, 2019
b5cb129
Bump Akka.TestKit.Xunit2 from 1.3.6 to 1.3.16 (#30)
dependabot-preview[bot] Nov 19, 2019
72a0166
Bump NBench from 1.0.4 to 1.2.2 (#17)
dependabot-preview[bot] Nov 19, 2019
5a25c22
Bump Akka.Bootstrap.PCF from 0.2.1 to 0.2.2 (#39)
dependabot-preview[bot] Nov 19, 2019
5d412e0
Bump Microsoft.NET.Test.Sdk from 15.3.0 to 16.4.0 (#28)
dependabot-preview[bot] Nov 19, 2019
674bb4c
Bump Microsoft.IO.RecyclableMemoryStream from 1.2.2 to 1.3.0 (#27)
dependabot-preview[bot] Nov 19, 2019
713e3e0
Bump Newtonsoft.Json from 11.0.2 to 12.0.3 (#29)
dependabot-preview[bot] Nov 19, 2019
9591564
added v0.1.3 release notes (#40)
Aaronontheweb Nov 19, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
#### 0.1.2 April 26 2018 ####
* Upgraded to [Akka.Bootstrap.PCF v0.1.3](https://github.com/petabridge/akkadotnet-bootstrap/tree/dev/src/Akka.Bootstrap.PCF)
* Added XML-DOC support to NuGet packages.
#### 0.1.3 November 19 2019 ####

#### 0.1.1 April 13 2018 ####
* Implemented [Add option to disable metric postfixes](https://github.com/petabridge/Petabridge.Monitoring.PCF/issues/8)
* Upgraded to [Akka.Bootstrap.PCF v0.1.2](https://github.com/petabridge/akkadotnet-bootstrap/tree/dev/src/Akka.Bootstrap.PCF)

#### 0.1.0 April 12 2018 ####
First release of `Petabridge.Monitoring.PCF`.
* Upgraded all dependencies.
13 changes: 13 additions & 0 deletions appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"SignClient": {
"AzureAd": {
"AADInstance": "https://#.microsoftonline.com/",
"ClientId": "1e983f21-9ea5-4f21-ab99-28080225efc9",
"TenantId": "2fa36080-af12-4894-a64b-a17d8f29ec52"
},
"Service": {
"Url": "https://pb-sign.azurewebsites.net/",
"ResourceId": "https://SignService/eef8e2e7-24b1-4a3b-a73b-a84d66f9abee"
}
}
}
8 changes: 8 additions & 0 deletions build-system/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Azure Pipelines Build Files
These `.yaml` files are used by Windows Azure DevOps Pipelines to help execute the following types of builds:

- Pull request validation on Linux (Mono / .NET Core)
- Pull request validation on Windows (.NET Framework / .NET Core)
- NuGet releases with automatic release notes posted to a Github Release repository.

**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.
45 changes: 45 additions & 0 deletions build-system/azure-pipeline.template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
parameters:
name: ''
displayName: ''
vmImage: ''
scriptFileName: ''
scriptArgs: 'all'
timeoutInMinutes: 120

jobs:
- job: ${{ parameters.name }}
displayName: ${{ parameters.displayName }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
pool:
vmImage: ${{ parameters.vmImage }}
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: false # whether to fetch clean each time
submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
persistCredentials: true
# Linux or macOS
- task: Bash@3
displayName: Linux / OSX Build
inputs:
filePath: ${{ parameters.scriptFileName }}
arguments: ${{ parameters.scriptArgs }}
continueOnError: true
condition: in( variables['Agent.OS'], 'Linux', 'Darwin' )
# Windows
- task: BatchScript@1
displayName: Windows Build
inputs:
filename: ${{ parameters.scriptFileName }}
arguments: ${{ parameters.scriptArgs }}
continueOnError: true
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- task: PublishTestResults@2
inputs:
testRunner: VSTest
testResultsFiles: '**/*.trx' #TestResults folder usually
testRunTitle: ${{ parameters.name }}
mergeTestResults: true
- script: 'echo 1>&2'
failOnStderr: true
displayName: 'If above is partially succeeded, then fail'
condition: eq(variables['Agent.JobStatus'], 'SucceededWithIssues')
26 changes: 26 additions & 0 deletions build-system/nightly-builds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Release task for PbLib projects
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference

pool:
vmImage: vs2017-win2016
demands: Cmd

trigger: none
pr: none

schedules:
- cron: "0 0 * * *"
displayName: Daily midnight build
branches:
include:
- dev

variables:
- group: nugetKeys #create this group with SECRET variables `nugetKey`

steps:
- task: BatchScript@1
displayName: 'FAKE Build'
inputs:
filename: build.cmd
arguments: 'Nuget nugetprerelease=dev nugetpublishurl=$(nightlyUrl) nugetkey=$(nightlyKey)'
30 changes: 30 additions & 0 deletions build-system/pr-validation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Pull request validation for Windows against the `dev` and `master` branches
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference
trigger:
branches:
include:
- dev
- master

pr:
autoCancel: true # indicates whether additional pushes to a PR should cancel in-progress runs for the same PR. Defaults to true
branches:
include: [ dev, master ] # branch names which will trigger a build

name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)

jobs:
- template: azure-pipeline.template.yaml
parameters:
name: 'windows_pr'
displayName: 'Windows PR Validation'
vmImage: 'vs2017-win2016'
scriptFileName: build.cmd
scriptArgs: all
- template: azure-pipeline.template.yaml
parameters:
name: 'linux_pr'
displayName: 'Linux PR Validation'
vmImage: 'ubuntu-16.04'
scriptFileName: ./build.sh
scriptArgs: all
40 changes: 40 additions & 0 deletions build-system/windows-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Release task for PbLib projects
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference

pool:
vmImage: vs2017-win2016
demands: Cmd

trigger:
branches:
include:
- refs/tags/*

pr: none

variables:
- group: signingSecrets
- group: nugetKeys
- name: githubConnectionName
value: PbReleaseNotes
- name: projectName
value: Petabridge.Monitoring.PCF
- name: githubRepositoryName
value: petabridge/Petabridge.Monitoring.PCF

steps:
- task: BatchScript@1
displayName: 'FAKE Build'
inputs:
filename: build.cmd
arguments: 'All SignClientUser=$(signingUsername) SignClientSecret=$(signingPassword) nugetpublishurl=https://api.nuget.org/v3/index.json nugetkey=$(nugetKey)'

- task: GitHubRelease@0
displayName: 'GitHub release (create)'
inputs:
gitHubConnection: $(githubConnectionName)
repositoryName: $(githubRepositoryName)
title: '$(projectName) v$(Build.SourceBranchName)'
releaseNotesFile: 'RELEASE_NOTES.md'
assets: |
bin\nuget\*.nupkg
Loading