Socket
Socket
Sign inDemoInstall

strider-runner-core

Package Overview
Dependencies
6
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    strider-runner-core

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


Version published
Weekly downloads
5
decreased by-58.33%
Maintainers
4
Install size
1.66 MB
Created
Weekly downloads
 

Readme

Source

strider-runner-core

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

Build Status

Usage

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

core.process(data, provider, plugins, config, next);

API

  • 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 - object attributes:
    • 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.

Keywords

FAQs

Last updated on 11 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc