Commit Graph

585 Commits

Author SHA1 Message Date
Imran Iqbal
cfa76bdf04
test(_mapdata): add verification file for fedora-34 [skip ci] 2021-04-23 08:29:25 +01:00
Imran Iqbal
378a66a4bd
ci(vagrant): add FreeBSD 13.0 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/316
2021-04-19 23:35:03 +01:00
Imran Iqbal
8510473f36
test(freebsd): add map.jinja verification file (for 13.0) 2021-04-19 23:35:03 +01:00
Imran Iqbal
3173cc0851
ci(vagrant): use pre-salted boxes & conditional local settings [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/311
2021-04-05 18:54:47 +01:00
Imran Iqbal
b25f0a223f
chore: update CODEOWNERS & .yamllint re: kitchen-vagrant [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/310
2021-04-05 18:20:52 +01:00
Imran Iqbal
48a0f1f95c
docs(readme): add Testing with Vagrant section [skip ci] 2021-04-03 23:21:17 +01:00
semantic-release-bot
0d9c849f3d chore(release): 1.4.0 [skip ci]
# [1.4.0](https://github.com/saltstack-formulas/php-formula/compare/v1.3.5...v1.4.0) (2021-03-31)

### Continuous Integration

* enable Vagrant-based testing using GitHub Actions ([a0306ce](a0306cee31))
* **gemfile+lock:** use `ssf` customised `kitchen-docker` repo [skip ci] ([009dab4](009dab4dee))
* **kitchen+ci:** use latest pre-salted images (after CVE) [skip ci] ([e762a51](e762a51387))
* **kitchen+gitlab-ci:** use latest pre-salted images [skip ci] ([daa4c9e](daa4c9ef43))
* **pre-commit:** update hook for `rubocop` [skip ci] ([08332f5](08332f5b6f))

### Features

* **composer:** make dependencies configurable ([d727b15](d727b15557))

### Tests

* **freebsd:** add specific tests for FreeBSD ([cb2758d](cb2758d86e))
* **pillar:** list PHP versions for FreeBSD 11.4/12.2 (using `7.4`) ([b876d6b](b876d6b1f0))
* standardise use of `share` suite & `_mapdata` state [skip ci] ([bf6a758](bf6a7582b7))
* **_mapdata:** add verification files for new platforms ([610cfee](610cfee031))
* **share:** standardise with latest changes [skip ci] ([147c996](147c996a69))
2021-03-31 08:59:11 +00:00
Imran Iqbal
9f34c8ab16
Merge pull request #218 from alxwr/make-composer-dependencies-configurable
feat(composer): make dependencies configurable
2021-03-31 09:48:41 +01:00
Imran Iqbal
cb2758d86e
test(freebsd): add specific tests for FreeBSD 2021-03-31 09:30:10 +01:00
Imran Iqbal
b876d6b1f0
test(pillar): list PHP versions for FreeBSD 11.4/12.2 (using 7.4) 2021-03-31 09:18:27 +01:00
Imran Iqbal
a0306cee31
ci: enable Vagrant-based testing using GitHub Actions
* Semi-automated using https://github.com/myii/ssf-formula/pull/306
2021-03-31 09:17:31 +01:00
Alexander Weidinger
d727b15557
feat(composer): make dependencies configurable 2021-03-31 09:17:30 +01:00
Imran Iqbal
bf6a7582b7
test: standardise use of share suite & _mapdata state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
2021-03-23 21:31:45 +00:00
Imran Iqbal
e762a51387
ci(kitchen+ci): use latest pre-salted images (after CVE) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/299
2021-03-07 22:21:22 +00:00
Imran Iqbal
97f35d4ea6
chore(yamllint): add .git/ to ignores [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/297
2021-03-05 18:34:20 +00:00
Daniel Dehennin
b8e3c2c2fa
chore(rubocop): allow use of YAML.load for _mapdata.rb [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/296
2021-02-23 21:50:22 +00:00
Dafydd Jones
1cf2ec9c7b
chore(shellcheck): switch hook for shellcheck [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/295
2021-02-21 08:32:48 +00:00
Imran Iqbal
009dab4dee
ci(gemfile+lock): use ssf customised kitchen-docker repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/294
2021-02-17 13:52:28 +00:00
Imran Iqbal
daa4c9ef43
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/293
2021-02-14 13:39:42 +00:00
Imran Iqbal
610cfee031
test(_mapdata): add verification files for new platforms
* `fedora-32`
* `fedora-33`
* `opensuse-tumbleweed`
* `oraclelinux-7`
* `oraclelinux-8`
* `ubuntu-20`
2021-02-14 13:06:42 +00:00
Imran Iqbal
2154f60c51
chore: standardise structure (.gitignore & _mapdata.rb) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
2021-02-11 11:52:24 +00:00
Imran Iqbal
08332f5b6f
ci(pre-commit): update hook for rubocop [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/290
2021-02-02 00:21:51 +00:00
Imran Iqbal
147c996a69
test(share): standardise with latest changes [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/288
2021-02-01 07:23:36 +00:00
semantic-release-bot
0760ad5baf chore(release): 1.3.5 [skip ci]
## [1.3.5](https://github.com/saltstack-formulas/php-formula/compare/v1.3.4...v1.3.5) (2021-01-14)

### Bug Fixes

* **_mapdata:** ensure map data is directly under `values` ([579a613](579a61371a))

### Tests

* **_mapdata:** update for `_mapdata/init.sls` change ([b30f514](b30f5146d0))
2021-01-14 21:34:01 +00:00
Imran Iqbal
7f297a593c
Merge pull request #223 from myii/fix/ensure-map-data-directly-under-values
fix(_mapdata): ensure map data is directly under `values`
2021-01-14 21:26:42 +00:00
Imran Iqbal
b30f5146d0
test(_mapdata): update for _mapdata/init.sls change 2021-01-14 21:09:02 +00:00
Daniel Dehennin
579a61371a
fix(_mapdata): ensure map data is directly under values
* Semi-automated using https://github.com/myii/ssf-formula/pull/287
2021-01-14 20:35:27 +00:00
semantic-release-bot
e62a915b55 chore(release): 1.3.4 [skip ci]
## [1.3.4](https://github.com/saltstack-formulas/php-formula/compare/v1.3.3...v1.3.4) (2020-12-23)

### Code Refactoring

* **map:** use top-level `values:` key in `map.jinja` dumps ([46ad65e](46ad65e39e))

### Continuous Integration

* **pre-commit:** enable `rubocop` linter after fix ([71dbf34](71dbf345d6))
2020-12-23 18:57:28 +00:00
Imran Iqbal
9ae4fab85a
Merge pull request #222 from myii/refactor/use-top-level-values-in-map-jinja-dumps
refactor(map): use top-level `values:` key in `map.jinja` dumps
2020-12-23 18:47:13 +00:00
Imran Iqbal
46ad65e39e
refactor(map): use top-level values: key in map.jinja dumps
* Semi-automated using https://github.com/myii/ssf-formula/pull/284
2020-12-23 16:54:51 +00:00
Imran Iqbal
71dbf345d6
ci(pre-commit): enable rubocop linter after fix
`rubocop` violations fixed in 1a4d20877c.

* Automated using https://github.com/myii/ssf-formula/pull/284
2020-12-23 16:54:43 +00:00
semantic-release-bot
f1f94d48ce chore(release): 1.3.3 [skip ci]
## [1.3.3](https://github.com/saltstack-formulas/php-formula/compare/v1.3.2...v1.3.3) (2020-12-22)

### Continuous Integration

* **commitlint:** ensure `upstream/master` uses main repo URL [skip ci] ([6ea8950](6ea8950307))
* **gitlab-ci:** add `rubocop` linter (with `allow_failure`) [skip ci] ([992e934](992e9348c7))

### Tests

* fix rubocop violations ([1a4d208](1a4d20877c))
* **_mapdata:** generate verification files ([f88fdf7](f88fdf784a))
* **map:** verify `map.jinja` dump using `_mapdata` state ([e9591db](e9591db355))
2020-12-22 15:18:32 +00:00
Imran Iqbal
18a33700d5
Merge pull request #221 from myii/test/manage-map.jinja-verification
test(map): verify `map.jinja` dump using `_mapdata` state
2020-12-22 15:11:23 +00:00
Imran Iqbal
1a4d20877c
test: fix rubocop violations
Use method:

1. `rubocop -a --safe`
2. `rubocop -A --safe`
3. Use `rubocop:disable`

```
Offenses:

test/integration/default/controls/config_spec.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string literal
comment.
control 'Php configuration' do
^
test/integration/default/controls/config_spec.rb:4:3: C: Metrics/AbcSize: Assignment Branch Condition size for
test_debian is too high. [<0, 26, 0> 26/17]
(http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
  def test_debian ...
  ^^^^^^^^^^^^^^^
test/integration/default/controls/config_spec.rb:4:3: C: Metrics/MethodLength: Method has too many lines. [14/10]
(https://rubystyle.guide#short-methods)
  def test_debian ...
  ^^^^^^^^^^^^^^^
test/integration/default/controls/config_spec.rb:24:3: C: Style/EmptyMethod: Put empty method definitions on a single
line. (https://rubystyle.guide#no-single-line-methods)
  def test_redhat ...
  ^^^^^^^^^^^^^^^
test/integration/default/controls/config_spec.rb:27:3: C: Style/EmptyMethod: Put empty method definitions on a single
line. (https://rubystyle.guide#no-single-line-methods)
  def test_suse ...
  ^^^^^^^^^^^^^
test/integration/default/controls/package_spec.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string
literal comment.
control 'Php package' do
^
test/integration/default/controls/package_spec.rb:4:3: C: Metrics/AbcSize: Assignment Branch Condition size for
test_debian is too high. [<1, 26, 1> 26.04/17] (http://c2.com/cgi/wiki?AbcMetric,
https://en.wikipedia.org/wiki/ABC_Software_Metric)
  def test_debian ...
  ^^^^^^^^^^^^^^^
test/integration/default/controls/package_spec.rb:4:3: C: Metrics/MethodLength: Method has too many lines. [20/10]
(https://rubystyle.guide#short-methods)
  def test_debian ...
  ^^^^^^^^^^^^^^^
test/integration/default/controls/package_spec.rb:21:1: C: Layout/EmptyLinesAroundBlockBody: Extra empty line detected
at block body beginning. (https://rubystyle.guide#empty-lines-around-bodies)
test/integration/default/controls/service_spec.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string
literal comment.
control 'Php service' do
^
test/integration/default/controls/service_spec.rb:16:3: C: Style/EmptyMethod: Put empty method definitions on a single
line. (https://rubystyle.guide#no-single-line-methods)
  def test_redhat ...
  ^^^^^^^^^^^^^^^
test/integration/default/controls/service_spec.rb:19:3: C: Style/EmptyMethod: Put empty method definitions on a single
line. (https://rubystyle.guide#no-single-line-methods)
  def test_suse ...
  ^^^^^^^^^^^^^

7 files inspected, 12 offenses detected, 8 offenses auto-correctable
```
2020-12-22 15:02:31 +00:00
Imran Iqbal
f88fdf784a
test(_mapdata): generate verification files 2020-12-22 14:38:56 +00:00
Imran Iqbal
e9591db355
test(map): verify map.jinja dump using _mapdata state
* Automated using https://github.com/myii/ssf-formula/pull/283
2020-12-22 14:30:35 +00:00
Imran Iqbal
6ea8950307
ci(commitlint): ensure upstream/master uses main repo URL [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/278
2020-12-20 18:48:36 +00:00
Imran Iqbal
992e9348c7
ci(gitlab-ci): add rubocop linter (with allow_failure) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/277
2020-12-19 14:34:12 +00:00
semantic-release-bot
15b021bb0b chore(release): 1.3.2 [skip ci]
## [1.3.2](https://github.com/saltstack-formulas/php-formula/compare/v1.3.1...v1.3.2) (2020-12-16)

### Continuous Integration

* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([8720cc1](8720cc1708))
* **gitlab-ci:** use GitLab CI as Travis CI replacement ([15ed749](15ed749de4))
* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([4cd9a3a](4cd9a3a213))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([8dd9c54](8dd9c545db))
* **pre-commit:** add to formula [skip ci] ([5d71e0b](5d71e0b24e))
* **pre-commit:** enable/disable `rstcheck` as relevant [skip ci] ([7f73dbb](7f73dbbf31))
* **pre-commit:** finalise `rstcheck` configuration [skip ci] ([ab6338e](ab6338e6d4))
* **travis:** add notifications => zulip [skip ci] ([b64b1c2](b64b1c2b08))
* **workflows/commitlint:** add to repo [skip ci] ([b30a6bd](b30a6bd8a7))

### Styles

* **libtofs.jinja:** use Black-inspired Jinja formatting [skip ci] ([1def34c](1def34c368))
2020-12-16 07:19:54 +00:00
Imran Iqbal
15ed749de4
ci(gitlab-ci): use GitLab CI as Travis CI replacement
* Automated using https://github.com/myii/ssf-formula/pull/275
2020-12-16 06:38:15 +00:00
Imran Iqbal
b73fffa4b5
chore(gemfile+lock): update to latest gem versions (2020-W44) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/274
2020-10-26 22:52:39 +00:00
Imran Iqbal
efcd71f14b
chore(gemfile+lock): update to latest gem versions (2020-W43) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/273
2020-10-20 10:20:39 +01:00
Imran Iqbal
ab6338e6d4
ci(pre-commit): finalise rstcheck configuration [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/267
2020-10-10 06:50:45 +01:00
Dafydd Jones
9989a8680c
chore(commitlint): add {body,footer,header}-max(-line)-length [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/265
2020-10-07 09:08:49 +01:00
Imran Iqbal
f7f3fff189
chore(gemfile+lock): update to latest gem versions (2020-W41) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/263
2020-10-07 00:07:08 +01:00
Imran Iqbal
7f73dbbf31
ci(pre-commit): enable/disable rstcheck as relevant [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/262
2020-10-05 00:23:18 +01:00
Dafydd Jones
5d71e0b24e
ci(pre-commit): add to formula [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/259
2020-10-03 10:51:57 +01:00
Imran Iqbal
1def34c368 style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
2020-07-19 23:28:01 +01:00
Imran Iqbal
9feedad399 chore(gemfile.lock): update to latest gem versions (2020-W27) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/235
2020-07-06 14:30:04 +01:00
Imran Iqbal
e905b592a1 chore(gemfile.lock): update to latest gem versions (2020-W26) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/233
2020-06-26 12:46:21 +01:00