remind101 / conveyor

A fast build system for Docker images.
http://engineering.remind.com/introducing-conveyor/
BSD 2-Clause "Simplified" License
221 stars 24 forks source link

Builds and Artifacts API #53

Closed ejholmes closed 8 years ago

ejholmes commented 8 years ago

This adds a Builds and Artifacts API so that external tools (like Empire) can trigger builds on demand and obtain the artifacts that result from those builds.

I've split this into two commits:

  1. First commit contains a spec for the API using json-schema and auto generates docs and a Go client from it.
  2. Second commit adds an implementation in server/api.

TODO

phobologic commented 8 years ago

:+1:

ejholmes commented 8 years ago

Note to self. We should error out of Conveyor.Build if the GitHub repository hasn't been enabled, otherwise we could potentially build repos that haven't been explicitly enabled (e.g. a user makes a typo when using the /conveyor build slash command).