rad:z2ixRGetGtwFtRyXjRgu5fH573wyy
rad_test511f68ac4d6e45919e9f46344dd8e546da649221
Request message
.radicle/native.yaml
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/88ad699b-9350-47b1-bd5f-ddb6e39c036f/src
git config advice.detachedHead false
git checkout 511f68ac4d6e45919e9f46344dd8e546da649221
git show 511f68ac4d6e45919e9f46344dd8e546da649221
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 "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\"}" > "${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"
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": "75b548c24c8856864f7d28300b4478998b781da5", "after": "511f68ac4d6e45919e9f46344dd8e546da649221", "branch": "main", "commits": [ "511f68ac4d6e45919e9f46344dd8e546da649221" ] }
.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 "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\"}" > "${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"
git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/88ad699b-9350-47b1-bd5f-ddb6e39c036f/src
Command arguments:
"git"
"clone"
"/home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy"
"/mnt/drive_1/state/radicle/reports/http/88ad699b-9350-47b1-bd5f-ddb6e39c036f/src"
In directory: /
Exit code: 0
Output (stdout and stderr):
Cloning into '/mnt/drive_1/state/radicle/reports/http/88ad699b-9350-47b1-bd5f-ddb6e39c036f/src'... done.
git config advice.detachedHead false
Command arguments:
"git"
"config"
"advice.detachedHead"
"false"
In directory: /mnt/drive_1/state/radicle/reports/http/88ad699b-9350-47b1-bd5f-ddb6e39c036f/src
Exit code: 0
git checkout 511f68ac4d6e45919e9f46344dd8e546da649221
Command arguments:
"git"
"checkout"
"511f68ac4d6e45919e9f46344dd8e546da649221"
In directory: /mnt/drive_1/state/radicle/reports/http/88ad699b-9350-47b1-bd5f-ddb6e39c036f/src
Exit code: 0
Output (stdout and stderr):
HEAD is now at 511f68a use new badge system
git show 511f68ac4d6e45919e9f46344dd8e546da649221
Command arguments:
"git"
"show"
"511f68ac4d6e45919e9f46344dd8e546da649221"
In directory: /mnt/drive_1/state/radicle/reports/http/88ad699b-9350-47b1-bd5f-ddb6e39c036f/src
Exit code: 0
Output (stdout and stderr):
commit 511f68ac4d6e45919e9f46344dd8e546da649221 Author: Matthew O'Gorman <mog@rldn.net> Date: Wed Nov 20 09:34:41 2024 -0500 use new badge system diff --git a/.radicle/native.yaml b/.radicle/native.yaml index 7f2c784..8561e24 100644 --- a/.radicle/native.yaml +++ b/.radicle/native.yaml @@ -1,6 +1,7 @@ shell: | set +x - echo "{\"color\":\"yellow\",\"status\":\"In Progress\", \"subject\":\"Radicle-CI\"}" > "${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())" @@ -8,3 +9,4 @@ shell: | 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" + echo {\"schemaVersion\" : 1,\"color\" : \"green\",\"message\" : \"Success\", \"label\" : \"Radicle-CI\", \"logoSvg\" : \"$(cat $RADICLE_SVG)\" }" > "${ARTIFACT_DIR}/rad_test/status.json" diff --git a/readme.md b/readme.md index c336c1d..7d5083b 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?icon=radicle" alt="Build Status"/></a> +<a href="https://radci.rldn.net/z2ixRGetGtwFtRyXjRgu5fH573wyy.html"><img src="https://radbadge.rldn.net/endpoint?url=https%3A%2F%2Fradart.rldn.net%2Frad_test%2Fstatus.json%3F1" alt="Build Status"/></a> hello world!!
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 "{\"color\":\"green\",\"status\":\"Success\", \"subject\":\"Radicle-CI\"}" > "${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"
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\"\n\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\"\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/88ad699b-9350-47b1-bd5f-ddb6e39c036f/src
Exit code: 2
Output (stdout and stderr):
+ set +x bash: -c: line 6: syntax error near unexpected token `('