From 0cdd47ec2937191655669c6cfce61d7263817473 Mon Sep 17 00:00:00 2001 From: syrine ben romdhane Date: Fri, 7 Feb 2020 18:02:25 +0100 Subject: [PATCH 1/2] update documentation --- docs/containers.md | 36 +++-------------- docs/migration.md | 51 +++++++++++++++++++++++ docs/nosql/redis.md | 9 ++++- docs/php/7.0.33.md | 99 +++++++++++++++++++++++++++++++++++++++++++++ docs/php/7.1.31.md | 99 +++++++++++++++++++++++++++++++++++++++++++++ docs/php/7.2.21.md | 99 +++++++++++++++++++++++++++++++++++++++++++++ docs/php/7.3.8.md | 99 +++++++++++++++++++++++++++++++++++++++++++++ mkdocs.yml | 31 ++++++++------ 8 files changed, 478 insertions(+), 45 deletions(-) create mode 100644 docs/migration.md create mode 100644 docs/php/7.0.33.md create mode 100644 docs/php/7.1.31.md create mode 100644 docs/php/7.2.21.md create mode 100644 docs/php/7.3.8.md diff --git a/docs/containers.md b/docs/containers.md index cec8fb5..8a2e5ec 100644 --- a/docs/containers.md +++ b/docs/containers.md @@ -6,37 +6,13 @@ logo: docker order: 8 excerpt: "continuousphp docker containers." --- -continuousphp docker containers include by default the following services: -* [mysql](/databases/mysql/) -* [postgreql](/databases/postgresql/) -* [couchbase](/nosql/couchbase/) -* [apache2](/webserver/) -* [mongodb](/nosql/mongodb/) -* [redis](/nosql/redis/) +All no deprecated continuousphp docker containers support the following tools and applications: -They also include also the following tools and applications: - -* [eb](http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html) (AWS ElasticBeanstalk) -* [graphviz](http://www.graphviz.org/Documentation.php) -* latex base & recommended -* [nvm](/nodejs/) -* [rbenv](/ruby/) -* [subversion](https://subversion.apache.org/) -* [mailcatcher](/emails/mailcatcher/) - -All locales have been installed and configured. - -If you need any other packages installed, as sudo, you can easily install them with a Phing target in your *build.xml*: - -```xml - - - - -``` +* aws-cli +* azure-cli +* pip 3.7 +* pip 2.7 +* terraform Please feel free to contact us if you think that there is missing something essential in our containers! diff --git a/docs/migration.md b/docs/migration.md new file mode 100644 index 0000000..cbe664f --- /dev/null +++ b/docs/migration.md @@ -0,0 +1,51 @@ + +--- +layout: doc-toc +title: "Migration guide - Documentation" +category: "Migration guide" +logo: docker +order: 8 +--- + +## Database services + +We are no longer run services inside the same containers using localhost, mysql, mongodb, redis, phantomjs, mailcatcher, graphviz +theses services are now part as side containers and can be activated using environement variables, please report to documentation. + +* [mysql](/databases/mysql/) +* [mariadb](/databases/mariadb/) +* [postgrsql](/databases/postgresql/) +* [mongodb](/nosql/mongodb/) +* [redis](/nosql/redis/) +* [apache2](/webserver/) +* phantomjs +* mailcatcher +* graphviz + +## Update nodejs version + +We are no longer using nvm to change nodejs version, inside you should follow the example below. + +```xml +sh $(NVM_DIR)/nvm.sh +sudo su -c "source /etc/profile ; nvm install 10.16.3 -reinstall-packages-from=v5.4.1 ; nvm alias default 10.16.3 ; nvm list" +``` +## Missing commands + +Commands listed below are missing: + +* rsync +* eb +* nvm +* rbenv +* subversion + +You could encountered missing command line, like rsync, it was previously on the base image of system, but not present in official base php debian image. When you meet this error install the package using a shell script using command below: + +```xml +sudo apt update && sudo apt install rsync +``` + + + +Please feel free to contact us if face any problem ! diff --git a/docs/nosql/redis.md b/docs/nosql/redis.md index ecda072..f6dc078 100644 --- a/docs/nosql/redis.md +++ b/docs/nosql/redis.md @@ -9,9 +9,14 @@ excerpt: "Redis support by continuousphp" ## Specification -Our containers run Redis 2.4.9 with PHP extensions: +Redis containers are available for each activity in your build. To enable one of them, simply add the environment +variable `CPHP_SERVICE_REDIS` with the desired Redis version as value to your pipeline configuration. Available versions are : -* redis + +* ***5.0.7*** + +E.g. if you need `Redis 5.0.7` in your Behat tests, go to the Testing Settings (step 2 of the Pipeline) and add the +environment variable `CPHP_SERVICE_REDIS = 5.0.7` to the Behat configuration. ## Connecting to Redis diff --git a/docs/php/7.0.33.md b/docs/php/7.0.33.md new file mode 100644 index 0000000..fbd6927 --- /dev/null +++ b/docs/php/7.0.33.md @@ -0,0 +1,99 @@ +--- +layout: doc +title: "7.0.33" - Documentation" +category: "php" +order: 9 +excerpt: "PHP-7.0.33 support by continuousphp" +--- +[PHP-7.0.33](http://www.php.net) is supported by continuousphp containers. + +## Specification + +Our containers run PHP-7.0.33 with the following PHP extensions: + +### PHP Modules + +* apcu +* ast +* bcmath +* bz2 +* calendar +* Core +* ctype +* curl +* date +* dba +* dom +* enchant +* exif +* fileinfo +* filter +* ftp +* gd +* gettext +* gmp +* hash +* iconv +* imap +* intl +* json +* ldap +* libxml +* mbstring +* memcached +* mongodb +* mysqli +* mysqlnd +* oci8 +* openssl +* pcntl +* pcre +* PDO +* pdo_mysql +* pdo_pgsql +* pdo_sqlite +* pgsql +* Phar +* posix +* pspell +* readline +* recode +* redis +* Reflection +* session +* shmop +* SimpleXML +* soap +* sockets +* sodium +* SPL +* mcrypt +* mhash +* mongo +* mysql +* sqlite3 +* standard +* sysvmsg +* sysvsem +* sysvshm +* tidy +* tokenizer +* xdebug +* xml + +### Zend Modules + +* XDebug + +### JPEG Support + +* JPEG Support +* libJPEG version 8 + +### Memory Limit + +* memory_limit 1024M + +### Sendmail + +* sendmail_path /bin/true diff --git a/docs/php/7.1.31.md b/docs/php/7.1.31.md new file mode 100644 index 0000000..8187a63 --- /dev/null +++ b/docs/php/7.1.31.md @@ -0,0 +1,99 @@ +--- +layout: doc +title: "7.1.31 - Documentation" +category: "php" +order: 9 +excerpt: "PHP-7.1.31 support by continuousphp" +--- +[PHP-7.1.31](http://www.php.net) is supported by continuousphp containers. + +## Specification + +Our containers run PHP-7.1.31 with the following PHP extensions: + +### PHP Modules + +* apcu +* ast +* bcmath +* bz2 +* calendar +* Core +* ctype +* curl +* date +* dba +* dom +* enchant +* exif +* fileinfo +* filter +* ftp +* gd +* gettext +* gmp +* hash +* iconv +* imap +* intl +* json +* ldap +* libxml +* mbstring +* memcached +* mongodb +* mysqli +* mysqlnd +* oci8 +* openssl +* pcntl +* pcre +* PDO +* pdo_mysql +* pdo_pgsql +* pdo_sqlite +* pgsql +* Phar +* posix +* pspell +* readline +* recode +* redis +* Reflection +* session +* shmop +* SimpleXML +* soap +* sockets +* sodium +* SPL +* mcrypt +* mhash +* mongo +* mysql +* sqlite3 +* standard +* sysvmsg +* sysvsem +* sysvshm +* tidy +* tokenizer +* xdebug +* xml + +### Zend Modules + +* XDebug + +### JPEG Support + +* JPEG Support +* libJPEG version 8 + +### Memory Limit + +* memory_limit 1024M + +### Sendmail + +* sendmail_path /bin/true diff --git a/docs/php/7.2.21.md b/docs/php/7.2.21.md new file mode 100644 index 0000000..d4fd144 --- /dev/null +++ b/docs/php/7.2.21.md @@ -0,0 +1,99 @@ +--- +layout: doc +title: "7.2.21 - Documentation" +category: "php" +order: 9 +excerpt: "PHP-7.2.21 support by continuousphp" +--- +[PHP-7.2.21](http://www.php.net) is supported by continuousphp containers. + +## Specification + +Our containers run PHP-7.2.21 with the following PHP extensions: + +### PHP Modules + +* apcu +* ast +* bcmath +* bz2 +* calendar +* Core +* ctype +* curl +* date +* dba +* dom +* enchant +* exif +* fileinfo +* filter +* ftp +* gd +* gettext +* gmp +* hash +* iconv +* imap +* intl +* json +* ldap +* libxml +* mbstring +* memcached +* mongodb +* mysqli +* mysqlnd +* oci8 +* openssl +* pcntl +* pcre +* PDO +* pdo_mysql +* pdo_pgsql +* pdo_sqlite +* pgsql +* Phar +* posix +* pspell +* readline +* recode +* redis +* Reflection +* session +* shmop +* SimpleXML +* soap +* sockets +* sodium +* SPL +* mcrypt +* mhash +* mongo +* mysql +* sqlite3 +* standard +* sysvmsg +* sysvsem +* sysvshm +* tidy +* tokenizer +* xdebug +* xml + +### Zend Modules + +* XDebug + +### JPEG Support + +* JPEG Support +* libJPEG version 8 + +### Memory Limit + +* memory_limit 1024M + +### Sendmail + +* sendmail_path /bin/true diff --git a/docs/php/7.3.8.md b/docs/php/7.3.8.md new file mode 100644 index 0000000..d4d8674 --- /dev/null +++ b/docs/php/7.3.8.md @@ -0,0 +1,99 @@ +--- +layout: doc +title: "7.3.8 - Documentation" +category: "php" +order: 9 +excerpt: "PHP-7.3.8 support by continuousphp" +--- +[PHP-7.3.8](http://www.php.net) is supported by continuousphp containers. + +## Specification + +Our containers run PHP-7.3.8 with the following PHP extensions: + +### PHP Modules + +* apcu +* ast +* bcmath +* bz2 +* calendar +* Core +* ctype +* curl +* date +* dba +* dom +* enchant +* exif +* fileinfo +* filter +* ftp +* gd +* gettext +* gmp +* hash +* iconv +* imap +* intl +* json +* ldap +* libxml +* mbstring +* memcached +* mongodb +* mysqli +* mysqlnd +* oci8 +* openssl +* pcntl +* pcre +* PDO +* pdo_mysql +* pdo_pgsql +* pdo_sqlite +* pgsql +* Phar +* posix +* pspell +* readline +* recode +* redis +* Reflection +* session +* shmop +* SimpleXML +* soap +* sockets +* sodium +* SPL +* mcrypt +* mhash +* mongo +* mysql +* sqlite3 +* standard +* sysvmsg +* sysvsem +* sysvshm +* tidy +* tokenizer +* xdebug +* xml + +### Zend Modules + +* XDebug + +### JPEG Support + +* JPEG Support +* libJPEG version 8 + +### Memory Limit + +* memory_limit 1024M + +### Sendmail + +* sendmail_path /bin/true diff --git a/mkdocs.yml b/mkdocs.yml index aaf25c9..e7055c9 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -41,19 +41,22 @@ nav: - Configure your pipeline: - Choose a PHP version: - PHP versions overview : php.md - - 7.2.0: php/7.2.0.md - - 7.1.12: php/7.1.12.md - - 7.1.0: php/7.1.0.md - - 7.0.22: php/7.0.22.md - - 7.0.4: php/7.0.4.md - - 5.6.4: php/5.6.4.md - - 5.5.13: php/5.5.13.md - - 5.5.6: php/5.5.6.md - - 5.4.22: php/5.4.22.md - - 5.4.21: php/5.4.21.md - - 5.3.27: php/5.3.27.md - - PHPBrew: php/phpbrew.md - - 5.3.3: php/5.3.3.md + - 7.3.8: php/7.3.8.md + - 7.0.33: php/7.0.33.md + - 7.1.31: php/7.1.31.md + - 7.2.21: php/7.2.21.md + - 7.2.0 DEPRECATED: php/7.2.0.md + - 7.1.12 DEPRECATED: php/7.1.12.md + - 7.1.0 DEPRECATED: php/7.1.0.md + - 7.0.22 DEPRECATED: php/7.0.22.md + - 7.0.4 DEPRECATED: php/7.0.4.md + - 5.6.4 DEPRECATED: php/5.6.4.md + - 5.5.13 DEPRECATED: php/5.5.13.md + - 5.5.6 DEPRECATED: php/5.5.6.md + - 5.4.22 DEPRECATED: php/5.4.22.md + - 5.4.21 DEPRECATED: php/5.4.21.md + - 5.3.27 DEPRECATED: php/5.3.27.md + - 5.3.3 DEPRECATED: php/5.3.3.md - Use environment variables: environment-variables.md - Use task runners: - Task Runners overview: task-runners.md @@ -128,4 +131,6 @@ nav: - IRC: notification/irc.md - HTTP: notification/http.md - AWS SNS: notification/aws-sns.md + - Migration guide: migration.md - FAQ: faq.md + From 80049ac278d45bfc75fd08db404853841600b8dc Mon Sep 17 00:00:00 2001 From: syrine ben romdhane Date: Fri, 7 Feb 2020 18:34:09 +0100 Subject: [PATCH 2/2] update documentation --- docs/php.md | 10 +++++++++- mkdocs.yml | 37 +++++++++++++++++++------------------ 2 files changed, 28 insertions(+), 19 deletions(-) diff --git a/docs/php.md b/docs/php.md index 85177b1..ee2e589 100644 --- a/docs/php.md +++ b/docs/php.md @@ -6,7 +6,15 @@ logo: php order: 7 excerpt: "PHP versions supported by continuousphp." --- -continuousphp supports several PHP versions with many PHP extensions precompiled, see specific PHP versions for extensions details. +continuousphp supports several PHP versions with many PHP extensions precompiled. All PHP versions supported by continuousphp runtime containers +are listed below: + +* [7.3.8](/php/7.3.8/) +* [7.2.21](/php/7.2.21/) +* [7.1.31](/php/7.1.31/) +* [7.0.33](/php/7.0.33/) + + More PHP versions will be supported shortly depending of your needs. diff --git a/mkdocs.yml b/mkdocs.yml index e7055c9..3ee7ec0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -37,26 +37,27 @@ nav: - Github: vcs/github.md - Bitbucket: vcs/bitbucket.md - Gitlab: vcs/gitlab.md + - Create a new pipeline: deployment-pipelines.md + - Runtime containers: + - PHP versions overview: php.md + - 7.3.8: php/7.3.8.md + - 7.0.33: php/7.0.33.md + - 7.1.31: php/7.1.31.md + - 7.2.21: php/7.2.21.md + - 7.2.0 DEPRECATED: php/7.2.0.md + - 7.1.12 DEPRECATED: php/7.1.12.md + - 7.1.0 DEPRECATED: php/7.1.0.md + - 7.0.22 DEPRECATED: php/7.0.22.md + - 7.0.4 DEPRECATED: php/7.0.4.md + - 5.6.4 DEPRECATED: php/5.6.4.md + - 5.5.13 DEPRECATED: php/5.5.13.md + - 5.5.6 DEPRECATED: php/5.5.6.md + - 5.4.22 DEPRECATED: php/5.4.22.md + - 5.4.21 DEPRECATED: php/5.4.21.md + - 5.3.27 DEPRECATED: php/5.3.27.md + - 5.3.3 DEPRECATED: php/5.3.3.md - Configure your pipeline: - - Choose a PHP version: - - PHP versions overview : php.md - - 7.3.8: php/7.3.8.md - - 7.0.33: php/7.0.33.md - - 7.1.31: php/7.1.31.md - - 7.2.21: php/7.2.21.md - - 7.2.0 DEPRECATED: php/7.2.0.md - - 7.1.12 DEPRECATED: php/7.1.12.md - - 7.1.0 DEPRECATED: php/7.1.0.md - - 7.0.22 DEPRECATED: php/7.0.22.md - - 7.0.4 DEPRECATED: php/7.0.4.md - - 5.6.4 DEPRECATED: php/5.6.4.md - - 5.5.13 DEPRECATED: php/5.5.13.md - - 5.5.6 DEPRECATED: php/5.5.6.md - - 5.4.22 DEPRECATED: php/5.4.22.md - - 5.4.21 DEPRECATED: php/5.4.21.md - - 5.3.27 DEPRECATED: php/5.3.27.md - - 5.3.3 DEPRECATED: php/5.3.3.md - Use environment variables: environment-variables.md - Use task runners: - Task Runners overview: task-runners.md