rad:z2ixRGetGtwFtRyXjRgu5fH573wyy
rad_test822410d4f0f6f4c428c44b9f1c4412547ac0a206
Request message
.radicle/native.yaml
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/409a4e1d-a1fe-447b-9c52-ae3d879a07fc/src
git config advice.detachedHead false
git checkout 822410d4f0f6f4c428c44b9f1c4412547ac0a206
git show 822410d4f0f6f4c428c44b9f1c4412547ac0a206
timeout 3600 bash -c set -xeuo pipefail
set +x
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 -sf "${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": "e107ac775c0bab399c0f15271cdbdc3c99321627", "after": "822410d4f0f6f4c428c44b9f1c4412547ac0a206", "branch": "main", "commits": [ "822410d4f0f6f4c428c44b9f1c4412547ac0a206" ] }
.radicle/native.yaml
shell: | set +x 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 -sf "${ARTIFACT_DIR}/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/latest" date
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/409a4e1d-a1fe-447b-9c52-ae3d879a07fc/src
Command arguments:
"git"
"clone"
"/home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy"
"/mnt/drive_1/state/radicle/reports/http/409a4e1d-a1fe-447b-9c52-ae3d879a07fc/src"
In directory: /
Exit code: 0
Output (stdout and stderr):
Cloning into '/mnt/drive_1/state/radicle/reports/http/409a4e1d-a1fe-447b-9c52-ae3d879a07fc/src'... done.
git config advice.detachedHead false
Command arguments:
"git"
"config"
"advice.detachedHead"
"false"
In directory: /mnt/drive_1/state/radicle/reports/http/409a4e1d-a1fe-447b-9c52-ae3d879a07fc/src
Exit code: 0
git checkout 822410d4f0f6f4c428c44b9f1c4412547ac0a206
Command arguments:
"git"
"checkout"
"822410d4f0f6f4c428c44b9f1c4412547ac0a206"
In directory: /mnt/drive_1/state/radicle/reports/http/409a4e1d-a1fe-447b-9c52-ae3d879a07fc/src
Exit code: 0
Output (stdout and stderr):
HEAD is now at 822410d overwrite old symlink
git show 822410d4f0f6f4c428c44b9f1c4412547ac0a206
Command arguments:
"git"
"show"
"822410d4f0f6f4c428c44b9f1c4412547ac0a206"
In directory: /mnt/drive_1/state/radicle/reports/http/409a4e1d-a1fe-447b-9c52-ae3d879a07fc/src
Exit code: 0
Output (stdout and stderr):
commit 822410d4f0f6f4c428c44b9f1c4412547ac0a206 Author: Matthew O'Gorman <mog@rldn.net> Date: Wed Nov 20 05:59:24 2024 -0500 overwrite old symlink diff --git a/.radicle/native.yaml b/.radicle/native.yaml index 6c6ffec..775e002 100644 --- a/.radicle/native.yaml +++ b/.radicle/native.yaml @@ -4,5 +4,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}/latest" + ln -sf "${ARTIFACT_DIR}/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/latest" date
timeout 3600 bash -c set -xeuo pipefail
set +x
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 -sf "${ARTIFACT_DIR}/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/latest"
date
Command arguments:
"timeout"
"3600"
"bash"
"-c"
"set -xeuo pipefail\nset +x\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 -sf \"${ARTIFACT_DIR}/$(git rev-parse HEAD)\" \"${ARTIFACT_DIR}/latest\"\ndate\n"
In directory: /mnt/drive_1/state/radicle/reports/http/409a4e1d-a1fe-447b-9c52-ae3d879a07fc/src
Exit code: 0
Output (stdout and stderr):
+ set +x Wed Nov 20 05:59:33 AM EST 2024 Info: Ensuring packages are installed. Hello world! {:ok, "/mnt/drive_1/state/radicle/reports/http/409a4e1d-a1fe-447b-9c52-ae3d879a07fc/src"} e62f4be99f425927056e3c16cc1d5243 devbox.json Wed Nov 20 05:59:37 AM EST 2024