Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
refactor: drop now-useless sed manipulation of node config
Lars Wirzenius committed 1 year ago
commit 0d86c048b900983469de3536afc6f1f165cab37c
parent 5478af8f419a657c6268d2b2f4077699ad3fc624
1 file changed +0 -6
modified ci-broker.md
@@ -243,7 +243,6 @@ given file broker.yaml
given file adapter.sh from dummy.sh
when I run chmod +x adapter.sh

-
when I run sed -i 's/"auto"/false/' homedir/.radicle/config.json
when I try to run bash radenv.sh RAD_SOCKET=synt.sock cib --config broker.yaml insert
then command is successful
when I run cibtool --db ci-broker.db event shutdown
@@ -294,7 +293,6 @@ given an installed cib
given file broker.yaml
given a directory reports

-
when I run sed -i 's/"auto"/false/' homedir/.radicle/config.json
when I try to run bash radenv.sh RAD_SOCKET=synt.sock cib --config broker.yaml insert
then command is successful
~~~
@@ -324,7 +322,6 @@ when I run bash radenv.sh bash setup-node.sh

given an installed cib
given file broker.yaml
-
when I run sed -i 's/"auto"/false/' homedir/.radicle/config.json
when I try to run bash radenv.sh RAD_SOCKET=xyzzy.sock cib --config broker.yaml insert
then command fails
then stderr contains "node control socket does not exist: xyzzy.sock"
@@ -354,7 +351,6 @@ when I run bash radenv.sh bash setup-node.sh
given an installed cib
given file broker.yaml
given file not-yaml.yaml
-
when I run sed -i 's/"auto"/false/' homedir/.radicle/config.json
when I try to run env HOME=homedir cib --config not-yaml.yaml config
then command fails
then stderr contains "failed to parse configuration file as YAML: not-yaml.yaml"
@@ -386,7 +382,6 @@ given an installed cib
given an installed synthetic-events
when I run synthetic-events synt.sock --log log.txt
given file broker.yaml
-
when I run sed -i 's/"auto"/false/' homedir/.radicle/config.json
when I try to run bash radenv.sh RAD_SOCKET=synt.sock cib --config broker.yaml insert
then stderr contains "connection to the node control socket broke"
~~~
@@ -417,7 +412,6 @@ given an installed synthetic-events
given file shutdown.json
given file broker.yaml
when I run synthetic-events synt.sock shutdown.json --log synt.log
-
when I run sed -i 's/"auto"/false/' homedir/.radicle/config.json
when I try to run bash radenv.sh RAD_SOCKET=synt.sock cib --config broker.yaml insert
then command is successful
~~~