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

.radicle/native.yaml

shell: |
  echo hello >> /tmp/itworked
  date
  pwd
  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/106b20e8-1fcd-4b8d-8a6a-b7bfb8a750ac/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/106b20e8-1fcd-4b8d-8a6a-b7bfb8a750ac/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/106b20e8-1fcd-4b8d-8a6a-b7bfb8a750ac/src

Exit code: 0

Run: git checkout 645b1aa648db7135e89e65f13a076ee8af846c39

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/106b20e8-1fcd-4b8d-8a6a-b7bfb8a750ac/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at 645b1aa updated script

Run: git show 645b1aa648db7135e89e65f13a076ee8af846c39

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/106b20e8-1fcd-4b8d-8a6a-b7bfb8a750ac/src

Exit code: 0

Output (stdout and stderr):

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

    updated script

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

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/106b20e8-1fcd-4b8d-8a6a-b7bfb8a750ac/src

Exit code: 1

Output (stdout and stderr):

+ echo hello
+ date
Mon Nov 18 04:36:39 AM EST 2024
+ pwd
/mnt/drive_1/state/radicle/reports/http/106b20e8-1fcd-4b8d-8a6a-b7bfb8a750ac/src
+ 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.