rad:z2ixRGetGtwFtRyXjRgu5fH573wyy
rad_testfe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9
Request message
.radicle/native.yaml
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/253b1897-9d82-4f08-b3f6-40d58f75272e/src
git config advice.detachedHead false
git checkout fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9
git show fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9
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
sleep 10
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": "b2e3c85bf8d31035f7b93a11b143a423ad3e0cdd", "after": "fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9", "branch": "main", "commits": [ "fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9" ] }
.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 sleep 10 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/253b1897-9d82-4f08-b3f6-40d58f75272e/src
Command arguments:
"git"
"clone"
"/home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy"
"/mnt/drive_1/state/radicle/reports/http/253b1897-9d82-4f08-b3f6-40d58f75272e/src"
In directory: /
Exit code: 0
Output (stdout and stderr):
Cloning into '/mnt/drive_1/state/radicle/reports/http/253b1897-9d82-4f08-b3f6-40d58f75272e/src'... done.
git config advice.detachedHead false
Command arguments:
"git"
"config"
"advice.detachedHead"
"false"
In directory: /mnt/drive_1/state/radicle/reports/http/253b1897-9d82-4f08-b3f6-40d58f75272e/src
Exit code: 0
git checkout fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9
Command arguments:
"git"
"checkout"
"fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9"
In directory: /mnt/drive_1/state/radicle/reports/http/253b1897-9d82-4f08-b3f6-40d58f75272e/src
Exit code: 0
Output (stdout and stderr):
HEAD is now at fe42d68 fix icon
git show fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9
Command arguments:
"git"
"show"
"fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9"
In directory: /mnt/drive_1/state/radicle/reports/http/253b1897-9d82-4f08-b3f6-40d58f75272e/src
Exit code: 0
Output (stdout and stderr):
commit fe42d68d3f3e5c7dc80aba5e5f877cf1fe162da9 Author: Matthew O'Gorman <mog@rldn.net> Date: Wed Nov 20 07:30:56 2024 -0500 fix icon diff --git a/.radicle/native.yaml b/.radicle/native.yaml index 559ea5b..38c476d 100644 --- a/.radicle/native.yaml +++ b/.radicle/native.yaml @@ -1,11 +1,11 @@ shell: | set +x - echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\", \"icon\":\"github\"}" > "${ARTIFACT_DIR}/rad_test/status.json" + 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 - sleep 100 - echo "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\", \"icon\":\"radicle\"}" > "${ARTIFACT_DIR}/rad_test/status.json" + sleep 10 + echo "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\"}" > "${ARTIFACT_DIR}/rad_test/status.json" diff --git a/readme.md b/readme.md index 153cb2a..c336c1d 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,5 @@ <p align="center"> -<a href="https://radci.rldn.net/z2ixRGetGtwFtRyXjRgu5fH573wyy.html"><img src="https://radbadge.rldn.net/https/radart.rldn.net/rad_test/status.json" alt="Build Status"/></a> +<a href="https://radci.rldn.net/z2ixRGetGtwFtRyXjRgu5fH573wyy.html"><img src="https://radbadge.rldn.net/https/radart.rldn.net/rad_test/status.json?icon=radicle" alt="Build Status"/></a> hello world!!
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
sleep 10
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\nsleep 10\necho \"{\\\"color\\\":\\\"green\\\",\\\"status\\\":\\\"Success\\\", \\\"subject\\\":\\\"Radicle-CI\\\"}\" > \"${ARTIFACT_DIR}/rad_test/status.json\"\n"
In directory: /mnt/drive_1/state/radicle/reports/http/253b1897-9d82-4f08-b3f6-40d58f75272e/src
Exit code: 0
Output (stdout and stderr):
+ set +x Wed Nov 20 07:31:16 AM EST 2024 Info: Ensuring packages are installed. Hello world! {:ok, "/mnt/drive_1/state/radicle/reports/http/253b1897-9d82-4f08-b3f6-40d58f75272e/src"} e62f4be99f425927056e3c16cc1d5243 devbox.json Wed Nov 20 07:31:21 AM EST 2024