Log from Radicle native CI

Table of contents

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": "e72f8a1f0a962f0ae0fa68d9c9efc35a1008e82c",
  "after": "8763247120ac659aa4d01dbf831227fae74b30f9",
  "branch": "main",
  "commits": [
    "8763247120ac659aa4d01dbf831227fae74b30f9"
  ]
}

.radicle/native.yaml

shell: |
  set +x
  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

Run: git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/44636f62-0f8d-4c60-8e50-010a261dcee7/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/44636f62-0f8d-4c60-8e50-010a261dcee7/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/44636f62-0f8d-4c60-8e50-010a261dcee7/src

Exit code: 0

Run: git checkout 8763247120ac659aa4d01dbf831227fae74b30f9

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/44636f62-0f8d-4c60-8e50-010a261dcee7/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at 8763247 getting where im going

Run: git show 8763247120ac659aa4d01dbf831227fae74b30f9

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/44636f62-0f8d-4c60-8e50-010a261dcee7/src

Exit code: 0

Output (stdout and stderr):

commit 8763247120ac659aa4d01dbf831227fae74b30f9
Author: Matthew O'Gorman <mog@rldn.net>
Date:   Wed Nov 20 06:11:54 2024 -0500

    getting where im going

diff --git a/readme.md b/readme.md
index 1a5f4fe..8ea6d23 100644
--- a/readme.md
+++ b/readme.md
@@ -1,4 +1,8 @@
 hello world!!
 its not running
 and its systemd
+
+
+link to ci [broker](https://radci.rldn.net/z2ixRGetGtwFtRyXjRgu5fH573wyy.html)
+
 link to latest [release](https://radart.rldn.net/rad_test/latest)

Run: timeout 3600 bash -c set -xeuo pipefail set +x 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

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/44636f62-0f8d-4c60-8e50-010a261dcee7/src

Exit code: 0

Output (stdout and stderr):

+ set +x
Wed Nov 20 06:11:57 AM EST 2024
Info: Ensuring packages are installed.
Hello world! {:ok, "/mnt/drive_1/state/radicle/reports/http/44636f62-0f8d-4c60-8e50-010a261dcee7/src"}
e62f4be99f425927056e3c16cc1d5243  devbox.json
Wed Nov 20 06:12:00 AM EST 2024