rad:z2ixRGetGtwFtRyXjRgu5fH573wyy rad_test7aa8fc8a08eef1bf32d279960088cead5268a1f1Request message.radicle/native.yamlgit clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/357c6243-75af-470a-9e12-bbb214f7ea2d/srcgit config advice.detachedHead falsegit checkout 7aa8fc8a08eef1bf32d279960088cead5268a1f1git show 7aa8fc8a08eef1bf32d279960088cead5268a1f1timeout 3600 bash -c set -xeuo pipefail
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}/$(git rev-parse HEAD)"
ln -s  "${ARTIFACT_DIR}/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/latest"
date
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": "c483eb1d20f3649387706186d36f0869842f25c0",
  "after": "7aa8fc8a08eef1bf32d279960088cead5268a1f1",
  "branch": "main",
  "commits": [
    "7aa8fc8a08eef1bf32d279960088cead5268a1f1",
    "0f740116b06a37d8b6db4c9767a236c7401067b4"
  ]
}.radicle/native.yamlshell: |
  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}/$(git rev-parse HEAD)"
  ln -s  "${ARTIFACT_DIR}/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/latest"
  date
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/357c6243-75af-470a-9e12-bbb214f7ea2d/srcCommand arguments:
"git""clone""/home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy""/mnt/drive_1/state/radicle/reports/http/357c6243-75af-470a-9e12-bbb214f7ea2d/src"In directory: /
Exit code: 0
Output (stdout and stderr):
Cloning into '/mnt/drive_1/state/radicle/reports/http/357c6243-75af-470a-9e12-bbb214f7ea2d/src'... done.
git config advice.detachedHead falseCommand arguments:
"git""config""advice.detachedHead""false"In directory: /mnt/drive_1/state/radicle/reports/http/357c6243-75af-470a-9e12-bbb214f7ea2d/src
Exit code: 0
git checkout 7aa8fc8a08eef1bf32d279960088cead5268a1f1Command arguments:
"git""checkout""7aa8fc8a08eef1bf32d279960088cead5268a1f1"In directory: /mnt/drive_1/state/radicle/reports/http/357c6243-75af-470a-9e12-bbb214f7ea2d/src
Exit code: 0
Output (stdout and stderr):
HEAD is now at 7aa8fc8 add latest
git show 7aa8fc8a08eef1bf32d279960088cead5268a1f1Command arguments:
"git""show""7aa8fc8a08eef1bf32d279960088cead5268a1f1"In directory: /mnt/drive_1/state/radicle/reports/http/357c6243-75af-470a-9e12-bbb214f7ea2d/src
Exit code: 0
Output (stdout and stderr):
commit 7aa8fc8a08eef1bf32d279960088cead5268a1f1
Author: Matthew O'Gorman <mog@rldn.net>
Date:   Wed Nov 20 05:51:02 2024 -0500
    add latest
diff --git a/.radicle/native.yaml b/.radicle/native.yaml
index 5133aa4..7f916c4 100644
--- a/.radicle/native.yaml
+++ b/.radicle/native.yaml
@@ -3,5 +3,5 @@ shell: |
   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}/$(git rev-parse HEAD)"
-  ln -s  "${ARTIFACT_DIR}/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/current"
+  ln -s  "${ARTIFACT_DIR}/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/latest"
   date
timeout 3600 bash -c set -xeuo pipefail
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}/$(git rev-parse HEAD)"
ln -s  "${ARTIFACT_DIR}/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/latest"
date
Command arguments:
"timeout""3600""bash""-c""set -xeuo pipefail\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\" > \"${ARTIFACT_DIR}/$(git rev-parse HEAD)\"\nln -s  \"${ARTIFACT_DIR}/$(git rev-parse HEAD)\" \"${ARTIFACT_DIR}/latest\"\ndate\n"In directory: /mnt/drive_1/state/radicle/reports/http/357c6243-75af-470a-9e12-bbb214f7ea2d/src
Exit code: 0
Output (stdout and stderr):
+ date
Wed Nov 20 05:51:08 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/357c6243-75af-470a-9e12-bbb214f7ea2d/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 -s /mnt/drive_1/state/radicle/artifacts/7aa8fc8a08eef1bf32d279960088cead5268a1f1 /mnt/drive_1/state/radicle/artifacts/latest
+ date
Wed Nov 20 05:51:10 AM EST 2024