From dc26bd0287029c484780d87e7fe572e0f29cb320 Mon Sep 17 00:00:00 2001 From: Fran Tsao Date: Thu, 20 Aug 2020 15:01:24 +0200 Subject: [PATCH 1/4] #4 Added var in order to control how many cores you use building php --- CHANGELOG.md | 2 ++ defaults/main.yml | 1 + tasks/install.yml | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7bea2a..40211d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog). ## [Unreleased](https://github.com/idealista/php_role/tree/develop) +### Fixed +- *Use the cores you want building php* @frantsao ## [1.2.0](https://github.com/idealista/php_role/tree/1.2.0) ## [Full Changelog](https://github.com/idealista/php_role/compare/1.1.0...1.2.0) diff --git a/defaults/main.yml b/defaults/main.yml index 2368dcd..0951b10 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -25,6 +25,7 @@ php_ini_configuration_template: dest: "{{ php_install_dir }}/lib/php.ini" # Required libs & Compile options +php_make_jobs: "{{ ansible_processor_vcpus }}" php_required_libs: - autoconf - automake diff --git a/tasks/install.yml b/tasks/install.yml index 0a19c07..907cda6 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -38,7 +38,7 @@ - name: PHP | Make make: chdir: "{{ php_download_dir }}" - params: "--jobs={{ ansible_processor_cores }}" + params: "--jobs={{ php_make_jobs }}" - name: PHP | Make install make: From bacc9cd0a5c1e3d0243da9002e01966878601fd1 Mon Sep 17 00:00:00 2001 From: Fran Tsao Date: Fri, 21 Aug 2020 09:35:38 +0200 Subject: [PATCH 2/4] #6 updated changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40211d3..613d3ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## [Unreleased](https://github.com/idealista/php_role/tree/develop) ### Fixed -- *Use the cores you want building php* @frantsao +- *#6 Use the cores you want building php* @frantsao ## [1.2.0](https://github.com/idealista/php_role/tree/1.2.0) ## [Full Changelog](https://github.com/idealista/php_role/compare/1.1.0...1.2.0) From 8cf2b5872cfa8de0a4374602c3167badc72fff25 Mon Sep 17 00:00:00 2001 From: Fran Tsao Date: Fri, 21 Aug 2020 09:38:01 +0200 Subject: [PATCH 3/4] #6 updated changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 613d3ae..d83e1cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,13 +4,13 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## [Unreleased](https://github.com/idealista/php_role/tree/develop) ### Fixed -- *#6 Use the cores you want building php* @frantsao +- *[#6](https://github.com/idealista/php_role/issues/6) Use the cores you want building php* @frantsao ## [1.2.0](https://github.com/idealista/php_role/tree/1.2.0) ## [Full Changelog](https://github.com/idealista/php_role/compare/1.1.0...1.2.0) ### Added - *Updated test dependencies* @frantsao -- *#3 Added path vars for templates; fix config tasks; improve templates adding additional configuration parameters* @frantsao +- *[#3](https://github.com/idealista/php_role/issues/3) Added path vars for templates; fix config tasks; improve templates adding additional configuration parameters* @frantsao ## [1.1.0](https://github.com/idealista/php_role/tree/1.1.0) ## [Full Changelog](https://github.com/idealista/php_role/compare/1.0.0...1.1.0) From 6d39c3d51db39793a945021522f0166ec3ff3fa7 Mon Sep 17 00:00:00 2001 From: Fran Tsao Date: Fri, 21 Aug 2020 12:44:34 +0200 Subject: [PATCH 4/4] #6 updated doc for release --- CHANGELOG.md | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d83e1cf..93a06d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog). ## [Unreleased](https://github.com/idealista/php_role/tree/develop) + +## [1.3.0](https://github.com/idealista/php_role/tree/1.3.0) +## [Full Changelog](https://github.com/idealista/php_role/compare/1.2.0...1.3.0) ### Fixed - *[#6](https://github.com/idealista/php_role/issues/6) Use the cores you want building php* @frantsao diff --git a/README.md b/README.md index 15a4660..6668fd7 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Create or add to your roles dependency file (e.g requirements.yml): ``` yml - src: idealista.php_role - version: 1.2.0 + version: 1.3.0 name: php ```