rad:z2ixRGetGtwFtRyXjRgu5fH573wyy
rad_test2443fe72432c94b7d3a33b393d4b61ed84ababfa
Request message
.radicle/native.yaml
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/1df2b60b-ee36-4757-bb28-75da98ffc457/src
git config advice.detachedHead false
git checkout 2443fe72432c94b7d3a33b393d4b61ed84ababfa
git show 2443fe72432c94b7d3a33b393d4b61ed84ababfa
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": "2ada6137f94360075f22fd65e50c6d77c0737d1f", "after": "2443fe72432c94b7d3a33b393d4b61ed84ababfa", "branch": "main", "commits": [ "2443fe72432c94b7d3a33b393d4b61ed84ababfa" ] }
.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/1df2b60b-ee36-4757-bb28-75da98ffc457/src
Command arguments:
"git"
"clone"
"/home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy"
"/mnt/drive_1/state/radicle/reports/http/1df2b60b-ee36-4757-bb28-75da98ffc457/src"
In directory: /
Exit code: 0
Output (stdout and stderr):
Cloning into '/mnt/drive_1/state/radicle/reports/http/1df2b60b-ee36-4757-bb28-75da98ffc457/src'... done.
git config advice.detachedHead false
Command arguments:
"git"
"config"
"advice.detachedHead"
"false"
In directory: /mnt/drive_1/state/radicle/reports/http/1df2b60b-ee36-4757-bb28-75da98ffc457/src
Exit code: 0
git checkout 2443fe72432c94b7d3a33b393d4b61ed84ababfa
Command arguments:
"git"
"checkout"
"2443fe72432c94b7d3a33b393d4b61ed84ababfa"
In directory: /mnt/drive_1/state/radicle/reports/http/1df2b60b-ee36-4757-bb28-75da98ffc457/src
Exit code: 0
Output (stdout and stderr):
HEAD is now at 2443fe7 fix script
git show 2443fe72432c94b7d3a33b393d4b61ed84ababfa
Command arguments:
"git"
"show"
"2443fe72432c94b7d3a33b393d4b61ed84ababfa"
In directory: /mnt/drive_1/state/radicle/reports/http/1df2b60b-ee36-4757-bb28-75da98ffc457/src
Exit code: 0
Output (stdout and stderr):
commit 2443fe72432c94b7d3a33b393d4b61ed84ababfa Author: Matthew O'Gorman <mog@rldn.net> Date: Wed Nov 20 09:50:27 2024 -0500 fix script diff --git a/.radicle/native.yaml b/.radicle/native.yaml index 5be79d2..37a89a0 100644 --- a/.radicle/native.yaml +++ b/.radicle/native.yaml @@ -1,10 +1,10 @@ shell: | set +x - echo "{\"schemaVersion\" : 1,\"color\" : \"yellow\",\"message\" : \"In progress\", \"label\" : \"Radicle-CI\", \"logoSvg\" : \"$(cat $RADICLE_SVG)\" }" > "${ARTIFACT_DIR}/rad_test/status.json" + 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" + echo "{\"schemaVersion\":1,\"color\":\"green\",\"message\":\"Success\",\"label\":\"Radicle-CI\",\"logoSvg\":\"$(cat $RADICLE_SVG)\"}" > "${ARTIFACT_DIR}/rad_test/status.json"
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/1df2b60b-ee36-4757-bb28-75da98ffc457/src
Exit code: 0
Output (stdout and stderr):
+ set +x Wed Nov 20 09:50:32 AM EST 2024 Info: Ensuring packages are installed. Hello world! {:ok, "/mnt/drive_1/state/radicle/reports/http/1df2b60b-ee36-4757-bb28-75da98ffc457/src"} e62f4be99f425927056e3c16cc1d5243 devbox.json Wed Nov 20 09:50:35 AM EST 2024