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

.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())"
  elixir -e "IO.puts(\"Hello world! #{inspect(File.cwd())}\")"
  date

Run: git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/5c723c81-e881-4ec9-b117-74d73fb45c94/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/5c723c81-e881-4ec9-b117-74d73fb45c94/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/5c723c81-e881-4ec9-b117-74d73fb45c94/src

Exit code: 0

Run: git checkout a2837146bcc85eadc66a30d1c642886c3168f9be

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/5c723c81-e881-4ec9-b117-74d73fb45c94/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at a283714 should fail 2

Run: git show a2837146bcc85eadc66a30d1c642886c3168f9be

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/5c723c81-e881-4ec9-b117-74d73fb45c94/src

Exit code: 0

Output (stdout and stderr):

commit a2837146bcc85eadc66a30d1c642886c3168f9be
Author: Matthew O'Gorman <mog@rldn.net>
Date:   Mon Nov 18 04:57:36 2024 -0500

    should fail 2

diff --git a/.radicle/native.yaml b/.radicle/native.yaml
index 66e362f..e07030a 100644
--- a/.radicle/native.yaml
+++ b/.radicle/native.yaml
@@ -2,5 +2,5 @@ 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())"
-  md5sum devbox.json
+  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())" elixir -e "IO.puts(\"Hello world! #{inspect(File.cwd())}\")" date

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/5c723c81-e881-4ec9-b117-74d73fb45c94/src

Exit code: 127

Output (stdout and stderr):

+ date
Mon Nov 18 04:57:41 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/5c723c81-e881-4ec9-b117-74d73fb45c94/src"}
+ devbox run elixir -e 'System.cmd("md5sum",["devbox.json"], into: IO.stream())'
e62f4be99f425927056e3c16cc1d5243  devbox.json
+ elixir -e 'IO.puts("Hello world! #{inspect(File.cwd())}")'
bash: line 5: elixir: command not found