sticky-note
a8de77f213
feat(freebsd): add `zlib` `php` module for `FreeBSD`
2 years ago
Imran Iqbal
e5272179bc
chore(gemfile.lock): update to latest gem versions (2022-W28) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/454
2 years ago
Imran Iqbal
98a07b87a6
chore(gemfile.lock): update to latest gem versions (2022-W20) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/444
2 years ago
Imran Iqbal
fc295f8666
test(system.rb): add support for `mac_os_x` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/442
2 years ago
Imran Iqbal
1c6dc43cd0
test(_mapdata): add verification file for `ubuntu-22` [skip ci]
2 years ago
Imran Iqbal
3f47a9f765
test(_mapdata): add verification file for `fedora-36` [skip ci]
2 years ago
Imran Iqbal
f89809615c
test(_mapdata): add verification file for `fedora-35` [skip ci]
2 years ago
sticky-note
67e565f5e2
feat(modules): add `xmlrpc` and `xmlreader` as FreeBSD `xml` module
2 years ago
Imran Iqbal
f1592024d5
test(system): add `build_platform_codename` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/415
2 years ago
Imran Iqbal
239e59fdb0
chore(gemfile.lock): update to latest gem versions (2021-W51) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/394
3 years ago
arend
55939d5cd1
fix(module): include php version in redis module package name
set the php version in the map for debian module redis to allow installation of the desired version
3 years ago
Imran Iqbal
c83e2c63b1
chore(gemfile.lock): update to latest gem versions (2021-W29) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/349
3 years ago
Imran Iqbal
9b05109c28
test(_mapdata): add verification file for `debian-11` [skip ci]
3 years ago
Imran Iqbal
c7a0c3c3ea
ci(3003.1): update inc. AlmaLinux, Rocky & `rst-lint` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/335
3 years ago
Imran Iqbal
f55d5128ab
test(alma+rocky): add platforms (based on CentOS 8) [skip ci]
3 years ago
sticky-note
b776b00168
test(mods): update integration tests accordingly
3 years ago
Imran Iqbal
cfa76bdf04
test(_mapdata): add verification file for `fedora-34` [skip ci]
3 years ago
Imran Iqbal
8510473f36
test(freebsd): add `map.jinja` verification file (for 13.0)
3 years ago
Imran Iqbal
cb2758d86e
test(freebsd): add specific tests for FreeBSD
3 years ago
Imran Iqbal
b876d6b1f0
test(pillar): list PHP versions for FreeBSD 11.4/12.2 (using `7.4`)
3 years ago
Imran Iqbal
bf6a7582b7
test: standardise use of `share` suite & `_mapdata` state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
3 years ago
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
3 years ago
Imran Iqbal
daa4c9ef43
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/293
3 years ago
Imran Iqbal
610cfee031
test(_mapdata): add verification files for new platforms
* `fedora-32`
* `fedora-33`
* `opensuse-tumbleweed`
* `oraclelinux-7`
* `oraclelinux-8`
* `ubuntu-20`
3 years ago
Imran Iqbal
2154f60c51
chore: standardise structure (`.gitignore` & `_mapdata.rb`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
4 years ago
Imran Iqbal
147c996a69
test(share): standardise with latest changes [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/288
4 years ago
Imran Iqbal
b30f5146d0
test(_mapdata): update for `_mapdata/init.sls` change
4 years ago
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
4 years ago
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
```
4 years ago
Imran Iqbal
f88fdf784a
test(_mapdata): generate verification files
4 years ago
Imran Iqbal
e9591db355
test(map): verify `map.jinja` dump using `_mapdata` state
* Automated using https://github.com/myii/ssf-formula/pull/283
4 years ago
Imran Iqbal
55d5df17d4
ci(platform): add `arch-base-latest` (commented out for now) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/50
5 years ago
Imran Iqbal
fd675701a5
test(suse): update version to `7.0` for `opensuse-leap-15`
5 years ago
Imran Iqbal
6cba4af4f7
fix(yamllint): use separate suite for `ubuntu`
* Semi-automated using https://github.com/myii/ssf-formula/pull/18
* Close #174
5 years ago
Nicolas Rodriguez
496ec28dae
fix(xdebug): fix xdebug package name
5 years ago
Nicolas Rodriguez
b13bed2a48
test(ubuntu): fix tests on Ubuntu distro
5 years ago
Nicolas Rodriguez
23214bfa78
fix(tests): don't test services on Suse and RedHat
5 years ago
Nicolas Rodriguez
6555cf0432
test(config): add tests on Php config
5 years ago
Nicolas Rodriguez
dc12a0bbf2
style(spec): remove empty lines
5 years ago
Nicolas Rodriguez
baeac04bd9
test(service): add tests on Php services
5 years ago
Nicolas Rodriguez
59f648c067
test(package): fix package spec in case of multi Php versions
5 years ago
Nicolas Rodriguez
d4fc842a62
ci(kitchen): add test pillars for Debian and call some states
5 years ago
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 years ago
sticky-note
4f75eac5fe
fix(tests): fix package name for debian
5 years ago
Imran Iqbal
1a5d73486e
fix(pillar_from_files): use `{}` pillar files to ensure tests pass
5 years ago
Imran Iqbal
45f9a75961
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
5 years ago
Imran Iqbal
4af569aa19
docs: merge latest changes from `template-formula`
* Completes #179
* Fix testing on `develop` images and enable in the matrix
5 years ago
Nicolas Rodriguez
cdd206a10a
feat(semantic-release): add support of semantic-release
5 years ago