Coder Social home page Coder Social logo

moxie's Introduction

Moxie

Long-running periodic job scheduler and runner.

moxie's People

Contributors

konklone avatar mileswwatkins avatar paultag avatar rshorey avatar tianon 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

moxie's Issues

alerts

add alerts

  • email (critical)
  • webhooks
  • slack
  • kgb
  • github

params

allow launching a build with a paramater; needed for stuff like openstates historical scrape

ability to consume github webhooks

Possibly just webhooks in general, but GitHub web hooks would be really handy to be able to have jobs fire off in response to pushes, comments, PRs, issues, etc.

complete ssh gateway

expose all of the db over ssh

  • show running containers
  • enable/disable jobs
  • reload yaml somehow (sftp?)
  • cli invocation ssh localhost -p 2222 kill test
  • ensure \r\n everywhere
  • events streaming
  • log attach
  • notification
  • FANCY FUTURE SHIT

yaml simplification

ansible is amazing. shared variables is amazing. I hate setting SUNLIGHT_API_KEY 50 times.

concurent start limit

rate limit the number of jobs being brought up at once. Let's do 2 at a time at most?

aiodocker can't see aiohttp during pip install

During pip install -r requirements.txt, aiohttp installs successfully from git, but then aiodocker doesn't see it during install/compilation:

Obtaining aiohttp from git+https://github.com/KeepSafe/aiohttp#egg=aiohttp (from -r requirements.txt (line 6))
  Updating /home/eric/.virtualenvs/moxie/src/aiohttp clone
  Running setup.py (path:/home/eric/.virtualenvs/moxie/src/aiohttp/setup.py) egg_info for package aiohttp

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files found matching 'aiohttp/_multidict.html'
    warning: no previously-included files found matching 'aiohttp/_multidict.*.so'
    warning: no previously-included files found matching 'aiohttp/_multidict.pyd'
    warning: no previously-included files found matching 'aiohttp/_multidict.*.pyd'
    warning: no previously-included files found matching 'aiohttp/_websocket.html'
    warning: no previously-included files found matching 'aiohttp/_websocket.*.so'
    warning: no previously-included files found matching 'aiohttp/_websocket.pyd'
    warning: no previously-included files found matching 'aiohttp/_websocket.*.pyd'
  Installing extra requirements: 'egg'
Downloading/unpacking aiodocker (from -r requirements.txt (line 7))
  Downloading aiodocker-0.6.tar.gz
  Running setup.py (path:/home/eric/.virtualenvs/moxie/build/aiodocker/setup.py) egg_info for package aiodocker
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/home/eric/.virtualenvs/moxie/build/aiodocker/setup.py", line 4, in <module>
        from aiodocker import __version__
      File "/home/eric/.virtualenvs/moxie/build/aiodocker/aiodocker/__init__.py", line 3, in <module>
        from .docker import Docker
      File "/home/eric/.virtualenvs/moxie/build/aiodocker/aiodocker/docker.py", line 5, in <module>
        import aiohttp
    ImportError: No module named 'aiohttp'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/home/eric/.virtualenvs/moxie/build/aiodocker/setup.py", line 4, in <module>

    from aiodocker import __version__

  File "/home/eric/.virtualenvs/moxie/build/aiodocker/aiodocker/__init__.py", line 3, in <module>

    from .docker import Docker

  File "/home/eric/.virtualenvs/moxie/build/aiodocker/aiodocker/docker.py", line 5, in <module>

    import aiohttp

ImportError: No module named 'aiohttp'

look at use of Session()

I think we're making too many connections to postgres.

I think that might cause 500s when we use too many.

better cron?

so that we can set a static time for the next interval

multiple web workers

having one moxied is fine, since it's pretty lazy / slow, but letting it handle many workers is super needed.

use links

skydns / skydock just took down my server

multiple job servers

The ability to have multiple servers running jobs would be a pretty big improvement, especially if they can all have a single web UI for management.

We talked on IRC, and tagging (ala #29) is probably the cleanest way to get to this.

one job against a whole cluster or in many configurations

Running the same job against a whole cluster of machines (or even just with slightly different configuration, like a different GOOS/GOARCH set, for example πŸ˜‰) would be an interesting way to get a build matrix of sorts.

(just recording this as an issue so we can discuss further ideas/thoughts on it asynchronously)

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.