docker-builder
docker-builder copied to clipboard
post build hook for running black box tests
maybe with bats
, since it's pretty universal
@rafecolton Could this post build hook also be used for running arbitrary scripts after a successful job (build/tag/push)?
@colegleason that's the general idea; however, there are some serious security implications of this feature, depending on the implementation. I'm also not 100% sure it's within the scope of this project.
I'd love to hear any thoughts you may have (on either the implementation or the scope).
Yeah, after thinking about it for a bit I think I will just use docker-builder as a step in a larger CI build. To do that I will need an interface to check on the status of an async build or otherwise block until a build succeeds.
Yeah, running the job synchronously will be a simple thing to add (and already on the TODO list).
Checking the status of the build over HTTP will eventually be added as a feature as well, though that is slightly further down on the list
Maybe a good way to handle this without trying to shove too much functionality into docker-builder
is to use outgoing webhooks like Travis/GitHub...
I think that would be a good feature, but I also like the idea of blocking until a build completes as it makes it easier to add into scripts and workflows without adding an HTTP server into the mix to listen for the webhooks.
On Wed, Jul 2, 2014 at 4:14 PM, Rafe Colton [email protected] wrote:
Maybe a good way to handle this without trying to shove too much functionality into docker-builder is to use outgoing webhooks like Travis/GitHub...
— Reply to this email directly or view it on GitHub https://github.com/modcloth/docker-builder/issues/42#issuecomment-47849096 .
Cole Gleason
Student, University of Illinois at Urbana-Champaign Email: [email protected] Website: colegleason.com