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

.radicle/native.yaml

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

Run: git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/10523e62-2440-4fb4-8af3-028f47f9c865/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/10523e62-2440-4fb4-8af3-028f47f9c865/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/10523e62-2440-4fb4-8af3-028f47f9c865/src

Exit code: 0

Run: git checkout d8b2bd1624f486ad35c58450dfe090189bec9406

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/10523e62-2440-4fb4-8af3-028f47f9c865/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at d8b2bd1 updated script

Run: git show d8b2bd1624f486ad35c58450dfe090189bec9406

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/10523e62-2440-4fb4-8af3-028f47f9c865/src

Exit code: 0

Output (stdout and stderr):

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

    updated script

diff --git a/.radicle/native.yaml b/.radicle/native.yaml
index 35e4ff2..94bbc36 100644
--- a/.radicle/native.yaml
+++ b/.radicle/native.yaml
@@ -1,4 +1,4 @@
 shell: |
   echo hello >> /tmp/itworked
   date
-  echo "<a href=\"https://rldn.net\">rldn.net</a>"
+  devbox run  elixir -e "IO.puts(\"Hello world #{pwd()}\")"

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

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/10523e62-2440-4fb4-8af3-028f47f9c865/src

Exit code: 1

Output (stdout and stderr):

+ echo hello
+ date
Mon Nov 18 04:35:26 AM EST 2024
+ devbox run elixir -e 'IO.puts("Hello world #{pwd()}")'

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.