actuator

command module
v0.0.0-...-781ef27 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2017 License: MIT Imports: 10 Imported by: 0

README

Build Status

Actuator

More documentation can be found at https://ninech.github.io/actuator.

actuator (noun ac·tu·a·tor \ˈak-chə-ˌwā-tər, -shə-\ ) a mechanical device for moving or controlling something

Actuator keeps an eye on your Github pull-requests and automatically spawns staging environments in Openshift.

It's in a very early stage of development. Some people would say it's just a prototype. So please come back later if you're interested in using Actuator.

Development

Call the hook

There is an example event payload in examples/pull-request-event-opened.json. You can use that to test against the event handler API.

Because the event handler validates the HTTP request, there is a wrapper script to calculate the signature from the secret and call the hook:

examples/send-event.rb -f examples/pull-request-event-opened.json -s supersecret

examples/send-event.rb -f examples/pull-request-event-closed.json -s supersecret
Test template

Import the sample template into your Openshift project:

oc create -f examples/test-template.yml

Whenever this template is applied there will be a new ConfigMap with a partly random name actuator-test-* in your project. These ConfigMaps can be deleted with the following command:

oc delete cm -l "actuator.nine.ch/create-reason"

About

This tool is currently maintained and funded by nine.

logo of the company 'nine'

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