docker-run-checks

A webservice that pulls images, run commands, and report executions success.

docker-compose up

Creating a new check:

curl -X POST http://localhost:5000/api/v1/checks \
     -H 'Content-Type: application/json' \
     -d '{
           "images": [
             {
               "name": "node:7.0.0",
               "cmd": [ "node", "-p", "function f(a = 0){}" ]
             },
             {
               "name": "node:0.12.18",
               "cmd": [ "node", "-p", "function f(a = 0){}" ]
             }
           ],
           "webhooks": {
             "success": "http://localhost:8080/success",
             "failure": "http://localhost:8080/failure"
           }
         }'

screen shot 2018-05-05 at 9 03 46 pm