feat: `cibtool trigger` uses default branch by default
Previously main was used by default.
Signed-off-by: Lars Wirzenius liw@liw.fi
feat: cibtool event add defaults to default branch
Signed-off-by: Lars Wirzenius liw@liw.fi
feat: cibtool event add defaults to HEAD commit of chosen ref
Signed-off-by: Lars Wirzenius liw@liw.fi
4 files changed
+77
-50
b84fffaf
→
a13b5a98
modified ci-broker.md
@@ -700,7 +700,7 @@ Verify that `cib` can process a branch creation event.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -710,7 +710,7 @@ Verify that `cib` can process a branch update event.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -720,7 +720,7 @@ Verify that `cib` can process a branch deletion event.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -730,7 +730,7 @@ Verify that `cib` can process a patch creation event.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -740,7 +740,7 @@ Verify that `cib` can process a patch update event.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1020,8 +1020,8 @@ given a Radicle node, with CI configured with broker.yaml and adapter dummy.sh
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1224,8 +1224,8 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1259,8 +1259,8 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1294,8 +1294,8 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1328,8 +1328,8 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1362,8 +1362,8 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1397,8 +1397,8 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1434,8 +1434,8 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1470,8 +1470,8 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1507,8 +1507,8 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1542,13 +1542,13 @@ given a Radicle node, with CI configured with broker.yaml and adapter dummy.sh
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1778,7 +1778,7 @@ down.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1901,7 +1901,7 @@ given a Git repository xyzzy in the Radicle node
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1930,12 +1930,12 @@ given a Git repository testy in the Radicle node
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1977,7 +1977,7 @@ given a Radicle node, with CI configured with broker.yaml and adapter dummy.sh
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1997,7 +1997,7 @@ given a Radicle node, with CI configured with broker.yaml and adapter dummy.sh
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2017,7 +2017,7 @@ given a Radicle node, with CI configured with broker.yaml and adapter dummy.sh
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2037,7 +2037,7 @@ given a Radicle node, with CI configured with broker.yaml and adapter dummy.sh
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2057,7 +2057,7 @@ given a Radicle node, with CI configured with broker.yaml and adapter dummy.sh
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2295,11 +2295,11 @@ Note that we verify both lookup by name and by repository ID, and by
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/bin/cibtool.rs
@@ -274,6 +274,9 @@ enum CibToolError {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/bin/cibtoolcmd/event.rs
@@ -77,14 +77,15 @@ pub struct AddEvent {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -181,8 +182,20 @@ impl Leaf for AddEvent {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/bin/cibtoolcmd/trigger.rs
@@ -16,7 +16,7 @@ pub struct TriggerCmd {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -49,8 +49,19 @@ impl Leaf for TriggerCmd {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|