https://github.com/johnae/nixdrone-converter
A Nix conversion plugin for Drone CI.
https://github.com/johnae/nixdrone-converter
Last synced: over 1 year ago
JSON representation
A Nix conversion plugin for Drone CI.
- Host: GitHub
- URL: https://github.com/johnae/nixdrone-converter
- Owner: johnae
- License: other
- Created: 2020-03-19T16:17:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-19T17:23:13.000Z (over 6 years ago)
- Last Synced: 2024-04-24T03:38:10.237Z (about 2 years ago)
- Language: Nix
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
A conversion plugin for [Drone CI](https://drone.io) providing support for generating pipelines using the [Nix](https://nixos.org/nix) language. _Please note this project requires Drone server version 1.4 or higher._
## Installation
Create a shared secret:
```console
$ openssl rand -hex 16
dfe5d2712b087e77027e08e323d6fa63
```
Download and run the plugin:
```console
$ 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.
```text
DRONE_CONVERT_PLUGIN_ENDPOINT=http://1.2.3.4:3000
DRONE_CONVERT_PLUGIN_SECRET=dfe5d2712b087e77027e08e323d6fa63
```