drone-multipipeline-abort

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: BlueOak-1.0.0 Imports: 6 Imported by: 0

README

A webhook extension to abort builds as soon as one pipeline fails. Please note this project requires Drone server version 1.4 or higher.

Installation

Create a shared secret:

$ openssl rand -hex 16
bea26a2221fd8090ea38720fc445eca6

Download and run the plugin:

$ docker run -d \
  --publish=3000:3000 \
  --env=DRONE_DEBUG=true \
  --env=DRONE_SECRET=bea26a2221fd8090ea38720fc445eca6 \
  --restart=always \
  --name=webhook registry.thobits.com/images/drone-multipipeline-abort

Update your Drone server configuration to include the plugin address and the shared secret.

DRONE_WEBHOOK_ENDPOINT=http://1.2.3.4:3000
DRONE_WEBHOOK_SECRET=bea26a2221fd8090ea38720fc445eca6

License

This software is licensed under the Blue Oak Model License 1.0.0.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL