chroma-ci-watch

0.0.23 • Public • Published

chroma-ci-watch waits for a github 'push' webhook, then executes an arbitrary set of shell commands before and/or after pulling that branch

npm install -g chroma-ci-watch

it requires a ci.cson file to be present where run

port: 8080
git:
  repo: 'chroma-ci'
  branch: 'master'
  secret: 'chroma-haz-te$t'
  before: ['echo pull branch!']
  after: ['echo do something!']

we run this with pm2 / pm2-web using a config like this

{
    "apps": [{
        "name": "chroma-ci-watch",
        "script": "chroma-ci-watch",
        "exec_interpreter": "none"
    }, {
        "name": "chroma.fund tests @ 3100",
        "script": "npm",
        "args": "run prod-test",
        "exec_interpreter": "none"
    }]
}

Readme

Keywords

none

Package Sidebar

Install

npm i chroma-ci-watch

Weekly Downloads

13

Version

0.0.23

License

ISC

Last publish

Collaborators

  • chroma