js/py/go checker for CI/CD
Useful arch: Jenkins+pipeline+docker
Containerized checks is useful when you don't want to install packages on Jenkins workers
- Link github account into dockerhub
- Choose access level (i prefer read-only)
- Create posthook to trigger builds and get
TOKEN
docker run --rm -w /code -v ~/path/to/code:/code vnaumov/pylint2:alpine2
Hook:
curl -XPOST https://registry.hub.docker.com/u/vnaumov/pylint2/trigger/$TOKEN/