Continuous Integration for Volto Add-ons: eslint, prettier, stylelint, cypress
50K+
Docker Image optimized for running tests over Volto Add-ons
$ docker run -it --rm \
-e GIT_NAME=volto-group-block \
-e GIT_BRANCH=develop \
-e NAMESPACE=@eeacms \
-e DEPENDENCIES="@eeacms/volto-blocks-form" \
plone/volto-addon-ci eslint
$ docker run -it --rm \
-e GIT_NAME=volto-group-block \
-e GIT_CHANGE_ID=50 \
-e GIT_BRANCH=PR-50 \
-e NAMESPACE=@eeacms \
-e DEPENDENCIES="@eeacms/volto-blocks-form" \
plone/volto-addon-ci eslint
$ cd src/addons/volto-slate
$ docker run -it --rm \
-v $(pwd):/opt/frontend/my-volto-project/src/addons/volto-slate \
-e GIT_NAME=volto-slate \
plone/volto-addon-ci
VOLTO Volto version that the project will use. Default: Latest released version is used.TIMEOUT Timeout in ms (e.g.: TIMEOUT=60000). Default: 120000GIT_NAME Git repo name (e.g.: GIT_NAME=volto-group-block). RequiredGIT_URL Git repo root url (e.g.: GIT_URL=https://gitlab.com). Default https://github.comGIT_BRANCH Run tests over the provided git branch (e.g.: GIT_BRANCH=develop). Default: masterGIT_USER Override git user (e.g.: GIT_USER=collective). Default: eeaGIT_CHANGE_ID Run tests over a github pull-request (e.g.: GIT_CHANGE_ID=PR-5. Default: <not-set>NAMESPACE Volto add-on namespace (e.g.: NAMESPACE=@eeacms). Default: <not-set>DEPENDENCIES Volto add-on dependencies space separated (e.g.: DEPENDENCIES=@eeacms/volto-blocks-form volto-slate). Default: <not-set>RAZZLE_API_PATH Razzle API path (e.g.: RAZZLE_API_PATH=http://foo.bar:8080/plone). Default: http://plone:8080/PloneCYPRESS_API_PATH Cypress API Path (e.g.: CYPRESS_API_PATH=http://foo.bar:8080/plone). Default: $RAZZLE_API_PATHtest Run jest Volto add-on unit tests (Default)eslint Run eslint checks over Volto add-on codestylelint Run stylelint checks over Volto add-on codeprettier Run prettier checks over Volto add-on codecypress Run cypress checks over Volto add-on codeThe 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:61cd1cfcd…
Size
877.9 MB
Last updated
almost 3 years ago
docker pull plone/volto-addon-ci:alpha