jarvusinnovations/background-action
Background commands with log tailing/capture; waits until file/port/socket/http are ready to proceed. Isolates/dedupe errors.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| run | commands to run, supports multi-line commands (to background multiple processes, use & at the end of each line) | yes | — |
| working-directory | the current working directory for the shell running the commands | no | — |
| wait-on | resources to wait on -- separated by commas or newlines, supported prefixes: [file,http,https,http-get,https-get,tcp,socket] (for advanced usage, pass a JSON serialized wait-on config) | no | — |
| wait-for | duration to wait for resources to be available (specify unit postfix, defaults to ms) | — | 30s |
| tail | tail log output while waiting on resources to be available [stderr,stdout,true,false] | — | true |
| log-output | specify which logs (stdout,stderr) to output post-run (after the run has completed or failed) (stderr,stdout,true,false) | — | stdout,stderr |
| log-output-resume | truncate tailed stderr/stdout output from post-run logs (i.e. deduplicate log output) [stderr,stdout,true,false] | — | false |
| log-output-if | control if post-run logging occurs (timeout,early-exit,failure,true,false) | — | true |
Outputs
no outputs