Niels Abspoel
276d8f065c
Merge pull request #199 from myii/chore/standardise-structure
ci(yamllint): add rule `empty-values` & use new `yaml-files` setting
5 anni fa
Imran Iqbal
6f6d4bcdbf
ci(yamllint): add rule `empty-values` & use new `yaml-files` setting
* Automated using https://github.com/myii/ssf-formula/pull/27
5 anni fa
Niels Abspoel
bb199b1517
Merge pull request #198 from myii/chore/standardise-structure
ci: use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround
5 anni fa
Imran Iqbal
13e4e58789
chore: use `semantic-release` cross-formula standard structure
* Automated using https://github.com/myii/ssf-formula/pull/24
5 anni fa
Imran Iqbal
76a2f76295
ci: use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround
* Automated using https://github.com/myii/ssf-formula/pull/22
5 anni fa
semantic-release-bot
a2846eded0
chore(release): 1.1.1 [skip ci]
## [1.1.1](https://github.com/saltstack-formulas/php-formula/compare/v1.1.0...v1.1.1 ) (2019-09-05)
### Continuous Integration
* **kitchen+travis:** replace EOL pre-salted images ([c9eea17
](https://github.com/saltstack-formulas/php-formula/commit/c9eea17 ))
### Tests
* **suse:** update version to `7.0` for `opensuse-leap-15` ([fd67570
](https://github.com/saltstack-formulas/php-formula/commit/fd67570 ))
5 anni fa
Imran Iqbal
4b869ed5b6
Merge pull request #195 from myii/chore/standardise-structure
ci(kitchen+travis): replace EOL pre-salted images
5 anni fa
Imran Iqbal
fd675701a5
test(suse): update version to `7.0` for `opensuse-leap-15`
5 anni fa
Imran Iqbal
c9eea172a4
ci(kitchen+travis): replace EOL pre-salted images
* Automated using https://github.com/myii/ssf-formula/pull/16
5 anni fa
semantic-release-bot
a5515bcea6
chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/saltstack-formulas/php-formula/compare/v1.0.1...v1.1.0 ) (2019-09-05)
### Bug Fixes
* **fpm:** be sure to restart all Php instances in case of multi-versions ([d4772f9
](https://github.com/saltstack-formulas/php-formula/commit/d4772f9 ))
* **tests:** don't test services on Suse and RedHat ([23214bf
](https://github.com/saltstack-formulas/php-formula/commit/23214bf ))
* **xdebug:** fix xdebug package name ([496ec28
](https://github.com/saltstack-formulas/php-formula/commit/496ec28 ))
* **yamllint:** use separate suite for `ubuntu` ([6cba4af
](https://github.com/saltstack-formulas/php-formula/commit/6cba4af )), closes [#174 ](https://github.com/saltstack-formulas/php-formula/issues/174 )
### Code Refactoring
* **macro:** extract file_requisites macro ([d26c4f8
](https://github.com/saltstack-formulas/php-formula/commit/d26c4f8 ))
### Continuous Integration
* **kitchen:** add test pillars for Debian and call some states ([d4fc842
](https://github.com/saltstack-formulas/php-formula/commit/d4fc842 ))
### Features
* **repo:** add repo pattern so we can set distro repo during tests ([3c9efc7
](https://github.com/saltstack-formulas/php-formula/commit/3c9efc7 ))
### Styles
* **spec:** remove empty lines ([dc12a0b
](https://github.com/saltstack-formulas/php-formula/commit/dc12a0b ))
### Tests
* **config:** add tests on Php config ([6555cf0
](https://github.com/saltstack-formulas/php-formula/commit/6555cf0 ))
* **package:** fix package spec in case of multi Php versions ([59f648c
](https://github.com/saltstack-formulas/php-formula/commit/59f648c ))
* **service:** add tests on Php services ([baeac04
](https://github.com/saltstack-formulas/php-formula/commit/baeac04 ))
* **ubuntu:** fix tests on Ubuntu distro ([b13bed2
](https://github.com/saltstack-formulas/php-formula/commit/b13bed2 ))
5 anni fa
Imran Iqbal
c40b983a42
Merge pull request #197 from n-rodriguez/wip/tests
Add tests
5 anni fa
Imran Iqbal
6cba4af4f7
fix(yamllint): use separate suite for `ubuntu`
* Semi-automated using https://github.com/myii/ssf-formula/pull/18
* Close #174
5 anni fa
Nicolas Rodriguez
496ec28dae
fix(xdebug): fix xdebug package name
5 anni fa
Nicolas Rodriguez
b13bed2a48
test(ubuntu): fix tests on Ubuntu distro
5 anni fa
Nicolas Rodriguez
23214bfa78
fix(tests): don't test services on Suse and RedHat
5 anni fa
Nicolas Rodriguez
6555cf0432
test(config): add tests on Php config
5 anni fa
Nicolas Rodriguez
dc12a0bbf2
style(spec): remove empty lines
5 anni fa
Nicolas Rodriguez
baeac04bd9
test(service): add tests on Php services
5 anni fa
Nicolas Rodriguez
59f648c067
test(package): fix package spec in case of multi Php versions
5 anni fa
Nicolas Rodriguez
d4772f92fa
fix(fpm): be sure to restart all Php instances in case of multi-versions
5 anni fa
Nicolas Rodriguez
d4fc842a62
ci(kitchen): add test pillars for Debian and call some states
5 anni fa
Nicolas Rodriguez
3c9efc713d
feat(repo): add repo pattern so we can set distro repo during tests
5 anni fa
Nicolas Rodriguez
d26c4f8057
refactor(macro): extract file_requisites macro
5 anni fa
semantic-release-bot
a2d094c947
chore(release): 1.0.1 [skip ci]
## [1.0.1](https://github.com/saltstack-formulas/php-formula/compare/v1.0.0...v1.0.1 ) (2019-08-26)
### Bug Fixes
* **pillar:** fix pillar.get still looking under 'ng' namespace ([378b5b1
](https://github.com/saltstack-formulas/php-formula/commit/378b5b1 ))
5 anni fa
Imran Iqbal
a8c3603c1f
Merge pull request #194 from n-rodriguez/wip/fix_fpm_pools
fix(pillar): fix pillar.get still looking under 'ng' namespace
5 anni fa
Nicolas Rodriguez
378b5b1d37
fix(pillar): fix pillar.get still looking under 'ng' namespace
5 anni fa
semantic-release-bot
2a353df5d9
chore(release): 1.0.0 [skip ci]
# [1.0.0](https://github.com/saltstack-formulas/php-formula/compare/v0.41.1...v1.0.0 ) (2019-08-26)
### Features
* **ng:** promote NG formula ([57b37dd
](https://github.com/saltstack-formulas/php-formula/commit/57b37dd )), closes [#183 ](https://github.com/saltstack-formulas/php-formula/issues/183 )
### BREAKING CHANGES
* **ng:** all previous `php` based configurations must be reviewed;
`php.ng` usage must be promoted to `php` and any uses of the original
`php` will have to be converted.
5 anni fa
Imran Iqbal
57b37dd32b
feat(ng): promote NG formula
* Trigger `v1.0.0` to complete #183
BREAKING CHANGE: all previous `php` based configurations must be reviewed;
`php.ng` usage must be promoted to `php` and any uses of the original
`php` will have to be converted.
5 anni fa
semantic-release-bot
404873754d
chore(release): 0.41.1 [skip ci]
## [0.41.1](https://github.com/saltstack-formulas/php-formula/compare/v0.41.0...v0.41.1 ) (2019-08-26)
### Documentation
* **readme:** remove duplicate contents (local) ([f16796a
](https://github.com/saltstack-formulas/php-formula/commit/f16796a ))
5 anni fa
Imran Iqbal
f16796ab89
docs(readme): remove duplicate contents (local)
5 anni fa
semantic-release-bot
a089fe11bf
chore(release): 0.41.0 [skip ci]
# [0.41.0](https://github.com/saltstack-formulas/php-formula/compare/v0.40.1...v0.41.0 ) (2019-08-26)
### Features
* **ng:** promote NG formula ([f1b71d0
](https://github.com/saltstack-formulas/php-formula/commit/f1b71d0 ))
5 anni fa
Imran Iqbal
de91f7f50a
Merge pull request #183 from sticky-note/feat/ng
feat(ng): promote NG formula
5 anni fa
sticky-note
f1b71d00ae
feat(ng): promote NG formula
BREAKING CHANGES: users must adapt their pillar. See `docs.REAME.rst`
5 anni fa
semantic-release-bot
ea39203a4c
chore(release): 0.40.1 [skip ci]
## [0.40.1](https://github.com/saltstack-formulas/php-formula/compare/v0.40.0...v0.40.1 ) (2019-08-17)
### Bug Fixes
* **map:** fix missing value for php.lookup.fpm.user in multi-php mode ([f91d942
](https://github.com/saltstack-formulas/php-formula/commit/f91d942 ))
5 anni fa
Imran Iqbal
313722b264
Merge pull request #191 from philpep/fix-multiphp-rendering
Fix missing value for php.lookup.fpm.user in multi-php mode
5 anni fa
semantic-release-bot
a9c7fb5c3f
chore(release): 0.40.0 [skip ci]
# [0.40.0](https://github.com/saltstack-formulas/php-formula/compare/v0.39.2...v0.40.0 ) (2019-08-17)
### Features
* **yamllint:** include for this repo and apply rules throughout ([571cc4b
](https://github.com/saltstack-formulas/php-formula/commit/571cc4b ))
5 anni fa
Niels Abspoel
ffc46b51ad
Merge pull request #192 from myii/chore/standardise-structure
feat(yamllint): include for this repo and apply rules throughout
5 anni fa
Imran Iqbal
571cc4b46c
feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:
```bash
php-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
./test/integration/default/inspec.yml
1:1 warning missing document start "---" (document-start)
pillar.example
3:1 warning missing document start "---" (document-start)
7:22 warning truthy value should be one of [false, true] (truthy)
8:22 warning truthy value should be one of [false, true] (truthy)
10:22 warning truthy value should be one of [false, true] (truthy)
16:17 warning truthy value should be one of [false, true] (truthy)
41:12 error wrong indentation: expected 10 but found 11 (indentation)
46:27 warning truthy value should be one of [false, true] (truthy)
70:18 warning truthy value should be one of [false, true] (truthy)
74:19 warning truthy value should be one of [false, true] (truthy)
83:22 warning truthy value should be one of [false, true] (truthy)
97:22 warning truthy value should be one of [false, true] (truthy)
107:89 error line too long (93 > 88 characters) (line-length)
118:20 warning truthy value should be one of [false, true] (truthy)
126:14 error wrong indentation: expected 12 but found 13 (indentation)
126:23 warning truthy value should be one of [false, true] (truthy)
151:20 warning truthy value should be one of [false, true] (truthy)
177:19 warning truthy value should be one of [false, true] (truthy)
197:25 warning truthy value should be one of [false, true] (truthy)
```
5 anni fa
Philippe Pepiot
f91d942cfb
fix(map): fix missing value for php.lookup.fpm.user in multi-php mode
This fixes the rendering issue:
[CRITICAL] Rendering SLS 'base:php.ng.fpm.config' failed: Jinja variable 'dict object' has no attribute 'user'
When using multiple php versions, this is issued by "{{ php.lookup.fpm.user }}" from php/ng/fpm/config.sls
Add default users in group in the relevant 'fpm' dict from map.jinja
(this is to set owner and group to 'pool.d' directory).
5 anni fa
semantic-release-bot
83ff9d966c
chore(release): 0.39.2 [skip ci]
## [0.39.2](https://github.com/saltstack-formulas/php-formula/compare/v0.39.1...v0.39.2 ) (2019-08-13)
### Bug Fixes
* **tests:** fix package name for debian ([4f75eac
](https://github.com/saltstack-formulas/php-formula/commit/4f75eac ))
5 anni fa
Nicolas Rodriguez
0eef64306b
Merge pull request #190 from sticky-note/fix/tests
fix(tests): fix package name for debian
5 anni fa
sticky-note
4f75eac5fe
fix(tests): fix package name for debian
5 anni fa
semantic-release-bot
7e30f926b5
chore(release): 0.39.1 [skip ci]
## [0.39.1](https://github.com/saltstack-formulas/php-formula/compare/v0.39.0...v0.39.1 ) (2019-08-12)
### Bug Fixes
* **installed.jinja:** remove `include` to prevent conflicting IDs ([cb11784
](https://github.com/saltstack-formulas/php-formula/commit/cb11784 )), closes [#188 ](https://github.com/saltstack-formulas/php-formula/issues/188 )
5 anni fa
Imran Iqbal
f175a3498b
Merge pull request #189 from myii/fix/188-conflicting-ids
fix(installed.jinja): remove `include` to prevent conflicting IDs
5 anni fa
Imran Iqbal
cb11784768
fix(installed.jinja): remove `include` to prevent conflicting IDs
* Ends up with two `include:` lists when rendered
* Close #188
5 anni fa
semantic-release-bot
39b4584d66
chore(release): 0.39.0 [skip ci]
# [0.39.0](https://github.com/saltstack-formulas/php-formula/compare/v0.38.1...v0.39.0 ) (2019-08-07)
### Bug Fixes
* **php/ng:** don't iterate on string, make sure list is not string ([dbb542c
](https://github.com/saltstack-formulas/php-formula/commit/dbb542c ))
### Documentation
* **pillar.example:** add example for alternatives with multiversion ([23a6ec1
](https://github.com/saltstack-formulas/php-formula/commit/23a6ec1 ))
* **pillar.example:** example of versions ([a98aa7e
](https://github.com/saltstack-formulas/php-formula/commit/a98aa7e ))
### Features
* **php/ng:** support for php cli multiversion ([bb4a077
](https://github.com/saltstack-formulas/php-formula/commit/bb4a077 ))
* **php/ng:** support the use of a list of php versions ([b303239
](https://github.com/saltstack-formulas/php-formula/commit/b303239 )), closes [#138 ](https://github.com/saltstack-formulas/php-formula/issues/138 )
### Styles
* **pillar.example:** add line break ([38fe58f
](https://github.com/saltstack-formulas/php-formula/commit/38fe58f ))
5 anni fa
Imran Iqbal
ef25eb93ca
Merge pull request #167 from arthurlogilab/multiphp
[php/ng] support the use of a list of php versions
5 anni fa
semantic-release-bot
d530e817d1
chore(release): 0.38.1 [skip ci]
## [0.38.1](https://github.com/saltstack-formulas/php-formula/compare/v0.38.0...v0.38.1 ) (2019-08-03)
### Bug Fixes
* update deprecation version number in `semantic-release` run ([a87fb91
](https://github.com/saltstack-formulas/php-formula/commit/a87fb91 )), closes [/github.com/saltstack-formulas/php-formula/pull/175#issuecomment-517492613](https://github.com//github.com/saltstack-formulas/php-formula/pull/175/issues/issuecomment-517492613 ) [/github.com/saltstack-formulas/php-formula/pull/185#issuecomment-517603898](https://github.com//github.com/saltstack-formulas/php-formula/pull/185/issues/issuecomment-517603898 )
5 anni fa
Imran Iqbal
8902d8b8ff
Merge pull request #187 from myii/chore/standardise-structure
fix: update deprecation version number in `semantic-release` run
5 anni fa
Imran Iqbal
a87fb913ba
fix: update deprecation version number in `semantic-release` run
* Semi-automated using `ssf-formula` (v0.2.0)
* References:
- https://github.com/saltstack-formulas/php-formula/pull/175#issuecomment-517492613
- https://github.com/saltstack-formulas/php-formula/pull/185#issuecomment-517603898
* Ensure this only runs until `v1.0.0` (done in the script)
5 anni fa