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:z6MkpuPkhExAGBgjcAkUJ7JgRy2Q9tNEqpQCAZLwjq9jSF2L",
    "alias": "radicle.gofancy.wtf"
  },
  "before": "b312d0b1b706d8c18b3b7d318d862590a0159616",
  "after": "b312d0b1b706d8c18b3b7d318d862590a0159616",
  "branch": "main",
  "commits": [
    "b312d0b1b706d8c18b3b7d318d862590a0159616"
  ]
}

.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/91cf7502-0125-4621-8be0-6679a218c547/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/91cf7502-0125-4621-8be0-6679a218c547/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/91cf7502-0125-4621-8be0-6679a218c547/src

Exit code: 0

Run: git checkout b312d0b1b706d8c18b3b7d318d862590a0159616

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/91cf7502-0125-4621-8be0-6679a218c547/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at b312d0b fix script

Run: git show b312d0b1b706d8c18b3b7d318d862590a0159616

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/91cf7502-0125-4621-8be0-6679a218c547/src

Exit code: 0

Output (stdout and stderr):

commit b312d0b1b706d8c18b3b7d318d862590a0159616
Author: Matthew O'Gorman <mog@rldn.net>
Date:   Tue Nov 26 12:05:29 2024 -0500

    fix script

diff --git a/readme.md b/readme.md
index 2ef80f2..c1f2458 100644
--- a/readme.md
+++ b/readme.md
@@ -8,3 +8,6 @@ and its systemd
 
 
 link to latest [release](https://radart.rldn.net/rad_test/latest)
+
+
+everything still works

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/91cf7502-0125-4621-8be0-6679a218c547/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
Tue Nov 26 12:05:47 PM 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/91cf7502-0125-4621-8be0-6679a218c547/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/b312d0b1b706d8c18b3b7d318d862590a0159616 /mnt/drive_1/state/radicle/artifacts/rad_test/latest
+ date
Tue Nov 26 12:05:49 PM 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>"}'