Log from Radicle native CI

Table of contents

Request message

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z2ixRGetGtwFtRyXjRgu5fH573wyy",
    "name": "rad_test",
    "description": "hello world",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkfWmqiRRFTTo4PHqwQHjdmukFuxRPMbh2VespxWpSUvNm"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkfWmqiRRFTTo4PHqwQHjdmukFuxRPMbh2VespxWpSUvNm",
    "alias": "mog"
  },
  "before": "2443fe72432c94b7d3a33b393d4b61ed84ababfa",
  "after": "6d8763492f93c2c6a573ab50ac113c6df914ef41",
  "branch": "main",
  "commits": [
    "6d8763492f93c2c6a573ab50ac113c6df914ef41"
  ]
}

.radicle/native.yaml

shell: |
  echo "{\"schemaVersion\":1,\"color\":\"yellow\",\"message\":\"In progress\",\"label\":\"Radicle-CI\",\"logoSvg\":\"$(cat $RADICLE_SVG)\"}" > "${ARTIFACT_DIR}/rad_test/status.json"
  date
  devbox run  elixir -e "IO.puts(\"Hello world! #{inspect(File.cwd())}\")"
  devbox run  elixir -e "System.cmd(\"md5sum\",[\"devbox.json\"], into: IO.stream())"
  echo "hello world" > "${ARTIFACT_DIR}/rad_test/$(git rev-parse HEAD)"
  ln -sf  "${ARTIFACT_DIR}/rad_test/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/rad_test/latest"
  date
  echo "{\"schemaVersion\":1,\"color\":\"green\",\"message\":\"Success\",\"label\":\"Radicle-CI\",\"logoSvg\":\"$(cat $RADICLE_SVG)\"}" > "${ARTIFACT_DIR}/rad_test/status.json"

Run: git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/367a2f74-d958-44d3-9a3e-2996795fdced/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/367a2f74-d958-44d3-9a3e-2996795fdced/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/367a2f74-d958-44d3-9a3e-2996795fdced/src

Exit code: 0

Run: git checkout 6d8763492f93c2c6a573ab50ac113c6df914ef41

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/367a2f74-d958-44d3-9a3e-2996795fdced/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at 6d87634 fix script

Run: git show 6d8763492f93c2c6a573ab50ac113c6df914ef41

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/367a2f74-d958-44d3-9a3e-2996795fdced/src

Exit code: 0

Output (stdout and stderr):

commit 6d8763492f93c2c6a573ab50ac113c6df914ef41
Author: Matthew O'Gorman <mog@rldn.net>
Date:   Wed Nov 20 09:55:27 2024 -0500

    fix script

diff --git a/.radicle/native.yaml b/.radicle/native.yaml
index 37a89a0..6a7d2e3 100644
--- a/.radicle/native.yaml
+++ b/.radicle/native.yaml
@@ -1,5 +1,4 @@
 shell: |
-  set +x
   echo "{\"schemaVersion\":1,\"color\":\"yellow\",\"message\":\"In progress\",\"label\":\"Radicle-CI\",\"logoSvg\":\"$(cat $RADICLE_SVG)\"}" > "${ARTIFACT_DIR}/rad_test/status.json"
   date
   devbox run  elixir -e "IO.puts(\"Hello world! #{inspect(File.cwd())}\")"

Run: timeout 3600 bash -c set -xeuo pipefail echo "{\"schemaVersion\":1,\"color\":\"yellow\",\"message\":\"In progress\",\"label\":\"Radicle-CI\",\"logoSvg\":\"$(cat $RADICLE_SVG)\"}" > "${ARTIFACT_DIR}/rad_test/status.json" date devbox run elixir -e "IO.puts(\"Hello world! #{inspect(File.cwd())}\")" devbox run elixir -e "System.cmd(\"md5sum\",[\"devbox.json\"], into: IO.stream())" echo "hello world" > "${ARTIFACT_DIR}/rad_test/$(git rev-parse HEAD)" ln -sf "${ARTIFACT_DIR}/rad_test/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/rad_test/latest" date echo "{\"schemaVersion\":1,\"color\":\"green\",\"message\":\"Success\",\"label\":\"Radicle-CI\",\"logoSvg\":\"$(cat $RADICLE_SVG)\"}" > "${ARTIFACT_DIR}/rad_test/status.json"

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/367a2f74-d958-44d3-9a3e-2996795fdced/src

Exit code: 0

Output (stdout and stderr):

++ cat /mnt/drive_1/state/radicle/artifacts/radicle.svg
+ echo '{"schemaVersion":1,"color":"yellow","message":"In progress","label":"Radicle-CI","logoSvg":"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"44\" height=\"44\" viewBox=\"0 0 44 44\" fill=\"none\">  <g shape-rendering=\"crispEdges\">    <rect x=\"8\" y=\"0\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"32\" y=\"0\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"4\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"4\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"8\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"16\" y=\"8\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"20\" y=\"8\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"8\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"28\" y=\"8\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"8\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"16\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"20\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"32\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"4\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"8\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"16\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"16\" y=\"16\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"20\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"16\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"32\" y=\"16\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"36\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"4\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"8\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"20\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"16\" y=\"20\" width=\"4\" height=\"4\" fill=\"#FF55FF\"/>    <rect x=\"20\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"20\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"32\" y=\"20\" width=\"4\" height=\"4\" fill=\"#FF55FF\"/>    <rect x=\"36\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"0\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"4\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"8\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"12\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"16\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"20\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"24\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"28\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"32\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"36\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"40\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"8\" y=\"28\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"16\" y=\"28\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"28\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"32\" y=\"28\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"8\" y=\"32\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"16\" y=\"32\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"32\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"32\" y=\"32\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"16\" y=\"36\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"36\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"40\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"16\" y=\"40\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"40\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"40\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>  </g></svg>"}'
+ date
Wed Nov 20 09:55:33 AM EST 2024
+ devbox run elixir -e 'IO.puts("Hello world! #{inspect(File.cwd())}")'
Info: Ensuring packages are installed.
Hello world! {:ok, "/mnt/drive_1/state/radicle/reports/http/367a2f74-d958-44d3-9a3e-2996795fdced/src"}
+ devbox run elixir -e 'System.cmd("md5sum",["devbox.json"], into: IO.stream())'
e62f4be99f425927056e3c16cc1d5243  devbox.json
+ echo 'hello world'
++ git rev-parse HEAD
++ git rev-parse HEAD
+ ln -sf /mnt/drive_1/state/radicle/artifacts/rad_test/6d8763492f93c2c6a573ab50ac113c6df914ef41 /mnt/drive_1/state/radicle/artifacts/rad_test/latest
+ date
Wed Nov 20 09:55:35 AM EST 2024
++ cat /mnt/drive_1/state/radicle/artifacts/radicle.svg
+ echo '{"schemaVersion":1,"color":"green","message":"Success","label":"Radicle-CI","logoSvg":"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"44\" height=\"44\" viewBox=\"0 0 44 44\" fill=\"none\">  <g shape-rendering=\"crispEdges\">    <rect x=\"8\" y=\"0\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"32\" y=\"0\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"4\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"4\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"8\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"16\" y=\"8\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"20\" y=\"8\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"8\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"28\" y=\"8\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"8\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"16\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"20\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"32\" y=\"12\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"4\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"8\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"16\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"16\" y=\"16\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"20\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"16\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"32\" y=\"16\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"36\" y=\"16\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"4\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"8\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"20\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"16\" y=\"20\" width=\"4\" height=\"4\" fill=\"#FF55FF\"/>    <rect x=\"20\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"20\" width=\"4\" height=\"4\" fill=\"#F4F4F4\"/>    <rect x=\"32\" y=\"20\" width=\"4\" height=\"4\" fill=\"#FF55FF\"/>    <rect x=\"36\" y=\"20\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"0\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"4\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"8\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"12\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"16\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"20\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"24\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"28\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"32\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"36\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"40\" y=\"24\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"8\" y=\"28\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"16\" y=\"28\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"28\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"32\" y=\"28\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"8\" y=\"32\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"16\" y=\"32\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"32\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"32\" y=\"32\" width=\"4\" height=\"4\" fill=\"#3333DD\"/>    <rect x=\"16\" y=\"36\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"36\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"12\" y=\"40\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"16\" y=\"40\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"24\" y=\"40\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>    <rect x=\"28\" y=\"40\" width=\"4\" height=\"4\" fill=\"#5555FF\"/>  </g></svg>"}'