Coder Social home page Coder Social logo

conduit's People

Contributors

ehazlett avatar normalfaults avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

conduit's Issues

Missing files in repository

It seems a lot is missing from the repository

Where's the Dockerfile?
The Makefile referes to a target called image but it doesn't exists..

Container with a linked container isn't redeployed

I try to redeploy a container with a linked container (e.g. jpetazzo/figdemo linked to redis)

That produces that output :

time="2015-06-11T21:12:09Z" level=info msg="starting conduit v0.0.5" 
time="2015-06-11T21:12:09Z" level=info msg="repos: [ggerbaud/figdemo redis]" 
time="2015-06-11T21:12:09Z" level=info msg="tags: [latest]" 
time="2015-06-11T21:12:29Z" level=debug msg="webhook received: name=ggerbaud/figdemo" 
time="2015-06-11T21:12:29Z" level=debug msg="docker client: url=unix:///var/run/docker.sock" 
time="2015-06-11T21:12:29Z" level=debug msg="deploying: image=ggerbaud/figdemo tag=latest" 
time="2015-06-11T21:12:29Z" level=info msg="deploying new image for container: e72c86d0a3" 
time="2015-06-11T21:12:29Z" level=debug msg="e72c86d0a3: pulling new image: repo=ggerbaud/figdemo:latest" 
time="2015-06-11T21:12:30Z" level=debug msg="e72c86d0a3: launching new container" 
time="2015-06-11T21:12:30Z" level=debug msg="docker client: url=unix:///var/run/docker.sock" 
time="2015-06-11T21:12:30Z" level=debug msg="e72c86d0a3: stopping old container" 
time="2015-06-11T21:12:30Z" level=debug msg="e72c86d0a3: removing old container" 
2015/06/11 21:12:30 http: multiple response.WriteHeader calls
time="2015-06-11T21:12:30Z" level=debug msg="sending response payload: callback=https://registry.hub.docker.com/u/ggerbaud/figdemo/hook/.../" 

The problem seems to be in the StartContainer but I can't see the error because of multiple response.WriteHeader calls

Enable Container Deployment Policies

This is to control the process of which containers are started. Examples could be:

Rolling

This would start new containers and replace the old ones one at a time. This would be ideal for applications that can have multiple versions running at the same time (no database migrations, etc)

Replace

This would start a new container and then stop all old containers before starting the rest. This way there is no downtime. This would also prevent the old versions from serving that could cause issues if there was a major update or database changes, etc.

Suggestions for other policies welcome :)

Missing file /bin/conduit

I'm having the same issue described in #6 [1]. I forked the repo and am trying to add some extra debugging output, but I'm not sure what should be in the conduit file that appears in this line in the Dockerfile (and which is also the entrypoint), and so the build is failing:

COPY conduit /bin/conduit

I see that conduit is in .gitignore. What should be in this file so I can build conduit locally?

[1] If it's helpful: I'm using docker machine with --driver amazonec2 to auto-deploy this Docker Hub repo.

Test curl doesn't seem to work...

Deployed conduit with -r ehazlett/go-demo and token, passed port 8080 to host, tested with curl -d '{"repository": {"repo_name": "ehazlett/go-demo"}}' http://localhost:8080?token=s3cr3+

no response from conduit container
conduit logs:

time="2015-05-15T00:23:02Z" level=info msg="starting conduit v0.0.4" 
time="2015-05-15T00:23:02Z" level=info msg="repos: [ehazlett/go-demo]" 
time="2015-05-15T00:23:02Z" level=info msg="tags: [latest]" 

go-demo container isn't deployed and isn't in docker ps history...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.