-
improved: default database versions have been bumped to 5.7 for mysql, 11 for postgresql, as previous default versions are now End Of Life
-
fix: make it possible again to use mysql 5.6 as database
-
fix: make it possible again to use debian stretch as base image and have its packages system work, courtesy of Freexian repos
-
new: support environment variables COMPOSER_IGNORE_PLATFORM_REQS, COMPOSER_MAX_PARALLEL_HTTP, COMPOSER_PREFER_LOWEST, COMPOSER_PROCESS_TIMEOUT
-
improved: when creating the mysql db, set max concurrent connections to 256
-
fix: make it possible again to use debian jessie as base image and have its packages system work, courtesy of Freexian repos
-
new: support installation of Ibexa 4
-
new: allow specifying a custom version of NodeJS to install, via env var TESTSTACK_NODE_VERSION
-
improved: telling doctrine the correct version of mysql available, for ezplatform 3
-
new: simplified using the test stack on GitHub Actions by making it available as a custom action. This usage is documented via the example GHA workflow
-
fix: determining TESTSTACK_APP_DIR when the config file is given using a relative path
-
fix: avoid a problem with some liip imagine-bundle versions and eZP CP
-
fix: allow setting up the Legacy Bridge along with eZPlatform version 1 - it would work only with eZPlatform 2 beforehand
-
fix: when the teststack is used to test a pure legacy extension (ie. not one within a bundle), it would hang at the phase of generating legacy autoloads. We now prevent it from scanning the vendors folder
-
improved: when TESTSTACK_APP_DIR is not defined in the config file, the
teststack
command now tries to find the directory where the application (eZ bundle or legacy extension) is located by looking for a composer.json file first in the parent directory of the test stack itself (for BC), then in the directory of the config file and going up in all its parents, until one is found. The directory being used can be printed out by using the-v
cli option -
changed: in the test container, the dir where the project is installed is now
/home/test/workspace
- it was previously/home/test/bundle
-
new: command
teststack start
learned option-f
, which was already supported byteststack build
- fix: install Composer dependencies from a given composer.lock file (it broke recently because apparently Composer now requires a composer.json file to be available in any case in that scenario)
-
improved support for testing projects depending on eZPlatform 3.1, 3.2 and 3.3 (the latter is considered experimental)
-
use a per-project directory to store the db data, easing execution from a single dir of tests running on different db versions
-
install nodejs and npm by default in the test container (not supported yet for debian jessie and stretch containers)
-
the
teststack
command learned actioncleanup containers
;cleanup docker-images
was renamed tocleanup dead-images
-
fix: do not try to install php from a custom repository when the desired version is available in the apt repos already set up in the operating system
-
relaxed the need to specify the version of eZ in use in env var EZ_PACKAGES when using EZ_COMPOSER_LOCK, for the case of tests running on GHA/Travis
-
improve compatibility with mariadb docker images
-
fixed creating the test database user account so that it can be accessed from all php versions when using MySQL 8.0 (useful for GitHub Actions workers as Ubuntu 18 is deprecated now, and Ubuntu 20 defaults to MySQL 8.0.30)
-
fixed building the MySQL container for recent versions of MySQL 5.7/8.0 (DockerHub now uses Oracle base images)
-
added a configuration example for running tests using GitHub Actions
-
added: support env vars GITHUB_TOKEN and PACKAGIST_TOKEN as an alternative to COMPOSER_AUTH
-
BC break: when using EZ_COMPOSER_LOCK to specify the set of packages to install, it is now mandatory to specify as well the eZP package in use as value for the EZ_PACKAGES env var. This requirement might be relaxed in future releases
-
allow to pass in authentication for composer via env vars GITHUB_TOKEN, PACKAGIST_TOKEN
-
moved
master
branch tomain
- fix generation of code coverage with recent xdebug versions
- fix installing composer w. php 7.0, 7.1 on GitHub
-
new: support usage via GitHub Actions besides Travis
-
new: allow using Ubuntu instead of Debian as base OS for the docker containers
-
new: allow using MariaDB instead of Mysql as DB for the docker containers
-
fix: usage of
teststack -w $value
. Also, improve timeout measurement -
fix: make sure composer gets downgraded to version 2.2 when using php versions 5.6-7.1
-
fix: make sure
teststack build
andteststack setup
exit with non-0 code on failure to set up eZ -
change:
teststack exec
will not allocate a tty nor run in interactive mode by default. New cli options-i
and-t
are available for that command, which behave exactly the same way they do withdocker exec
. Also:teststack runtests
andteststack resetdb
do not allocate a terminal anymore -
change: revert to use of non-slim debian images as docker base images, to allow support of Ubuntu as container OS
-
improve: fail when using
-s
or-n
options forteststack setup
-
improve: reinstall php on container restart if TESTSTACK_PHP_VERSION hash changed
-
improve: when using docker, make sure mysql is available before declaring bootstrap finished
-
add to the docs an example configuration using eZPlatform 2.4
-
make it easier to reuse outside of Docker the script used to set up php
- fix: setup.sh failed on eZPlatform installs without the Legacy Bridge (bug introduced in 0.2)
-
fix: make it possible to run multiple copies of the stack in parallel. In order to achieve this, env var TESTSTACK_PROJECT_NAME has been replaced with COMPOSE_PROJECT_NAME in config file .euts.env. In order to retain Backwards Compatibility, the old variable name is still accepted if the new one is not used.
-
fix: setup.sh failed on Travis (bug introduced in 0.2)
-
add support for installing (and automatically setting up) the Legacy Bridge as test dependency
-
also, set up legacy siteaccesses configuration when running eZPublish-Community
-
fix handling of the custom configuration file specified via env var EZ_TEST_CONFIG_SYMFONY
-
fix cleaning up eZ caches and logs via commands
teststack cleanup
orcleanup.sh
-
move to using 'slim' versions of Debian Docker images to save disk space and network bandwidth
-
environment variables
http_proxy
,https_proxy
andCOMPOSER_AUTH
are now exported to the test container -
made command
teststack setup
more robust (when dealing with wrong/incomplete symlinks) -
small improvements in error handling
-
more verbose messages are emitted during build, bootstrap, app setup
-
add more labels to the containers; use better names for the container images built
Initial release