0
0
mirror of https://github.com/thegeeklab/wp-matrix.git synced 2024-11-21 14:20:41 +00:00
Woodpecker CI plugin to send messages to Matrix
Go to file
2019-01-20 22:20:03 +01:00
.github Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
docker Move dockerfiles to docker folder 2019-01-20 22:20:03 +01:00
.appveyor.yml Provide a password using STDIN 2018-06-30 20:58:45 +08:00
.dockerignore Applied default structure and added some sugar 2018-01-08 09:54:30 +01:00
.drone.yml Updated to current build process 2018-03-16 13:18:54 +01:00
.gitignore Updated to current build process 2018-03-16 13:18:54 +01:00
Gopkg.lock Prefix room ids automatically with exclamation mark (#12) 2018-09-25 18:42:25 -04:00
Gopkg.toml Prefix room ids automatically with exclamation mark (#12) 2018-09-25 18:42:25 -04:00
LICENSE Relicense 2018-01-03 13:57:00 +02:00
main.go Use a proper message format (#11) 2018-07-06 17:30:25 +02:00
manifest.tmpl Add the os to docker tags 2018-01-23 23:20:50 +01:00
plugin.go Prefix room ids automatically with exclamation mark (#12) 2018-09-25 18:42:25 -04:00
README.md Added volume and workspace to readme example 2018-01-23 23:56:10 +01:00
renovate.json Update renovate.json 2019-01-19 11:02:17 +01:00

drone-matrix

Build Status Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com Go Doc Go Report

Drone plugin for sending build notifications to Matrix. For the usage information and a listing of the available options please take a look at the docs.

Build

Build the binary with the following commands:

go build

Docker

Build the Docker image with the following commands:

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-matrix
docker build --rm -t plugins/matrix .

Usage

docker run --rm \
  -e PLUGIN_ROOMID=0123456789abcdef:matrix.org \
  -e PLUGIN_USERNAME=yourbot \
  -e PLUGIN_PASSWORD=p455w0rd \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  plugins/matrix