Gergely Nagy 70a2bf1906 README update
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
2023-09-19 13:55:17 +02:00
2023-09-19 13:30:40 +02:00
2023-09-19 12:07:48 +02:00
2023-09-19 12:07:48 +02:00
2023-09-19 12:07:48 +02:00
2023-09-19 12:07:48 +02:00
2023-09-19 12:07:48 +02:00
2023-09-19 12:07:48 +02:00
2023-09-19 12:07:48 +02:00
2023-09-19 12:07:48 +02:00
2023-09-19 13:55:17 +02:00

ironforge

Build status

A lightweight bridge between Forgejo Actions and shields.io.

Usage

In docker-compose-yaml:

version: 3
services:
    ironforge:
        image: git.madhouse-project.org/algernon/ironforge/ironforge:latest
        environment:
            - IRONFORGE__SERVER__LISTEN_ADDR=0.0.0.0:3000
            - IRONFORGE__FORGE__URL=https://your.forge
        ports:
            - "127.0.0.1:3000:3000"

For more information about the available options, see the source for now. It's very small.

The service provides two routes. Both routes assume that the repository has a main branch, and will look for the status of that.

/actions/:owner/:repo/badge

Redirects to a shields.io image, based on the latest status of a Forgejo Action on a given repository. For example:

https://ironforge.madhouse-project.org/actions/algernon/ironforge/badge might redirect to https://img.shields.io/badge/ci-success-brightgreen?style=for-the-badge, assuming the latest build was successful.

/actions/:owner/:repo/latest-log

Redirects to the log of the latest Forgejo action on a given repository. For example:

https://ironforge.madhouse-project.org/actions/algernon/ironforge/latest-log would redirect to https://git.madhouse-project.org/algernon/ironforge/actions/runs/10/jobs/0 (or whatever the latest is, at any given time).

S
Description
Forgejo Actions <-> shields.io bridge
Readme 125 KiB
Languages
Rust 94.3%
Nix 5.7%