rad:z2ixRGetGtwFtRyXjRgu5fH573wyy
rad_test2ada6137f94360075f22fd65e50c6d77c0737d1f
Request message
.radicle/native.yaml
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/ceccdc2f-6d15-42d9-93ac-99f420a6428b/src
git config advice.detachedHead false
git checkout 2ada6137f94360075f22fd65e50c6d77c0737d1f
git show 2ada6137f94360075f22fd65e50c6d77c0737d1f
timeout 3600 bash -c set -xeuo pipefail
set +x
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" > "${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": "2fcddda5bdeafc3810c6a03f7b8ae786dd912b8a", "after": "2ada6137f94360075f22fd65e50c6d77c0737d1f", "branch": "main", "commits": [ "2ada6137f94360075f22fd65e50c6d77c0737d1f" ] }
.radicle/native.yaml
shell: | set +x 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" > "${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/ceccdc2f-6d15-42d9-93ac-99f420a6428b/src
Command arguments:
"git"
"clone"
"/home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy"
"/mnt/drive_1/state/radicle/reports/http/ceccdc2f-6d15-42d9-93ac-99f420a6428b/src"
In directory: /
Exit code: 0
Output (stdout and stderr):
Cloning into '/mnt/drive_1/state/radicle/reports/http/ceccdc2f-6d15-42d9-93ac-99f420a6428b/src'... done.
git config advice.detachedHead false
Command arguments:
"git"
"config"
"advice.detachedHead"
"false"
In directory: /mnt/drive_1/state/radicle/reports/http/ceccdc2f-6d15-42d9-93ac-99f420a6428b/src
Exit code: 0
git checkout 2ada6137f94360075f22fd65e50c6d77c0737d1f
Command arguments:
"git"
"checkout"
"2ada6137f94360075f22fd65e50c6d77c0737d1f"
In directory: /mnt/drive_1/state/radicle/reports/http/ceccdc2f-6d15-42d9-93ac-99f420a6428b/src
Exit code: 0
Output (stdout and stderr):
HEAD is now at 2ada613 fix script
git show 2ada6137f94360075f22fd65e50c6d77c0737d1f
Command arguments:
"git"
"show"
"2ada6137f94360075f22fd65e50c6d77c0737d1f"
In directory: /mnt/drive_1/state/radicle/reports/http/ceccdc2f-6d15-42d9-93ac-99f420a6428b/src
Exit code: 0
Output (stdout and stderr):
commit 2ada6137f94360075f22fd65e50c6d77c0737d1f Author: Matthew O'Gorman <mog@rldn.net> Date: Wed Nov 20 09:39:53 2024 -0500 fix script diff --git a/.radicle/native.yaml b/.radicle/native.yaml index 55b0d69..5be79d2 100644 --- a/.radicle/native.yaml +++ b/.radicle/native.yaml @@ -1,6 +1,5 @@ shell: | set +x - echo "$RADICLE_SVG" > ${ARTIFACT_DIR}/rad_test/blah 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())}\")"
timeout 3600 bash -c set -xeuo pipefail
set +x
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" > "${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\nset +x\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\" > \"${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/ceccdc2f-6d15-42d9-93ac-99f420a6428b/src
Exit code: 0
Output (stdout and stderr):
+ set +x Wed Nov 20 09:39:57 AM EST 2024 Info: Ensuring packages are installed. Hello world! {:ok, "/mnt/drive_1/state/radicle/reports/http/ceccdc2f-6d15-42d9-93ac-99f420a6428b/src"} e62f4be99f425927056e3c16cc1d5243 devbox.json Wed Nov 20 09:39:59 AM EST 2024