Comments (6)
@rafecolton Could this post build hook also be used for running arbitrary scripts after a successful job (build/tag/push)?
from docker-builder.
@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).
from docker-builder.
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.
from docker-builder.
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
from docker-builder.
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...
from docker-builder.
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
#42 (comment)
.
Cole Gleason
Student, University of Illinois at Urbana-Champaign
Email: [email protected]
Website: colegleason.com
from docker-builder.
Related Issues (20)
- Support Dockerfile HOT 4
- Update /jobs to return results ordered by creation date descending HOT 1
- Add the ability to filter /jobs HOT 2
- /jobs/:id does not look like it includes stderror in the response HOT 2
- Running server without BasicAuth broken HOT 1
- "ADD . /path/in/container" busts docker cache
- Github webhook: fails to retrieve req.Body HOT 3
- If a docker push fails due to one currently in progress, the rest should still run
- display logs on job log routes in reverse order
- Panic when Dockerfile not present HOT 1
- Adding `docker-builder queue` HOT 2
- GitRef in Github webhook
- Improve test coverage
- Docker builder should try to sanitize docker tags
- Add `&limit=<num>` query parameter to GET /jobs
- Optionally print how long a build takes HOT 1
- Is it possible to use build not git repository HOT 1
- Add build parameter `--skip` to skip build of certain containers
- Doesn't work well with nested directories
- Should not silently fail to apply git-based tags due to absence of git binary
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-builder.