rad:z2ixRGetGtwFtRyXjRgu5fH573wyy
rad_testb2e3c85bf8d31035f7b93a11b143a423ad3e0cdd
Request message
.radicle/native.yaml
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/1cdd82a5-afd9-47ee-a833-b24120bd20d0/src
git config advice.detachedHead false
git checkout b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd
git show b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd
timeout 3600 bash -c set -xeuo pipefail
set +x
echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\", \"icon\":\"github\"}" > "${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
sleep 100
echo "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\", \"icon\":\"radicle\"}" > "${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": "a5efe5829cd3630e73699638d64944cadd90463f", "after": "b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd", "branch": "main", "commits": [ "b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd" ] }
.radicle/native.yaml
shell: | set +x echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\", \"icon\":\"github\"}" > "${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 sleep 100 echo "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\", \"icon\":\"radicle\"}" > "${ARTIFACT_DIR}/rad_test/status.json"
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/1cdd82a5-afd9-47ee-a833-b24120bd20d0/src
Command arguments:
"git"
"clone"
"/home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy"
"/mnt/drive_1/state/radicle/reports/http/1cdd82a5-afd9-47ee-a833-b24120bd20d0/src"
In directory: /
Exit code: 0
Output (stdout and stderr):
Cloning into '/mnt/drive_1/state/radicle/reports/http/1cdd82a5-afd9-47ee-a833-b24120bd20d0/src'... done.
git config advice.detachedHead false
Command arguments:
"git"
"config"
"advice.detachedHead"
"false"
In directory: /mnt/drive_1/state/radicle/reports/http/1cdd82a5-afd9-47ee-a833-b24120bd20d0/src
Exit code: 0
git checkout b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd
Command arguments:
"git"
"checkout"
"b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd"
In directory: /mnt/drive_1/state/radicle/reports/http/1cdd82a5-afd9-47ee-a833-b24120bd20d0/src
Exit code: 0
Output (stdout and stderr):
HEAD is now at b2e3c85 updating for badges
git show b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd
Command arguments:
"git"
"show"
"b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd"
In directory: /mnt/drive_1/state/radicle/reports/http/1cdd82a5-afd9-47ee-a833-b24120bd20d0/src
Exit code: 0
Output (stdout and stderr):
commit b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd Author: Matthew O'Gorman <mog@rldn.net> Date: Wed Nov 20 06:58:12 2024 -0500 updating for badges diff --git a/.radicle/native.yaml b/.radicle/native.yaml index 0378f45..559ea5b 100644 --- a/.radicle/native.yaml +++ b/.radicle/native.yaml @@ -1,6 +1,6 @@ shell: | set +x - echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\", \"icon\":\"radicle\"}" > "${ARTIFACT_DIR}/rad_test/status.json" + echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\", \"icon\":\"github\"}" > "${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())" @@ -8,4 +8,4 @@ shell: | ln -sf "${ARTIFACT_DIR}/rad_test/$(git rev-parse HEAD)" "${ARTIFACT_DIR}/rad_test/latest" date sleep 100 - echo "{\"color\":\"geen\",\"status\":\"Success\", \"subject\":\"Radicle-CI\", \"icon\":\"radicle\"}" > "${ARTIFACT_DIR}/rad_test/status.json" + echo "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\", \"icon\":\"radicle\"}" > "${ARTIFACT_DIR}/rad_test/status.json"
timeout 3600 bash -c set -xeuo pipefail
set +x
echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\", \"icon\":\"github\"}" > "${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
sleep 100
echo "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\", \"icon\":\"radicle\"}" > "${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\\\", \\\"icon\\\":\\\"github\\\"}\" > \"${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\nsleep 100\necho \"{\\\"color\\\":\\\"green\\\",\\\"status\\\":\\\"Success\\\", \\\"subject\\\":\\\"Radicle-CI\\\", \\\"icon\\\":\\\"radicle\\\"}\" > \"${ARTIFACT_DIR}/rad_test/status.json\"\n"
In directory: /mnt/drive_1/state/radicle/reports/http/1cdd82a5-afd9-47ee-a833-b24120bd20d0/src
Exit code: 0
Output (stdout and stderr):
+ set +x Wed Nov 20 06:58:39 AM EST 2024 Info: Ensuring packages are installed. Hello world! {:ok, "/mnt/drive_1/state/radicle/reports/http/1cdd82a5-afd9-47ee-a833-b24120bd20d0/src"} e62f4be99f425927056e3c16cc1d5243 devbox.json Wed Nov 20 06:58:41 AM EST 2024