From a15ab58ea805140717c2e58de1533aa963162328 Mon Sep 17 00:00:00 2001 From: Joel Wurtz Date: Wed, 25 Feb 2015 16:51:39 +0100 Subject: [PATCH] Preparing v0.3 version --- CHANGELOG.md | 18 ++++++++++++------ docs/command/run.md | 15 +++++++++++++++ 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0634f64..7331eda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ ## Change Log -### v0.2.3 (2014/08/01 14:40 +00:00) +### v0.3.0 (2015/02/25) + +- Better stability with updated docker-php library and error management +- Services ! (check the dock) +- Cleaning old images and tests + +### v0.2.4 (2014/08/01) - [1690410](https://github.com/jolicode/JoliCi/commit/16904105468a718a705376baf9d9ac66bd280c64) Add php 5.6 support (@joelwurtz) - [99a9dea](https://github.com/jolicode/JoliCi/commit/99a9dea3d196845545c21e1da0449865a900d4f1) Remove hack for phpenv, as new images use phpenv (@joelwurtz) - [093a309](https://github.com/jolicode/JoliCi/commit/093a309cb1d804748cde099df618c21967809c48) Add jolici binary to composer. (@nubs) @@ -8,10 +14,10 @@ - [0a715f8](https://github.com/jolicode/JoliCi/commit/0a715f86cb52fe815f379ff28c4bc03a9b746cf9) Add support for gush (@cordoval) - [9714ab0](https://github.com/jolicode/JoliCi/commit/9714ab02dc5da5b1af78b4bb7ec4881de7c4620a) Use stable version for dependencies (@nubs) -### v0.2.2 (2014/06/26 22:20 +00:00) +### v0.2.2 (2014/06/26) - [239a2de](https://github.com/jolicode/JoliCi/commit/239a2de6cf5d0db31404dbb39ab6f4b9210aa921) Update dependencies versions (@joelwurtz) -### v0.2.1 (2014/05/15 15:36 +00:00) +### v0.2.1 (2014/05/15) - [ad1ba9a](https://github.com/jolicode/JoliCi/commit/ad1ba9a3eca7fb4a0e4f3f3e5aba59904d525127) Add ruby versions (@joelwurtz) - [d697ee8](https://github.com/jolicode/JoliCi/commit/d697ee8eedcd0b33b42c2b5e89c918fb222eefbc) Encapsulate command in bash logged with profile support (@joelwurtz) - [c9b86ce](https://github.com/jolicode/JoliCi/commit/c9b86ce4c63ceb430a10930e5a7345e70706a321) Add node js support (@joelwurtz) @@ -20,12 +26,12 @@ - [9a551c8](https://github.com/jolicode/JoliCi/commit/9a551c8938f61ef74beaff3737b8dfa7c2091b9e) Add static progress bar when getting image from docker (@joelwurtz) - [f6662c2](https://github.com/jolicode/JoliCi/commit/f6662c25c8ad55ead5b654a75a29668ffa35f236) Make php dockerfile work when using phpenv specific action (like symfony) (@joelwurtz) -### v0.2.0 (2014/02/21 15:16 +00:00) +### v0.2.0 (2014/02/21) - [7d85d78](https://github.com/jolicode/JoliCi/commit/7d85d78774eaf6a5d41c1cd98a4be4ce7497c054) Adding ruby to travis strategy (@joelwurtz) - [71364c3](https://github.com/jolicode/JoliCi/commit/71364c3814e071cf63983f98933e11ec75fb5ea9) Add a default timeout to 10min for long running build (@joelwurtz) - [7100908](https://github.com/jolicode/JoliCi/commit/7100908c6f78966bd750310b2abfa0af5173f1fb) Refactoring creation of Dockerfile with twig generation (@joelwurtz) -### v0.1.1 (2014/01/18 21:43 +00:00) +### v0.1.1 (2014/01/18) - [69276ca](https://github.com/jolicode/JoliCi/commit/69276ca8b982b1343519f4119d188a299258c40b) Add travis ci support (@joelwurtz) - [8d469ec](https://github.com/jolicode/JoliCi/commit/8d469ecad0b696f72032e21f0d654ee8ad304c47) Add error management (@joelwurtz) -- [945a31a](https://github.com/jolicode/JoliCi/commit/945a31a1750c366eae15f1baeebf1aaff73001ff) Allow to override command when running test (@joelwurtz) \ No newline at end of file +- [945a31a](https://github.com/jolicode/JoliCi/commit/945a31a1750c366eae15f1baeebf1aaff73001ff) Allow to override command when running test (@joelwurtz) diff --git a/docs/command/run.md b/docs/command/run.md index 2f81a21..818cb91 100644 --- a/docs/command/run.md +++ b/docs/command/run.md @@ -25,6 +25,21 @@ in order to have mysql, memcached, elasticsearch... services available for your Each service will start from a clean state, data is not keeped. +For the moment, services are not host in the test container but run in a separate container. +To use them you need to set the correct host name for the service on your different configuration files. + +The hostname for each service is the same as the service name, so i.e. connecting to mysql can be done like that in +your test container : + +``` +mysql -u travis -h mysql +``` + +Also be aware that services are only available during the script execution, any action using a service before the script +will fail (like creating the schema in the install part). + +Elimination of this two downsides are currently the focus for the next releases. + ### Running test Once the environment is ready, JoliCi will run your test command on it and display the output directly on your console.