@pixlcore/xyrun 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/main.js +2 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **xyOps Remote Job Runner (xyRun)** is a companion to the [xyOps](https://xyops.io) workflow automation and server monitoring platform. It is a wrapper for running remote jobs inside Docker containers, or over a remote SSH connection.
4
4
 
5
- The idea is that when a job is running "remotely" (i.e. not a direct child process of [xySat](https://github.com/pixlcore/xysat)) then we cannot monitor system resources for the job. Also, input and output files simply do not work in these cases (because xySat expects them to be on the local filesystem where it is running). xyRun handles all these complexites for you by sitting "in between" your job and xySat. xyRun should run *inside* the container or on the far end of the SSH connection, where your job process is running.
5
+ The idea is that when a job is running "remotely" (i.e. not a direct child process of [xySat](https://github.com/pixlcore/xysat)) then we cannot monitor system resources for the job. Also, input and output files simply do not work in these cases (because xySat expects them to be on the local filesystem where it is running). xyRun handles all these complexities for you by sitting "in between" your job and xySat. xyRun should run *inside* the container or on the far end of the SSH connection, where your job process is running.
6
6
 
7
7
  To use xyRun in a xyOps Event Plugin, make sure you set the Plugin's `runner` property to `true`. This hint tells xyOps (and ultimately xySat) that the job is running remotely out if its reach, and it should not perform the usual process and network monitoring, and file management. Those duties get delegated to xyRun.
8
8
 
package/main.js CHANGED
@@ -12,7 +12,9 @@ const JSONStream = require('pixl-json-stream');
12
12
  const PixlRequest = require('pixl-request');
13
13
  const Tools = require('pixl-tools');
14
14
  const pkg = require('./package.json');
15
+
15
16
  const noop = function() {};
17
+ const async = Tools.async;
16
18
 
17
19
  const app = {
18
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixlcore/xyrun",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Remote job runner script for xyOps.",
5
5
  "author": "Joseph Huckaby <jhuckaby@pixlcore.com>",
6
6
  "homepage": "https://github.com/pixlcore/xyrun",