rad:z2ixRGetGtwFtRyXjRgu5fH573wyy rad_test5d83aa1b4260afddef595058b0e3065baf9cbb85Request message.radicle/native.yamlgit clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/e94d6988-b975-43c5-ba1a-15636963fe6c/srcgit config advice.detachedHead falsegit checkout 5d83aa1b4260afddef595058b0e3065baf9cbb85git show 5d83aa1b4260afddef595058b0e3065baf9cbb85timeout 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 $(date)" > "${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"
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": "5d83aa1b4260afddef595058b0e3065baf9cbb85",
"after": "5d83aa1b4260afddef595058b0e3065baf9cbb85",
"branch": "main",
"commits": [
"5d83aa1b4260afddef595058b0e3065baf9cbb85"
]
}.radicle/native.yamlshell: |
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 $(date)" > "${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"
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/e94d6988-b975-43c5-ba1a-15636963fe6c/srcCommand arguments:
"git""clone""/home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy""/mnt/drive_1/state/radicle/reports/http/e94d6988-b975-43c5-ba1a-15636963fe6c/src"In directory: /
Exit code: 0
Output (stdout and stderr):
Cloning into '/mnt/drive_1/state/radicle/reports/http/e94d6988-b975-43c5-ba1a-15636963fe6c/src'... done.
git config advice.detachedHead falseCommand arguments:
"git""config""advice.detachedHead""false"In directory: /mnt/drive_1/state/radicle/reports/http/e94d6988-b975-43c5-ba1a-15636963fe6c/src
Exit code: 0
git checkout 5d83aa1b4260afddef595058b0e3065baf9cbb85Command arguments:
"git""checkout""5d83aa1b4260afddef595058b0e3065baf9cbb85"In directory: /mnt/drive_1/state/radicle/reports/http/e94d6988-b975-43c5-ba1a-15636963fe6c/src
Exit code: 0
Output (stdout and stderr):
HEAD is now at 5d83aa1 updated all things
git show 5d83aa1b4260afddef595058b0e3065baf9cbb85Command arguments:
"git""show""5d83aa1b4260afddef595058b0e3065baf9cbb85"In directory: /mnt/drive_1/state/radicle/reports/http/e94d6988-b975-43c5-ba1a-15636963fe6c/src
Exit code: 0
Output (stdout and stderr):
commit 5d83aa1b4260afddef595058b0e3065baf9cbb85
Author: Matthew O'Gorman <mog@rldn.net>
Date: Mon Dec 9 04:49:29 2024 -0500
updated all things
diff --git a/.radicle/native.yaml b/.radicle/native.yaml
index 6a7d2e3..0c3f204 100644
--- a/.radicle/native.yaml
+++ b/.radicle/native.yaml
@@ -3,7 +3,7 @@ shell: |
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)"
+ echo "hello world $(date)" > "${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"
diff --git a/readme.md b/readme.md
index c1f2458..dda87b7 100644
--- a/readme.md
+++ b/readme.md
@@ -10,4 +10,4 @@ and its systemd
link to latest [release](https://radart.rldn.net/rad_test/latest)
-everything still works
+everything still works!
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 $(date)" > "${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:
"timeout""3600""bash""-c""set -xeuo pipefail\necho \"{\\\"schemaVersion\\\":1,\\\"color\\\":\\\"yellow\\\",\\\"message\\\":\\\"In progress\\\",\\\"label\\\":\\\"Radicle-CI\\\",\\\"logoSvg\\\":\\\"$(cat $RADICLE_SVG)\\\"}\" > \"${ARTIFACT_DIR}/rad_test/status.json\"\ndate\ndevbox run elixir -e \"IO.puts(\\\"Hello world! #{inspect(File.cwd())}\\\")\"\ndevbox run elixir -e \"System.cmd(\\\"md5sum\\\",[\\\"devbox.json\\\"], into: IO.stream())\"\necho \"hello world $(date)\" > \"${ARTIFACT_DIR}/rad_test/$(git rev-parse HEAD)\"\nln -sf \"${ARTIFACT_DIR}/rad_test/$(git rev-parse HEAD)\" \"${ARTIFACT_DIR}/rad_test/latest\"\ndate\necho \"{\\\"schemaVersion\\\":1,\\\"color\\\":\\\"green\\\",\\\"message\\\":\\\"Success\\\",\\\"label\\\":\\\"Radicle-CI\\\",\\\"logoSvg\\\":\\\"$(cat $RADICLE_SVG)\\\"}\" > \"${ARTIFACT_DIR}/rad_test/status.json\"\n"In directory: /mnt/drive_1/state/radicle/reports/http/e94d6988-b975-43c5-ba1a-15636963fe6c/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
Mon Dec 9 04:50:29 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/e94d6988-b975-43c5-ba1a-15636963fe6c/src"}
+ devbox run elixir -e 'System.cmd("md5sum",["devbox.json"], into: IO.stream())'
e62f4be99f425927056e3c16cc1d5243 devbox.json
++ date
+ echo 'hello world Mon Dec 9 04:52:47 AM EST 2024'
++ git rev-parse HEAD
++ git rev-parse HEAD
+ ln -sf /mnt/drive_1/state/radicle/artifacts/rad_test/5d83aa1b4260afddef595058b0e3065baf9cbb85 /mnt/drive_1/state/radicle/artifacts/rad_test/latest
+ date
Mon Dec 9 04:52:47 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>"}'