Git Project Updater

Usage

docker run --rm -it -p 3000:3000 \
  -e PROJECTS=$PROJECTS \
  -v `pwd`/id_rsa:/root/.ssh/id_rsa \
  igloo/git-project-updater

ENV

  • AUTHORIZATION_KEY
  • FORCE_OWNER : chown recursive before update
  • GIT_SSH_COMMAND_ARGS : additional ssh args
  • PROJECTS :
    [
      {
        "name": "myProject",
        "path": "/my/path/",
        "repo": "git@myrepo.be:myproject.git",
      }
    ]

API

POST /update

Parameters :

  • projectName
  • reference