A conversion plugin for Drone CI providing support for generating pipelines using the Nix language. Please note this project requires Drone server version 1.4 or higher.
Installation
Create a shared secret:
$ openssl rand -hex 16
dfe5d2712b087e77027e08e323d6fa63
Download and run the plugin:
$ docker run -d \
--publish=3000:3000 \
--env=DRONE_DEBUG=true \
--env=DRONE_SECRET=dfe5d2712b087e77027e08e323d6fa63 \
--restart=always \
--name=converter johnae/nixdrone-converter
Update your Drone server configuration to include the plugin address and the shared secret.
DRONE_CONVERT_PLUGIN_ENDPOINT=http://1.2.3.4:3000
DRONE_CONVERT_PLUGIN_SECRET=dfe5d2712b087e77027e08e323d6fa63