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 1
1
version : ' {build}'
2
2
skip_tags : true
3
- image : Visual Studio 2017
4
- configuration : Release
3
+ image :
4
+ - Visual Studio 2017
5
+ - Ubuntu
6
+ configuration :
7
+ - Release
5
8
build_script :
6
- - ps : ./Build.ps1
9
+ - ps : ./Build.ps1
7
10
test : off
8
11
artifacts :
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
10
20
deploy :
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
6
6
# Until # 65 is addressed build only core package. When available move to netstandard for all packages
7
7
for path in src/** /Serilog.Sinks.Splunk.csproj; do
8
8
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}
10
10
done
11
11
12
12
for path in test/* .Tests/* .csproj; do
Original file line number Diff line number Diff line change 1
- version : ' 2 '
1
+ version : ' 3 '
2
2
services :
3
3
splunk :
4
4
build : ./sample/splunk
5
5
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!
6
10
ports :
7
11
- 8000:8000
8
12
- 8088:8088
9
13
- 8089:8089
10
- environment :
11
- SPLUNK_START_ARGS : " --accept-license --answer-yes --seed-passwd changeme"
12
- SPLUNK_USER : " root"
14
+ networks :
15
+ splunkbase_docker :
13
16
sampleconsoleapp :
14
17
depends_on :
15
18
- " splunk"
16
19
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)
17
17
{
18
18
var eventsToCreate = 100 ;
19
19
var runSSL = false ;
20
- var millisecsToWait = 30000 ;
20
+ var millisecsToWait = 60000 ;
21
21
22
22
if ( args . Length > 0 )
23
23
eventsToCreate = int . Parse ( args [ 0 ] ) ;
@@ -30,9 +30,7 @@ public static void Main(string[] args)
30
30
31
31
Serilog . Debugging . SelfLog . Enable ( System . Console . Out ) ;
32
32
Log . Information ( "Sample app starting up..." ) ;
33
-
34
33
Log . Information ( "Waiting {} millisecs..." , millisecsToWait ) ;
35
-
36
34
System . Threading . Thread . Sleep ( millisecsToWait ) ;
37
35
38
36
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
2
2
ADD etc ${SPLUNK_HOME}/etc
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<Description >The Splunk Sink for Serilog</Description >
5
- <VersionPrefix >3.1 .0</VersionPrefix >
5
+ <VersionPrefix >3.2 .0</VersionPrefix >
6
6
<Authors >Matthew Erbs, Serilog Contributors</Authors >
7
7
<TargetFrameworks >net45;netstandard1.1;netstandard2.0</TargetFrameworks >
8
8
<GenerateDocumentationFile >true</GenerateDocumentationFile >
You can’t perform that action at this time.
0 commit comments