From bd64ae7533b93d076b2b19731929d2aeddae1f74 Mon Sep 17 00:00:00 2001 From: Chris Kirby Date: Tue, 16 Jan 2018 13:38:31 -0600 Subject: [PATCH 1/3] add appveyor build def and vscode build task --- .vscode/tasks.json | 17 +++++++++++++++++ appveyor.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 .vscode/tasks.json create mode 100644 appveyor.yml diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..cefd71a --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,17 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet build", + "type": "shell", + "group": "build", + "presentation": { + "reveal": "always" + }, + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..5b862dc --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,43 @@ +version: 1.0.{build} +pull_requests: + do_not_increment_build_number: true +skip_tags: true +image: Visual Studio 2017 +configuration: +- Debug +- Release +before_build: +- cmd: nuget restore serilog-sinks-eventgrid.sln +build: + project: serilog-sinks-eventgrid.sln + publish_nuget: true + publish_nuget_symbols: true + parallel: true + verbosity: minimal +deploy: +- provider: NuGet + server: https://www.myget.org/F/sirkirby/api/v2/package + api_key: + secure: +FYD4lCyVQxiL9+UPw3bpo2bc7osbMy7tIahYeCoZN4+XgaBIFakxiI4vnjOZUFR + skip_symbols: true + on: + branch: master + Configuration: Release +- provider: GitHub + tag: $(appveyor_build_version) + release: $(appveyor_build_version) release + description: $(APPVEYOR_REPO_COMMIT_MESSAGE) + auth_token: + secure: 7jJt8R5qmdaczjCT8wSlaiosdwhKmn7tSsBYUAvgHHpRPuwE0jx9rnrvdQuUSTLv + artifact: /.*\.nupkg/ + force_update: true + on: + branch: master + Configuration: Release +notifications: +- provider: Slack + incoming_webhook: + secure: L5X3/dlf2WAHJVcriwQOFwXFgzUFpDd7JV8v3eDzvvIOTtUC1hiTct9dPyNWezcYUxEqN2bwoAkOnq7nVR/31RWOjnQAeGIc9I1zyDFO9c4= + on_build_success: true + on_build_failure: true + on_build_status_changed: true \ No newline at end of file From 827bf2b4fe2cc931d4a4c5c88a00bf4009ba95c7 Mon Sep 17 00:00:00 2001 From: Chris Kirby Date: Tue, 16 Jan 2018 13:45:39 -0600 Subject: [PATCH 2/3] removed slack notification from appveyor build script --- appveyor.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5b862dc..1697f86 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -33,11 +33,4 @@ deploy: force_update: true on: branch: master - Configuration: Release -notifications: -- provider: Slack - incoming_webhook: - secure: L5X3/dlf2WAHJVcriwQOFwXFgzUFpDd7JV8v3eDzvvIOTtUC1hiTct9dPyNWezcYUxEqN2bwoAkOnq7nVR/31RWOjnQAeGIc9I1zyDFO9c4= - on_build_success: true - on_build_failure: true - on_build_status_changed: true \ No newline at end of file + Configuration: Release \ No newline at end of file From d311f4ecf1560d0c0022db65e4cb501b510e6c3d Mon Sep 17 00:00:00 2001 From: Chris Kirby Date: Tue, 16 Jan 2018 16:51:54 -0600 Subject: [PATCH 3/3] update badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 181b7ad..c7240b9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ All log events are sent to a custom event grid topic as an HTTP Post. For more information on Event Grid, see https://docs.microsoft.com/en-us/azure/event-grid/ -[![NuGet](https://img.shields.io/nuget/v/Serilog.Sinks.EventGrid.svg)](https://www.nuget.org/packages/Serilog.Sinks.EventGrid/) [![Build status](https://ci.appveyor.com/api/projects/status/uxmd0qanuk1eltrg/branch/master?svg=true)](https://ci.appveyor.com/project/Authenticom/serilog-sinks-eventgrid/branch/master) +[![NuGet](https://img.shields.io/nuget/v/Serilog.Sinks.EventGrid.svg)](https://www.nuget.org/packages/Serilog.Sinks.EventGrid/) [![Build status](https://ci.appveyor.com/api/projects/status/o0nwqlc7ebkdw5g6/branch/master?svg=true)](https://ci.appveyor.com/project/Authenticom/serilog-sinks-eventgrid/branch/master) [![Waffle.io - Columns and their card count](https://badge.waffle.io/sirkirby/serilog-sinks-eventgrid.svg?columns=all)](https://waffle.io/sirkirby/serilog-sinks-eventgrid) ## Targets