docker-builder

Docker builder builds Docker images from a friendly config file.

MIT License

Stars
80
docker-builder - Refresh Latest Release

Published by rafecolton almost 7 years ago

This is a minor release that fixes a few bugs and refreshes dependencies.

docker-builder - Add enqueue feature and other updates

Published by rafecolton almost 10 years ago

This release includes the official addition of the enqueue feature! Now you can type docker-builder enqueue from the top level of your repo and automatically enqueue a build on your build server.

Other updates include:

  • allow enqueue and init commands to work with git remotes starting with git://, http://, https://, & git@ and also those not ending with .git
  • optimizing the Dockerfile to make the image ~130mb smaller
  • using an external fmtpolice script (from https://github.com/rafecolton/fmtpolice) instead of copying/pasting the logic everywhere
  • updating vauth version (parsing GitHub and TravisCI webhooks is now a little faster)
  • use sudo: false on Travis for faster builds
  • make all tests work with go test ./... (and no longer run tests with ginkgo)
  • add code coverage stats using coveralls
docker-builder - Adding enqueue feature and fixing long-standing bug.

Published by rafecolton almost 10 years ago

This release adds the [experimental] enqueue feature (closes https://github.com/rafecolton/docker-builder/issues/141)! More info can be found in the README. Also addresses long-standing issue https://github.com/rafecolton/docker-builder/issues/142

docker-builder - Add TLS Support

Published by rafecolton almost 10 years ago

Adds support for TLS for use with docker v1.3.0 and up (and corresponding boot2docker versions which have TLS enabled by default).

Thanks @jszwedko!

docker-builder - Fixes Bug with GitHub Webhook

Published by rafecolton almost 10 years ago

This release includes a fix to this GitHub-webhook-related bug: https://github.com/rafecolton/docker-builder/issues/137

Also included in this release is the introduction of deppy as a replacement for godep

docker-builder - Build Docker Images Without Shelling Out

Published by rafecolton almost 10 years ago

This release includes the ability to build docker images without using os/exec to "shell out" to the command-line docker client as well as some other minor tweaks

docker-builder - Fix bug where server cannot be started without basic auth

Published by rafecolton about 10 years ago

This release fixes a bug where the server panics when started without basic auth. This release also includes integration tests for starting the server to prevent future regressions.

docker-builder - A Couple of Fun Updates

Published by rafecolton about 10 years ago

  • minor
    • update /jobs to return an array of jobs, sorted by creation date descending
    • return the full uri for log_route so it is clickable in the browser (also return info_route, which is the route for the individual job)
    • add the ability to filter (by multiple filters) /jobs by adding a query string parameter
    • default build when no Bobfile present (runs docker build -t $(basename $(pwd)) .)
  • patch
    • /jobs/:id does not include stderr message if job fails during setup
    • simplify release process (only shipping binaries, not tarballs)
  • other
    • simplified makefile
    • some refactoring
    • adding go tip to travis build matrix
docker-builder - Fix Issue With `go get`, Make Binary Smaller

Published by rafecolton about 10 years ago

docker-builder is able to get installed with go get again. Also making the compiled binary smaller

docker-builder - Bug fixes

Published by rafecolton about 10 years ago

This release includes:

docker-builder - A few minor changes

Published by rafecolton about 10 years ago

This includes:

  • updated import paths for new repo ownership
  • deprecated included and excluded stanzas
  • sanitize the Dockerfile path provided in a Bobfile
docker-builder - Minor Features & Fixes

Published by rafecolton about 10 years ago

In this release:

  • features
    • when enqueuing a build to the server over HTTP, user may now specify which Bobfile to use
    • start to add custom error types for better error reporting
  • fixes / updates
    • update dependencies
    • moving files to staging directory no longer changes mtime
    • Bobfile path provided to command-line build command is now sanitized (as is Bobfile path provided over HTTP)
    • minor performance improvements
    • refactor lint-related code
    • log error if async job fails (previously, no error message was printed)
docker-builder - Major Bug Fix & Code Quality Improvements

Published by rafecolton over 10 years ago

Hi there!

This release of docker-builder includes numerous bug fixes and code quality improvements. Most notably, the issue with the reliability of docker push commands has been solved!

The changes include:

  • minor
    • switch to native docker client for tag and push commands
      • allows for removal of the queued-command-runner
      • fixes issue where the server stops pushing after a while
      • build requests to the server that include "sync": true now wait for push commands to finish
    • clean up build logic by wrapping docker commands (build, tag, and push) in an interface
    • allow more granular docker registry credentials - creds may now be supplied at the global, Bobfile, and individual [[container]] section levels
  • patch
    • switch from os/exec to Docker's tailfile package for getting job logs
    • rename many things so names no longer stutter (per golint)
    • fix issue where -f/--force option supplied for docker tag was not being honored
    • fix a typo that resulted in clone_depth option not being honored for build requests
    • make server logs less noisy by not logging requests to /health (and add ability to easily blacklist other routes from being logged)
    • slim down server by turning off static file serving
docker-builder - Not Archiving Job Log Files

Published by rafecolton over 10 years ago

No longer archiving job logs after build finishes. Releasing this right away, as the issue it fixes really junks up the log files.

docker-builder - Fix bug where env config variables weren't being honored

Published by rafecolton over 10 years ago

This release fixes a bug in v0.6.0 as indicated by the release title.

docker-builder - Important (and Semi-Breaking) Changes

Published by rafecolton over 10 years ago

This release has a number of significant changes, including:

  • minor
    • new Bobfile format (due to a change in Go 1.3) - the old format will still work for now but will be deprecated soon - please review and update your Bobfiles
    • adding job control routes! (see the Job Control doc for more details)
  • patch
    • minor refactoring and code-quality improvements
    • restoring log messages for lint function
    • fix test that broke due to the aforementioned change in Go 1.3
    • update go-dockerclient version
docker-builder - Updating Auth Library

Published by rafecolton over 10 years ago

This minor update updates the version of the martini auth library to a later commit that uses the correct header for GitHub auth.

docker-builder - Allow Synchronous Builds

Published by rafecolton over 10 years ago

This small update introduces synchronous builds.

Now, by including "sync": true in your build request data, docker-builder will wait until the build and tags steps have been completed before returning your results.

As another small change, this update changes the behavior of the git:short tag to use git describe --always --dirty --tags instead of just git describe --always. The result is that the git:short tag uses the proper git tags (if available) instead of just a shortened ref.

docker-builder - Adding Travis and GitHub Webhooks and Healthcheck

Published by rafecolton over 10 years ago

The docker-builder server just keeps on growing! This release introduces a significant new feature: webhooks!

Build enqueue requests can now be sent directly from Travis or GitHub using their respective webhook features. More information can be found in the Travis and GitHub Webhooks doc.

The is also now a healthcheck route available for the server at /health.

Special thanks to @colegleason for contributing to this!

docker-builder - Adding Basic Auth to the Server

Published by rafecolton over 10 years ago

This release updates the serve functionality to add basic auth. This release also includes the docker-related setup stuff.