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": "23a485c0cf3584f78e110f782c5972b07bb20e08",
  "after": "c483eb1d20f3649387706186d36f0869842f25c0",
  "branch": "main",
  "commits": [
    "c483eb1d20f3649387706186d36f0869842f25c0"
  ]
}

.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())"
  echo "hello world" > "${ARTIFACT_DIR}/$(git rev-parse HEAD)"
  date

Run: git clone /home/mog/.radicle/storage/z2ixRGetGtwFtRyXjRgu5fH573wyy /mnt/drive_1/state/radicle/reports/http/713c3a72-abd7-4734-9e78-5f222c034583/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/mnt/drive_1/state/radicle/reports/http/713c3a72-abd7-4734-9e78-5f222c034583/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/713c3a72-abd7-4734-9e78-5f222c034583/src

Exit code: 0

Run: git checkout c483eb1d20f3649387706186d36f0869842f25c0

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/713c3a72-abd7-4734-9e78-5f222c034583/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at c483eb1 testing artifacts

Run: git show c483eb1d20f3649387706186d36f0869842f25c0

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/713c3a72-abd7-4734-9e78-5f222c034583/src

Exit code: 0

Output (stdout and stderr):

commit c483eb1d20f3649387706186d36f0869842f25c0
Author: Matthew O'Gorman <mog@rldn.net>
Date:   Wed Nov 20 05:48:31 2024 -0500

    testing artifacts

diff --git a/.radicle/native.yaml b/.radicle/native.yaml
index ae99486..1d8c250 100644
--- a/.radicle/native.yaml
+++ b/.radicle/native.yaml
@@ -2,4 +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())"
+  echo "hello world" > "${ARTIFACT_DIR}/$(git rev-parse HEAD)"
   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())" echo "hello world" > "${ARTIFACT_DIR}/$(git rev-parse HEAD)" date

Command arguments:

In directory: /mnt/drive_1/state/radicle/reports/http/713c3a72-abd7-4734-9e78-5f222c034583/src

Exit code: 0

Output (stdout and stderr):

+ date
Wed Nov 20 05:48:35 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/713c3a72-abd7-4734-9e78-5f222c034583/src"}
+ devbox run elixir -e 'System.cmd("md5sum",["devbox.json"], into: IO.stream())'
e62f4be99f425927056e3c16cc1d5243  devbox.json
+ echo 'hello world'
++ git rev-parse HEAD
+ date
Wed Nov 20 05:48:39 AM EST 2024