Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix(ci-broker.md): replace only the DUMMYNID part
Lars Wirzenius committed 1 year ago
commit 5478af8f419a657c6268d2b2f4077699ad3fc624
parent 93e17fe9ec49188ab1924ceeaba76c96308871ec
1 file changed +3 -3
modified ci-broker.md
@@ -127,7 +127,7 @@ if "updated" in o:
    x = o["updated"]
    for oo in x:
        name = oo["updated"]["name"]
-
        oo["updated"]["name"] = f"refs/namespaces/{nid}/{name}"
+
        oo["updated"]["name"] = nid.join(name.split("DUMMYNID"))
        oo["updated"]["new"] = oid
    o["updated"] = x

@@ -246,17 +246,17 @@ 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

given an installed cibtool
when I run cibtool --db ci-broker.db event list
when I run cibtool --db ci-broker.db run list
-
when I run false

when I try to run bash radenv.sh cib --config broker.yaml queued
then command is successful

when I run cibtool --db ci-broker.db run list
-
then stdout contains "Paracelsus"
+
then stdout contains "id: "xyzzy""
~~~