Plone image used to run EEA packages tests
10K+
Docker Image optimized for running tests over Plone Add-ons
$ docker run -it --rm \
-e ADDONS="eea.facetednavigation" \
-e DEVELOP="src/eea.facetednavigation" \
eeacms/plone-test -s eea.facetednavigation
$ docker run -it --rm \
-e ADDONS="eea.facetednavigation" \
-e DEVELOP="src/eea.facetednavigation" \
-e GIT_USER="collective" \
-e GIT_CHANGE_ID=50 \
-e GIT_BRANCH=PR-50 \
eeacms/plone-test -s eea.facetednavigation
Xunit xml report files are saved in the container, in the path /plone/instance/parts/xmltestreport/testreports/
Coverage report is saved in the /plone/instance/src/$GIT_NAME/coverage.xml file
$ docker run -it --name=plonetest \
-e ADDONS="eea.facetednavigation" \
-e DEVELOP="src/eea.facetednavigation" \
-e GIT_NAME="eea.facetednavigation" \
eeacms/plone-test coverage
We are keeping the container
Stoppedand will delete it after we copy the reports
$ mkdir xunit-reports
$ docker cp plonetest:/plone/instance/parts/xmltestreport/testreports/. xunit-reports/
$ docker cp plonetest:/plone/instance/src/eea.facetednavigation/coverage.xml coverage.xml
$ docker rm -v plonetest
GIT_BRANCH Run tests over the provided git branch (e.g.: GIT_BRANCH=develop). Default: masterGIT_CHANGE_ID Run tests over a github pull-request (e.g.: GIT_CHANGE_ID=PR-5. Default: <not-set>GIT_REMOTE_URL Override git remote (e.g.: GIT_REMOTE_URL=https://bitbucket.org). Default: https://github.com. ExperimentalGIT_USER Override git user (e.g.: GIT_USER=collective). Default: eeaGIT_NAME Used in coverage testing, to set the tested addonzptlint Run bin/zptlint checks over all Page Templates within /plone/instance/src-<bin/test option> Run bin/test $@The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.
The Original Code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Content type
Image
Digest
sha256:80c43a8df…
Size
269.5 MB
Last updated
over 3 years ago
docker pull eeacms/plone-test