rad:z2ixRGetGtwFtRyXjRgu5fH573wyy
rad_test75b548c24c8856864f7d28300b4478998b781da5
Request message
.radicle/native.yaml
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/c9081917-45bf-44d4-a3c9-3d75b3529e59/src
git config advice.detachedHead false
git checkout 75b548c24c8856864f7d28300b4478998b781da5
git show 75b548c24c8856864f7d28300b4478998b781da5
timeout 3600 bash -c set -xeuo pipefail
set +x
echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\"}" > "${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 "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\"}" > "${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": "fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9", "after": "75b548c24c8856864f7d28300b4478998b781da5", "branch": "main", "commits": [ "75b548c24c8856864f7d28300b4478998b781da5" ] }
.radicle/native.yaml
shell: | set +x echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\"}" > "${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 "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\"}" > "${ARTIFACT_DIR}/rad_test/status.json"
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/c9081917-45bf-44d4-a3c9-3d75b3529e59/src
Command arguments:
"git"
"clone"
"/home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy"
"/mnt/drive_1/state/radicle/reports/http/c9081917-45bf-44d4-a3c9-3d75b3529e59/src"
In directory: /
Exit code: 0
Output (stdout and stderr):
Cloning into '/mnt/drive_1/state/radicle/reports/http/c9081917-45bf-44d4-a3c9-3d75b3529e59/src'... done.
git config advice.detachedHead false
Command arguments:
"git"
"config"
"advice.detachedHead"
"false"
In directory: /mnt/drive_1/state/radicle/reports/http/c9081917-45bf-44d4-a3c9-3d75b3529e59/src
Exit code: 0
git checkout 75b548c24c8856864f7d28300b4478998b781da5
Command arguments:
"git"
"checkout"
"75b548c24c8856864f7d28300b4478998b781da5"
In directory: /mnt/drive_1/state/radicle/reports/http/c9081917-45bf-44d4-a3c9-3d75b3529e59/src
Exit code: 0
Output (stdout and stderr):
HEAD is now at 75b548c remove sleep
git show 75b548c24c8856864f7d28300b4478998b781da5
Command arguments:
"git"
"show"
"75b548c24c8856864f7d28300b4478998b781da5"
In directory: /mnt/drive_1/state/radicle/reports/http/c9081917-45bf-44d4-a3c9-3d75b3529e59/src
Exit code: 0
Output (stdout and stderr):
commit 75b548c24c8856864f7d28300b4478998b781da5 Author: Matthew O'Gorman <mog@rldn.net> Date: Wed Nov 20 07:32:04 2024 -0500 remove sleep diff --git a/.radicle/native.yaml b/.radicle/native.yaml index 38c476d..7f2c784 100644 --- a/.radicle/native.yaml +++ b/.radicle/native.yaml @@ -7,5 +7,4 @@ shell: | 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 - sleep 10 echo "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\"}" > "${ARTIFACT_DIR}/rad_test/status.json"
timeout 3600 bash -c set -xeuo pipefail
set +x
echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\"}" > "${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 "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\"}" > "${ARTIFACT_DIR}/rad_test/status.json"
Command arguments:
"timeout"
"3600"
"bash"
"-c"
"set -xeuo pipefail\nset +x\necho \"{\\\"color\\\":\\\"yellow\\\",\\\"status\\\":\\\"In Progress\\\", \\\"subject\\\":\\\"Radicle-CI\\\"}\" > \"${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\" > \"${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 \"{\\\"color\\\":\\\"green\\\",\\\"status\\\":\\\"Success\\\", \\\"subject\\\":\\\"Radicle-CI\\\"}\" > \"${ARTIFACT_DIR}/rad_test/status.json\"\n"
In directory: /mnt/drive_1/state/radicle/reports/http/c9081917-45bf-44d4-a3c9-3d75b3529e59/src
Exit code: 0
Output (stdout and stderr):
+ set +x Wed Nov 20 07:32:10 AM EST 2024 Info: Ensuring packages are installed. Hello world! {:ok, "/mnt/drive_1/state/radicle/reports/http/c9081917-45bf-44d4-a3c9-3d75b3529e59/src"} e62f4be99f425927056e3c16cc1d5243 devbox.json Wed Nov 20 07:32:13 AM EST 2024