GitXplorerGitXplorer
d

jsci

public
1 stars
0 forks
5 issues

Commits

List of commits on branch master.
Unverified
d8ec6d08d781fe7856f28e7f94a1172f7c44615c

tidy up

ddarrenmce committed 7 years ago
Unverified
ce83d96c513040408edbd53ae3b271d03c391c4a

remove use of sync mkdirp

ddarrenmce committed 8 years ago
Unverified
95fb521a3ae7a60c9160bb3d36a6af39902279bf

add support for passing config file to rc

ddarrenmce committed 8 years ago
Unverified
951acb92530b5141a3aa4adea03dca4366893ec7

update package.json to include git repo

ddarrenmce committed 8 years ago
Unverified
105bfcbe383f4b7272cf7c18a3f9e30553589112

update for npm 'bin' usage

ddarrenmce committed 8 years ago
Unverified
ce7aea231f3d9ecaf9a64815874d88104833d1af

update author and license to MIT

ddarrenmce committed 8 years ago

README

The README file for this repository.

JSCI - Simple ~100 line CI process written in node

Caveats

  • only works with public git repositories (or with auth in the url.. )
  • requires a docker image for build steps to be run within
  • requires a Dockerfile in the repository for publishing

This is a purely educational implementation.

Usage:

create a json config file (myconfig.json in example) to provide your registry authentication (docker hub or any registry) and your workspace (where the builds get cloned to and run out of)

{
  "workspace": "/path/to/workspace/root",
  "auth": {
    "hub": {
      "username": "homersimpson",
      "password": "d0hnuts"
    }
  }
}

based on the example.json in the repository, create a build json (mybuild.json in example).

install jsci and run your Job!

npm install -g jsci
jsci --config myconfig.json -f mybuild.json