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": "645b1aa648db7135e89e65f13a076ee8af846c39",
  "after": "a933b427fafb08b68b5f958093933188ccc8d935",
  "branch": "main",
  "commits": [
    "a933b427fafb08b68b5f958093933188ccc8d935"
  ]
}

.radicle/native.yaml

shell: |
  echo hello >> /tmp/itworked
  date
  pwd
  ls
  devbox run  elixir -e "IO.puts(\"Hello world #{inspect(File.cwd())}\")"

Run: git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/aa896969-07cd-4466-bc0c-b8efe4615f7f/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/aa896969-07cd-4466-bc0c-b8efe4615f7f/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/aa896969-07cd-4466-bc0c-b8efe4615f7f/src

Exit code: 0

Run: git checkout a933b427fafb08b68b5f958093933188ccc8d935

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/aa896969-07cd-4466-bc0c-b8efe4615f7f/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at a933b42 updated script

Run: git show a933b427fafb08b68b5f958093933188ccc8d935

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/aa896969-07cd-4466-bc0c-b8efe4615f7f/src

Exit code: 0

Output (stdout and stderr):

commit a933b427fafb08b68b5f958093933188ccc8d935
Author: Matthew O'Gorman <mog@rldn.net>
Date:   Mon Nov 18 04:37:00 2024 -0500

    updated script

diff --git a/.radicle/native.yaml b/.radicle/native.yaml
index d1a8516..1368688 100644
--- a/.radicle/native.yaml
+++ b/.radicle/native.yaml
@@ -2,4 +2,5 @@ shell: |
   echo hello >> /tmp/itworked
   date
   pwd
+  ls
   devbox run  elixir -e "IO.puts(\"Hello world #{inspect(File.cwd())}\")"

Run: timeout 3600 bash -c set -xeuo pipefail echo hello >> /tmp/itworked date pwd ls devbox run elixir -e "IO.puts(\"Hello world #{inspect(File.cwd())}\")"

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/aa896969-07cd-4466-bc0c-b8efe4615f7f/src

Exit code: 1

Output (stdout and stderr):

+ echo hello
+ date
Mon Nov 18 04:37:05 AM EST 2024
+ pwd
/mnt/drive_1/state/radicle/reports/http/aa896969-07cd-4466-bc0c-b8efe4615f7f/src
+ ls
devbox.json
devbox.lock
readme.md
+ devbox run elixir -e 'IO.puts("Hello world #{inspect(File.cwd())}")'

Error: Unable to find nix startup file. If /nix directory exists it's possible the installation did not complete successfully. Follow instructions at https://nixos.org/download.html for manual install.