Skip to content

Commit

Permalink
Does this help CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
John-LittleBearLabs committed Nov 14, 2022
1 parent 224fe66 commit b3a3340
Show file tree
Hide file tree
Showing 4 changed files with 343 additions and 0 deletions.
6 changes: 6 additions & 0 deletions composer/demo/artifacts.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"rust-master.tcp" = "578ce20eaf5a"
"rust-v0.47.0.tcp" = "3948eafb262e"
"go-master.tcp" = "0ef14e652779"
"go-v0.22.tcp" = "02a3cb6feb1c"
"go-ckousik.webrtc" = "494b96a42a09"
"anotherwebrtc.webrtc" = "494b96a42a09"
211 changes: 211 additions & 0 deletions composer/demo/combinations.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
[[runs]]
Id = "rust-master x rust-v0.47.0 : tcp"
transport = "tcp"

[[runs.groups]]
Id = "rust-master.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs.groups]]
Id = "rust-v0.47.0.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs]]
Id = "rust-master x go-master : tcp"
transport = "tcp"

[[runs.groups]]
Id = "rust-master.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs.groups]]
Id = "go-master.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs]]
Id = "rust-master x go-v0.22 : tcp"
transport = "tcp"

[[runs.groups]]
Id = "rust-master.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs.groups]]
Id = "go-v0.22.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs]]
Id = "rust-v0.47.0 x go-master : tcp"
transport = "tcp"

[[runs.groups]]
Id = "rust-v0.47.0.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs.groups]]
Id = "go-master.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs]]
Id = "rust-v0.47.0 x go-v0.22 : tcp"
transport = "tcp"

[[runs.groups]]
Id = "rust-v0.47.0.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs.groups]]
Id = "go-v0.22.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs]]
Id = "go-master x go-v0.22 : tcp"
transport = "tcp"

[[runs.groups]]
Id = "go-master.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs.groups]]
Id = "go-v0.22.tcp"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "tcp"

[[runs]]
Id = "go-ckousik x anotherwebrtc : webrtc"
transport = "webrtc"

[[runs.groups]]
Id = "go-ckousik.webrtc"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "webrtc"

[[runs.groups]]
Id = "anotherwebrtc.webrtc"

[runs.groups.instances]
count = 1

[runs.groups.test_params]
transport = "webrtc"

[[instances]]
Id = "rust-master.tcp"
Version = "0.48.0"
IsMaster = true
Implementation = "rust"
CargoFeatures = "libp2pmaster"
SupportedTransports = [ "tcp" ]
transport = "tcp"

[[instances]]
Id = "rust-v0.47.0.tcp"
Version = "0.47.0"
Implementation = "rust"
CargoFeatures = "libp2pv0470"
SupportedTransports = [ "tcp" ]
transport = "tcp"

[[instances]]
Id = "go-master.tcp"
GoVersion = "1.18"
IsMaster = true
Modfile = "go.v0.22.mod"
Implementation = "go"
Selector = "v0.22"
SupportedTransports = [ "tcp" ]
transport = "tcp"

[[instances]]
Id = "go-v0.22.tcp"
GoVersion = "1.18"
Modfile = "go.v0.22.mod"
Implementation = "go"
Selector = "v0.22"
SupportedTransports = [ "tcp" ]
transport = "tcp"

[[instances]]
Id = "go-ckousik.webrtc"
GoVersion = "1.18"
Modfile = "go.ckousik.mod"
Implementation = "go"
Repository = "https://github.com/ckousik/go-libp2p.git"
Branch = "ckousik/webrtc"
Selector = "ckousik"
SupportedTransports = [ "webrtc" ]
transport = "webrtc"

[[instances]]
Id = "anotherwebrtc.webrtc"
GoVersion = "1.18"
Modfile = "go.ckousik.mod"
Implementation = "go"
Repository = "https://github.com/ckousik/go-libp2p.git"
Branch = "ckousik/webrtc"
Selector = "ckousik"
SupportedTransports = [ "webrtc" ]
transport = "webrtc"
8 changes: 8 additions & 0 deletions composer/demo/results.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
run_index;run_id;status
0;rust-master x rust-v0.47.0 : tcp;pass
1;rust-master x go-master : tcp;pass
2;rust-master x go-v0.22 : tcp;pass
3;rust-v0.47.0 x go-master : tcp;pass
4;rust-v0.47.0 x go-v0.22 : tcp;pass
5;go-master x go-v0.22 : tcp;pass
6;go-ckousik x anotherwebrtc : webrtc;fail
118 changes: 118 additions & 0 deletions composer/demo/results.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
<html>
<body>
<table border=1>
<tbody>
<tr>
<td>Test case</td>
<td colspan="3"><strong>Source Host</strong></td>
<td rowspan="2">Run <p dir="auto">Test</p></td>
<td colspan="3"><strong>Destination Host</strong></td>
<td>Expected Res</td>
</tr>
<tr>
<td></td>
<td>Imp</td>
<td>Ver</td>
<td>Trans</td>
<td>Imp</td>
<td>Ver</td>
<td>Trans</td>
<td>RTT</td>
<td>Status</td>
</tr>

<tr>
<td>1</td>
<td>rust</td>
<td>0.48.0</td>
<td>tcp</td>
<td>X</td>
<td>rust</td>
<td>0.47.0</td>
<td>tcp</td>
<td>rtt</td>
<td>pass</td>
</tr>

<tr>
<td>2</td>
<td>rust</td>
<td>0.48.0</td>
<td>tcp</td>
<td>X</td>
<td>go</td>
<td>v0.22</td>
<td>tcp</td>
<td>rtt</td>
<td>pass</td>
</tr>

<tr>
<td>3</td>
<td>rust</td>
<td>0.48.0</td>
<td>tcp</td>
<td>X</td>
<td>go</td>
<td>v0.22</td>
<td>tcp</td>
<td>rtt</td>
<td>pass</td>
</tr>

<tr>
<td>4</td>
<td>rust</td>
<td>0.47.0</td>
<td>tcp</td>
<td>X</td>
<td>go</td>
<td>v0.22</td>
<td>tcp</td>
<td>rtt</td>
<td>pass</td>
</tr>

<tr>
<td>5</td>
<td>rust</td>
<td>0.47.0</td>
<td>tcp</td>
<td>X</td>
<td>go</td>
<td>v0.22</td>
<td>tcp</td>
<td>rtt</td>
<td>pass</td>
</tr>

<tr>
<td>6</td>
<td>go</td>
<td>v0.22</td>
<td>tcp</td>
<td>X</td>
<td>go</td>
<td>v0.22</td>
<td>tcp</td>
<td>rtt</td>
<td>pass</td>
</tr>

<tr>
<td>7</td>
<td>go</td>
<td>ckousik</td>
<td>webrtc</td>
<td>X</td>
<td>go</td>
<td>ckousik</td>
<td>webrtc</td>
<td>rtt</td>
<td>fail</td>
</tr>

</tbody>
</table>
</body>
</html>

0 comments on commit b3a3340

Please sign in to comment.