make scenario steps a little clearer
3 files changed
+112
-123
768b9668
→
c377b05a
modified ci-broker.md
@@ -223,7 +223,7 @@ output is in the JSON format. It does not try to make sure the JSON
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -241,21 +241,20 @@ nothing else has a hope of working.
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -264,9 +263,8 @@ then stderr contains "CI broker ends successfully"
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -284,15 +282,14 @@ reports.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -314,11 +311,11 @@ user can access individual logs.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -327,7 +324,6 @@ when I run synthetic-events synt.sock refsfetched.json --log log.txt
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -354,11 +350,11 @@ reduces the support burden on the Radicle project.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -382,11 +378,11 @@ a thing that can always be made better. We can later add more
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -412,12 +408,11 @@ handled by a dedicated system, such as `systemd`.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -441,19 +436,18 @@ an object id of all zeros. This should be sufficiently impossible to
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -467,11 +461,11 @@ _Why:_ This is useful for diagnosis, if nothing else.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -495,19 +489,18 @@ error output. This makes it easier to debug adapter problems.
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -523,11 +516,11 @@ _Why:_ This allows controlling how much log spew log admins have to see.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -622,7 +615,7 @@ time: if the time is too short, the scenario fails spuriously, and if
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -659,7 +652,7 @@ work of multiple processes, either.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -681,13 +674,11 @@ in a node change.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -711,13 +702,11 @@ _Why:_ We need at least some rudimentary performance testing.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -741,13 +730,11 @@ in a node change.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -775,16 +762,13 @@ events. We carefully add a shutdown event so that the CI broker shuts
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -796,7 +780,7 @@ then stderr contains "Action: run:"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -820,7 +804,7 @@ count to a desired goal. The script then verifies that everything went
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -903,13 +887,13 @@ itself for this test, but the id shouldn't matter, it just needs to
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -920,7 +904,7 @@ then stdout contains "main"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -934,13 +918,13 @@ operator wants to prevent many CI runs from happening.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -951,7 +935,7 @@ when I run bash radenv.sh cibtool --db x.db event add --repo testy --ref main --
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -965,9 +949,9 @@ to be able to do this cleanly.
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -986,11 +970,11 @@ _Who:_ `cib-devs`
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1008,13 +992,13 @@ _Why:_ This is primarily needed for testing.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1031,13 +1015,13 @@ _Why:_ This is primarily needed for testing.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1056,13 +1040,13 @@ _Why:_ This is primarily needed for testing.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1081,13 +1065,13 @@ _Why:_ This is primarily needed for testing.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1096,7 +1080,7 @@ then stdout contains ""result": "failure""
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1108,13 +1092,13 @@ _Why:_ This is primarily needed for testing.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1158,12 +1142,11 @@ Note that we verify both lookup by name and by repository ID, and by
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -1193,17 +1176,16 @@ useful for gathering data for trying out event filters.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1220,17 +1202,16 @@ It's also helpful for CI broker developers as a development tool.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1248,17 +1229,16 @@ event filters work as they expect.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1268,7 +1248,7 @@ then stdout contains "BranchUpdated"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1320,15 +1300,13 @@ any events, so `cib` just terminates at once. All of this will work,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -1351,8 +1329,7 @@ We check this by running the CI broker without a local node. This is
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1377,11 +1354,11 @@ monitoring system.
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1430,19 +1407,17 @@ the Git commit identifiers instead. In any case, this scenario needs
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
modified ci-broker.yaml
@@ -1,19 +1,19 @@
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
modified src/subplot.rs
@@ -1,7 +1,14 @@
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -12,38 +19,10 @@ impl ContextElement for SubplotContext {}
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -65,6 +44,29 @@ fn bindir() -> PathBuf {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -72,3 +74,15 @@ fn stdout_has_one_line(runcmd: &Runcmd) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |