File tree Expand file tree Collapse file tree 9 files changed +55
-41
lines changed
Expand file tree Collapse file tree 9 files changed +55
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ build :
2+ sh build.sh
3+
4+ test : build
5+ echo " TODO"
6+
7+ run-samples :
8+ docker-compose up --build
9+
10+ kill-samples :
11+ docker-compose down
Original file line number Diff line number Diff line change 11version : ' {build}'
22skip_tags : true
3- image : Visual Studio 2017
4- configuration : Release
3+ image :
4+ - Visual Studio 2017
5+ - Ubuntu
6+ configuration :
7+ - Release
58build_script :
6- - ps : ./Build.ps1
9+ - ps : ./Build.ps1
710test : off
811artifacts :
9- - path : artifacts/Serilog.*.nupkg
12+ - path : artifacts/Serilog.*.nupkg
13+ for :
14+ -
15+ matrix :
16+ only :
17+ - image : Ubuntu
18+ build_script :
19+ - sh build.sh
1020deploy :
11- - provider : NuGet
12- api_key :
13- secure : bd9z4P73oltOXudAjPehwp9iDKsPtC+HbgshOrSgoyQKr5xVK+bxJQngrDJkHdY8
14- skip_symbols : true
15- on :
16- branch : /^(master|dev)$/
17- - provider : GitHub
18- auth_token :
19- secure : p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
20- artifact : /Serilog.*\.nupkg/
21- tag : v$(appveyor_build_version)
22- on :
23- branch : master
21+ - provider : NuGet
22+ api_key :
23+ secure : bd9z4P73oltOXudAjPehwp9iDKsPtC+HbgshOrSgoyQKr5xVK+bxJQngrDJkHdY8
24+ skip_symbols : true
25+ on :
26+ branch : /^(master|dev)$/
27+ - provider : GitHub
28+ auth_token :
29+ secure : p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
30+ artifact : /Serilog.*\.nupkg/
31+ tag : v$(appveyor_build_version)
32+ on :
33+ branch : master
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ dotnet restore
66# Until # 65 is addressed build only core package. When available move to netstandard for all packages
77for path in src/** /Serilog.Sinks.Splunk.csproj; do
88 dotnet build -f netstandard1.1 -c Release ${path}
9- dotnet build -f netstandard1.3 -c Release ${path}
9+ dotnet build -f netstandard2.0 -c Release ${path}
1010done
1111
1212for path in test/* .Tests/* .csproj; do
Original file line number Diff line number Diff line change 1- version : ' 2 '
1+ version : ' 3 '
22services :
33 splunk :
44 build : ./sample/splunk
55 image : serilog-splunk
6+ environment :
7+ SPLUNK_START_ARGS : --accept-license --answer-yes --seed-passwd changeme
8+ SPLUNK_ENABLE_LISTEN : 9997
9+ SPLUNK_PASSWORD : changemeplease!
610 ports :
711 - 8000:8000
812 - 8088:8088
913 - 8089:8089
10- environment :
11- SPLUNK_START_ARGS : " --accept-license --answer-yes --seed-passwd changeme"
12- SPLUNK_USER : " root"
14+ networks :
15+ splunkbase_docker :
1316 sampleconsoleapp :
1417 depends_on :
1518 - " splunk"
1619 build : .
17- image : serilog-console-sample
20+ image : serilog-console-sample
21+ networks :
22+ splunkbase_docker :
23+ networks :
24+ splunkbase_docker :
25+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public static void Main(string[] args)
1717 {
1818 var eventsToCreate = 100 ;
1919 var runSSL = false ;
20- var millisecsToWait = 30000 ;
20+ var millisecsToWait = 60000 ;
2121
2222 if ( args . Length > 0 )
2323 eventsToCreate = int . Parse ( args [ 0 ] ) ;
@@ -30,9 +30,7 @@ public static void Main(string[] args)
3030
3131 Serilog . Debugging . SelfLog . Enable ( System . Console . Out ) ;
3232 Log . Information ( "Sample app starting up..." ) ;
33-
3433 Log . Information ( "Waiting {} millisecs..." , millisecsToWait ) ;
35-
3634 System . Threading . Thread . Sleep ( millisecsToWait ) ;
3735
3836 UsingAppSettingsJson ( eventsToCreate ) ;
Original file line number Diff line number Diff line change 1- FROM splunk/splunk:7.1.0
1+ FROM splunk/splunk:7.2
22ADD etc ${SPLUNK_HOME}/etc
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <Description >The Splunk Sink for Serilog</Description >
5- <VersionPrefix >3.1 .0</VersionPrefix >
5+ <VersionPrefix >3.2 .0</VersionPrefix >
66 <Authors >Matthew Erbs, Serilog Contributors</Authors >
77 <TargetFrameworks >net45;netstandard1.1;netstandard2.0</TargetFrameworks >
88 <GenerateDocumentationFile >true</GenerateDocumentationFile >
You can’t perform that action at this time.
0 commit comments