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": "15b7bba51199180a72c631fd9f6b861dc9b906f7",
  "after": "4ec82b0188f592a797b87fb41ab7403614434c6a",
  "branch": "main",
  "commits": [
    "4ec82b0188f592a797b87fb41ab7403614434c6a"
  ]
}

.radicle/native.yaml

shell: |
  date
  devbox run  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/05c351fc-915f-4d0a-8393-d46967f3688b/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/05c351fc-915f-4d0a-8393-d46967f3688b/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/05c351fc-915f-4d0a-8393-d46967f3688b/src

Exit code: 0

Run: git checkout 4ec82b0188f592a797b87fb41ab7403614434c6a

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/05c351fc-915f-4d0a-8393-d46967f3688b/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at 4ec82b0 simplify script

Run: git show 4ec82b0188f592a797b87fb41ab7403614434c6a

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/05c351fc-915f-4d0a-8393-d46967f3688b/src

Exit code: 0

Output (stdout and stderr):

commit 4ec82b0188f592a797b87fb41ab7403614434c6a
Author: Matthew O'Gorman <mog@rldn.net>
Date:   Mon Nov 18 04:48:48 2024 -0500

    simplify script

diff --git a/.radicle/native.yaml b/.radicle/native.yaml
index fbd88b6..7ad0943 100644
--- a/.radicle/native.yaml
+++ b/.radicle/native.yaml
@@ -1,6 +1,4 @@
 shell: |
-  echo hello >> /tmp/itworked
   date
-  pwd
-  ls
   devbox run  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())}\")" date

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/05c351fc-915f-4d0a-8393-d46967f3688b/src

Exit code: 0

Output (stdout and stderr):

+ date
Mon Nov 18 04:48:53 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/05c351fc-915f-4d0a-8393-d46967f3688b/src"}
+ date
Mon Nov 18 04:49:02 AM EST 2024