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": "a2837146bcc85eadc66a30d1c642886c3168f9be",
  "after": "23a485c0cf3584f78e110f782c5972b07bb20e08",
  "branch": "main",
  "commits": [
    "23a485c0cf3584f78e110f782c5972b07bb20e08"
  ]
}

.radicle/native.yaml

shell: |
  date
  devbox run  elixir -e "IO.puts(\"Hello world! #{inspect(File.cwd())}\")"
  devbox run  elixir -e "System.cmd(\"md5sum\",[\"devbox.json\"], into: IO.stream())"
  date

Run: git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/c04b1a05-e491-4cba-b4e0-af24d2922b72/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/c04b1a05-e491-4cba-b4e0-af24d2922b72/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/c04b1a05-e491-4cba-b4e0-af24d2922b72/src

Exit code: 0

Run: git checkout 23a485c0cf3584f78e110f782c5972b07bb20e08

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/c04b1a05-e491-4cba-b4e0-af24d2922b72/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at 23a485c should pass

Run: git show 23a485c0cf3584f78e110f782c5972b07bb20e08

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/c04b1a05-e491-4cba-b4e0-af24d2922b72/src

Exit code: 0

Output (stdout and stderr):

commit 23a485c0cf3584f78e110f782c5972b07bb20e08
Author: Matthew O'Gorman <mog@rldn.net>
Date:   Mon Nov 18 04:58:21 2024 -0500

    should pass

diff --git a/.radicle/native.yaml b/.radicle/native.yaml
index e07030a..ae99486 100644
--- a/.radicle/native.yaml
+++ b/.radicle/native.yaml
@@ -2,5 +2,4 @@ shell: |
   date
   devbox run  elixir -e "IO.puts(\"Hello world! #{inspect(File.cwd())}\")"
   devbox run  elixir -e "System.cmd(\"md5sum\",[\"devbox.json\"], into: IO.stream())"
-  elixir -e "IO.puts(\"Hello world! #{inspect(File.cwd())}\")"
   date

Run: timeout 3600 bash -c set -xeuo pipefail date devbox run elixir -e "IO.puts(\"Hello world! #{inspect(File.cwd())}\")" devbox run elixir -e "System.cmd(\"md5sum\",[\"devbox.json\"], into: IO.stream())" date

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/c04b1a05-e491-4cba-b4e0-af24d2922b72/src

Exit code: 0

Output (stdout and stderr):

+ date
Mon Nov 18 04:58:28 AM EST 2024
+ devbox run elixir -e 'IO.puts("Hello world! #{inspect(File.cwd())}")'
Info: Ensuring packages are installed.
Hello world! {:ok, "/mnt/drive_1/state/radicle/reports/http/c04b1a05-e491-4cba-b4e0-af24d2922b72/src"}
+ devbox run elixir -e 'System.cmd("md5sum",["devbox.json"], into: IO.stream())'
e62f4be99f425927056e3c16cc1d5243  devbox.json
+ date
Mon Nov 18 04:58:41 AM EST 2024