Skip to content

Drone extension to block builds from public repositories

License

Notifications You must be signed in to change notification settings

parchment-io/drone-public-blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-public-blocker

A validation extension to Drone CI extension for blocking builds on a public repositories to require a manual approval. 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=drone-public-blocker docker.pkg.github.com/parchment-io/drone-public-blocker/amd64:latest

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

DRONE_VALIDATE_PLUGIN_ENDPOINT=http://1.2.3.4:3000
DRONE_VALIDATE_PLUGIN_SECRET=bea26a2221fd8090ea38720fc445eca6

About

Drone extension to block builds from public repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages