Gathering detailed insights and metrics for strider-simple-runner
Gathering detailed insights and metrics for strider-simple-runner
Gathering detailed insights and metrics for strider-simple-runner
Gathering detailed insights and metrics for strider-simple-runner
Easy-to-configure in-process Runner implementation for Strider.
npm install strider-simple-runner
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (98.13%)
HTML (1.61%)
Less (0.26%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3 Stars
335 Commits
18 Forks
3 Watchers
13 Branches
18 Contributors
Updated on Jan 15, 2022
Latest Version
2.0.0
Package Id
strider-simple-runner@2.0.0
Unpacked Size
48.56 kB
Size
16.29 kB
File Count
23
NPM Version
6.14.4
Node Version
12.16.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Easy-to-configure in-process runner implementation for Strider Continous Deployment. This runner comes bundled with Strider.
require('strider-simple-runner').create(emitter, config, done)
All options are optional.
pty(false): use 'pty' for running commands. Currently disabled
logger(console): .log, .warn, .error
io(new EventEmitter): the channel of internal communication with the job worker
processJob(core.process):function to run a job. (task, config, ondone)
pluginDirs: the directories in which to look for plugins
dataDir($HOME/.strider): the directory in which to clone/test/etc
concurrentJobs(1): maximum number of jobs to execute at once
{
id: Oid,
type: 'TEST_ONLY' | 'TEST_AND_DEPLOY',
user_id: Oid,
trigger: {
},
ref: {
branch: String,
id: String // commit id
},
// this stuff is not part of the "job" document in mongo, but is added
project: {
// project config straight from db, includes plugin config and
// project level provider config
},
userProvider: { // user-level config for the provider. Things like a github
} // OAuth token. Retrieved from user.providers.[providerid]
}
Ex: github provider config
1{ 2 id: 'github', 3 user: { 4 token: '1234', 5 username: 'hacker' 6 }, 7 project: { 8 url: 'example.com/repo.git', 9 display_url: 'http://example.com/repo', 10 auth: { 11 method: 'https', 12 username: null, // use user's gh auth 13 password: null // use user's gh token 14 } 15 } 16}
Ex: git provider config
1{ 2 id: 'git', 3 user: {}, 4 project: { 5 url: 'example.com/repo.git', 6 method: 'ssh', 7 privkey: null, // use repo-level ssh keys 8 pubkey: null 9 } 10}
Project config looks like:
1{ 2 name: 'owner/name', 3 public: false, 4 active: true, 5 deploy_on_green: true, 6 secret: // what's this for? 7 runner: { 8 id: 'simple', // or docker, etc. 9 pty: false 10 // other config for the runner 11 }, 12 privkey: '', 13 pubkey: '', 14 provider: {}, // provider config 15 // owner is implicit, as it's embedded ... 16 collaborators: [], 17 plugins: [{ 18 id: 'heroku', 19 // plugin config 20 }, ...] 21}
Plugins needed:
Providers:
Strider-simple-runner comes with tests. To run, simply execute npm test
.
Strider-simple-runner is released under a BSD license.
Picture of worker ant CC-BY myprofe from http://www.flickr.com/photos/myprofe/5883651745/sizes/m/in/photostream/
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 2/15 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
40 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More