8000 GitHub - wbio/strider-runner-core at 0.1.3
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wbio/strider-runner-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strider-runner-core

Just run those jobs. Decoupled from load balancing, job queues, etc.

var core = require('strider-runner-core');

core.process(data, provider, plugins, config, next);
  • data is the mongoose job object. See the main strider repo for a schema.
  • provider is an instantiated provider, such as strider-git.
  • plugins is a map of instantiated plugins (such as strider-node) {id: plugin, ...}

Config parameters:

  • env - a map for augmenting the ENV variables in all commands run
  • io - an eventemitter for communication.
  • dataDir - the directory to hold your code
  • baseDir - base directory for this job
  • cacheDir - cache directory
  • cachier (see this file)
  • logger
  • log - log fn
  • error - log errors

next is called with any errors as the first argument.

About

Just run those jobs. Decoupled from load balancing, job queues, etc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%
0