Skip to content

cytechmobile/radicle-woodpecker-addon

Repository files navigation

Radicle Woodpecker Addon

A radicle forge addon for Woodpecker CI.

Getting Started

Build the addon

The minimum requirement for building the addon are:

  • Go v1.21 (or newer)
  • make

In order to build the Radicle Woodpecker Addon execute the provided makefile under project's root directory:

make build

This will generate the executable /tmp/bin/radicle-woodpecker-addon which then should be added to WOODPECKER_ADDON_FORGE configuration of Woodpecker CI.

This forge addon is compatible with Woodpecker CI v3.

Woodpecker with Radicle Requirements

Woodpecker CI and Radicle Addon requiro the following to be set up:

Radicle Webhooks Adapter should use the following configuration:

WEBHOOKS_SETTINGS_DB_PATH=/path/to/.radicle/httpd/webhooks.db

that will allow the adapter to retrieve extra webhooks configuration registered by Woodpecker CI.

Configuration

The Radicle Woodpecker Addon uses configuration through Environment Variables. Here is a list with the details and the default value for each one of them:

EnvVar Description Default Value
WOODPECKER_HOST_URL The URL of Woodpecker CI installation. ""
RADICLE_URL The URL of the radicle HTTP API ""
RADICLE_HOOK_SECRET The secret to use for the webhooks. ""

Running Woodpecker CI

In order to deploy you Woodpecker CI instance please refer to the official documentation for the deployment procedure. The supported Woodpecker CI version is v3.X.

The Radicle Addon should be setup as an addon forge. For setting up the addon forge you must add the following to your configuration:

WOODPECKER_ADDON_FORGE=/path/to/radicle-woodpecker-addon-binary

Issues / Feedback / Questions

For any sort of inquiry or issue regarding the Radicle Woodpecker Addon please open an issue at this repo.

Please note that this addon is still in its early stages, so any feedback and issues would be very-very welcome. You can also reach out to us on#integrations over in Radicle's Zulip with your thoughts / comments / questions.

About

Woodpecker add-on to support Radicle as a forge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published