Giter VIP home page Giter VIP logo

dubster's People

Contributors

skoppe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dubster's Issues

Have the worker introspect the container settings and determine the data container name

The worker itself is run in a docker container. During its lifetime it will create several spin-off containers that either build dmd's or build packages. To facilitate data transfer between them it uses a data container.

During its calls to the docker api it needs to refer to the data container by name. The convention is that the data container is called dubsterdata. However, this fully depends on how the admin named the container during its creation.

A better approach would be to have the worker run an inspect on the container it is in and figure out the name of the data container at the /gen path. And then use that name in subsequent calls to docker.

Have the worker terminate packages that don't terminate themselves

When running dub test in the worker some packages (due to faulty config) actually start up and never terminate themselves.

Simply watch stdout/stderr and if nothing happens in e.g. 5 min stop container (calling stop on the container will send a sigterm to the process running in the container. If it doesn't respond docker will eventually send sigkill)

forever-d is one package that has this behaviour.

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.