EEA & Eionet documentation hub

Browse documentation for IT-systems used by the European Environment Agency and the Eionet network.

Docker image for zptlint checker

eea.docker.zptlint

zptlint is a utility to debug Zope Page Templates

Usage

$ docker run -i --rm -v /path/to/python/code:/code eeacms/zptlint

or

$ docker run -i --rm eeacms/zptlint https://github.com/eea/eea.alchemy.git

Running in jenkins, including pull requests:

  • GIT_NAME, GIT_SRC - must be given

  • GIT_BRANCH - defaults to master

  • GIT_CHANGE_ID - can be empty or pull request id

$ docker run -i –rm -e GIT_SRC=”https://github.com/eea/$GIT_NAME.git” -e GIT_NAME=”$GIT_NAME” -e GIT_BRANCH=”$BRANCH_NAME” -e GIT_CHANGE_ID=”$CHANGE_ID” eeacms/zptlint

Edit this page