Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
test(ci-broker.md): use cibtool trigger option defaults
Lars Wirzenius committed 1 year ago
commit c4bae7b09b0e3e5617ee5c32e5463c06ce1d89a7
parent c045335b69f0bdfba63bcf324910b8a43974a074
1 file changed +4 -4
modified ci-broker.md
@@ -650,7 +650,7 @@ given a Git repository xyzzy in the Radicle node
given the Radicle node emits a refsUpdated event for xyzzy
when I run ./env.sh synthetic-events synt.sock event.json --log log.txt

-
when I run ./env.sh cibtool --db ci-broker.db trigger --repo xyzzy --ref main --commit HEAD
+
when I run ./env.sh cibtool --db ci-broker.db trigger --repo xyzzy
when I run ./env.sh cibtool --db ci-broker.db event list --json

given a directory reports
@@ -1233,7 +1233,7 @@ _Who:_ `cib-devs`
given a Radicle node, with CI configured with broker.yaml and adapter dummy.sh
given a Git repository xyzzy in the Radicle node

-
when I run ./env.sh cibtool --db x.db trigger --repo xyzzy --ref main --commit HEAD --id-file id.txt
+
when I run ./env.sh cibtool --db x.db trigger --repo xyzzy --id-file id.txt

when I run cibtool --db x.db event show --id-file id.txt
then stdout contains "rad:"
@@ -1403,11 +1403,11 @@ when I try to run ./env.sh cibtool --db x.db event add --repo rad:z3byzFpcfbMJBp
then command fails
then stderr contains "rad:z3byzFpcfbMJBp4tKYyuuTZiP8WUB"

-
when I try to run ./env.sh cibtool --db x.db trigger --repo missing --ref main --commit HEAD --id-file id.txt
+
when I try to run ./env.sh cibtool --db x.db trigger --repo missing --id-file id.txt
then command fails
then stderr contains "missing"

-
when I try to run ./env.sh cibtool --db x.db trigger --repo rad:z3byzFpcfbMJBp4tKYyuuTZiP8WUB --ref main --commit HEAD --id-file id.txt
+
when I try to run ./env.sh cibtool --db x.db trigger --repo rad:z3byzFpcfbMJBp4tKYyuuTZiP8WUB --id-file id.txt
then command fails
then stderr contains "rad:z3byzFpcfbMJBp4tKYyuuTZiP8WUB"