Commit graph

688 commits

Author SHA1 Message Date
semantic-release-bot
e486d1d6ae chore(release): 5.0.8 [skip ci]
## [5.0.8](https://github.com/saltstack-formulas/template-formula/compare/v5.0.7...v5.0.8) (2022-02-23)

### Styles

* fix typo ([68d5ba0](68d5ba0507))
2022-02-23 10:08:47 +00:00
Imran Iqbal
f3dc6fd051
Merge pull request #247 from daks/typo
style: fix typo
2022-02-23 10:01:08 +00:00
Eric Veiras Galisson
68d5ba0507 style: fix typo 2022-02-23 10:52:35 +01:00
Imran Iqbal
278404f771
chore(gemfile.lock): update to latest gem versions (2022-W08) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/419
2022-02-21 19:12:52 +00:00
semantic-release-bot
6c3fb20796 chore(release): 5.0.7 [skip ci]
## [5.0.7](https://github.com/saltstack-formulas/template-formula/compare/v5.0.6...v5.0.7) (2022-02-17)

### Bug Fixes

* **libmapstack:** allow mapping by booleans and numbers ([bb3a7ea](bb3a7ea0b2))

### Code Refactoring

* **libmatchers:** match default type with docs ([8f847be](8f847bebfd))

### Styles

* **libsaltcli:** fix comments to jinja comments ([e1735f4](e1735f47f8))
2022-02-17 08:09:58 +00:00
Daniel
bbe3a29d25
Merge pull request #246 from stasjok/use-jinja-comments-in-jinja
style(libsaltcli): fix comments to jinja comments
2022-02-17 07:58:10 +00:00
Daniel
506ebdf67e
Merge pull request #245 from stasjok/change-F-to-Y
refactor(libmatchers): match default type with docs
2022-02-17 07:57:31 +00:00
Daniel
e6a285eb38
Merge pull request #243 from stasjok/allow-bool-and-numbers
fix(libmapstack): allow mapping by booleans and numbers
2022-02-17 07:56:54 +00:00
Stanislav Asunkin
e1735f47f8 style(libsaltcli): fix comments to jinja comments 2022-02-16 09:14:22 +03:00
Stanislav Asunkin
8f847bebfd refactor(libmatchers): match default type with docs 2022-02-15 19:51:27 +03:00
semantic-release-bot
d97a51d379 chore(release): 5.0.6 [skip ci]
## [5.0.6](https://github.com/saltstack-formulas/template-formula/compare/v5.0.5...v5.0.6) (2022-02-15)

### Documentation

* **map.jinja:** fix path to post-map.jinja in docs ([d64cd75](d64cd75f62))

### Tests

* **system:** add `build_platform_codename` [skip ci] ([65cf22c](65cf22c436))
2022-02-15 16:40:07 +00:00
Daniel
5f6262f9d2
Merge pull request #244 from stasjok/fix-post-map-path
docs(map.jinja): fix path to post-map.jinja in docs
2022-02-15 16:29:42 +00:00
Stanislav Asunkin
d64cd75f62 docs(map.jinja): fix path to post-map.jinja in docs 2022-02-15 19:00:16 +03:00
Stanislav Asunkin
bb3a7ea0b2 fix(libmapstack): allow mapping by booleans and numbers 2022-02-15 18:35:15 +03:00
Imran Iqbal
080fdcd9f1
chore(gemfile.lock): update to latest gem versions (2022-W07) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/416
2022-02-15 09:04:28 +00:00
Imran Iqbal
65cf22c436
test(system): add build_platform_codename [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/415
2022-02-14 08:09:40 +00:00
semantic-release-bot
169ccce59e chore(release): 5.0.5 [skip ci]
## [5.0.5](https://github.com/saltstack-formulas/template-formula/compare/v5.0.4...v5.0.5) (2022-02-13)

### Bug Fixes

* **libsaltcli+libmatchers:** ensure Salt client API detection [skip ci] ([6eb2073](6eb2073d02))

### Code Refactoring

* **shellcheck:** fix violation ([4ee6387](4ee6387bf9))

### Continuous Integration

* **gitlab-ci:** update `dind-ruby-bionic` (use Python 3.7 for pre-commit) ([8ff2152](8ff2152b32))
* update linters to latest versions [skip ci] ([a284a56](a284a566b4))
* **kitchen+ci:** update with `3004` pre-salted images/boxes [skip ci] ([ea37971](ea379716be))
* **kitchen+gitlab:** update for new pre-salted images [skip ci] ([fd34718](fd347183f9))
* **proxy:** allow rubygems proxy in gemfile ([7109cfd](7109cfd411))
2022-02-13 01:14:11 +00:00
Imran Iqbal
8ff2152b32
ci(gitlab-ci): update dind-ruby-bionic (use Python 3.7 for pre-commit) 2022-02-13 01:06:02 +00:00
Imran Iqbal
4ee6387bf9
refactor(shellcheck): fix violation
```
In bin/convert-formula.sh line 90:
        s/========/$(repeat_char =)/
                                 ^-- SC2283 (error): Remove spaces around = to assign
                                                     (or use [ ] to compare,
                                                      or quote '=' if literal).
For more information:
  https://www.shellcheck.net/wiki/SC2283 -- Remove spaces around = to assign ...
```
2022-02-12 23:51:02 +00:00
Imran Iqbal
a284a566b4
ci: update linters to latest versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/414
2022-02-12 23:25:13 +00:00
Imran Iqbal
4710235ac5
chore(gemfile.lock): update to latest gem versions (2022-W06) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/412
2022-02-07 17:32:07 +00:00
Daniel Dehennin
6eb2073d02
fix(libsaltcli+libmatchers): ensure Salt client API detection [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/411
2022-02-04 22:01:30 +00:00
Imran Iqbal
fd347183f9
ci(kitchen+gitlab): update for new pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/410
2022-02-02 23:07:25 +00:00
Imran Iqbal
cb6fb337b8
chore(gemfile.lock): update to latest gem versions (2022-W05) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/409
2022-02-01 23:43:29 +00:00
Imran Iqbal
38c502f9a5
Merge pull request #241 from noelmcloughlin/gemfile
ci(proxy): allow rubygems proxy in gemfile
2022-01-26 08:18:49 +00:00
noelmcloughlin
7109cfd411 ci(proxy): allow rubygems proxy in gemfile 2022-01-25 18:07:39 +00:00
Imran Iqbal
a5bcbc4be5
chore(gemfile.lock): update to latest gem versions (2022-W04) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/407
2022-01-25 14:15:43 +00:00
Imran Iqbal
d8dc1fe457
chore(gemfile.lock): update to latest gem versions (2022-W03) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/405
2022-01-17 19:51:33 +00:00
Imran Iqbal
8d739b906d
chore(semantic-release): replace broken m2r with m2r2 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/404
2022-01-17 08:17:12 +00:00
Imran Iqbal
8d073523aa
chore(gemfile.lock): update to latest gem versions (2022-W02) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/398
2022-01-11 09:40:10 +00:00
Imran Iqbal
b85855a769
chore(gemfile.lock): update to latest gem versions (2022-W01) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/397
2022-01-06 08:09:26 +00:00
Imran Iqbal
bcfc217f42
chore(gemfile.lock): update to latest gem versions (2021-W52) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/396
2021-12-28 21:07:48 +00:00
Imran Iqbal
bf1e46e69b
chore(gemfile.lock): update to latest gem versions (2021-W51) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/394
2021-12-22 11:59:36 +00:00
Imran Iqbal
42b2c199c1
chore(gemfile.lock): update to latest gem versions (2021-W50) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/391
2021-12-14 15:24:05 +00:00
Imran Iqbal
7ea1b92520
chore(gemfile.lock): update to latest gem versions (2021-W49) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/388
2021-12-06 08:23:49 +00:00
Imran Iqbal
db31b94993
chore(gemfile.lock): update to latest gem versions (2021-W47) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/386
2021-11-23 11:44:59 +00:00
Imran Iqbal
ea379716be
ci(kitchen+ci): update with 3004 pre-salted images/boxes [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/385
2021-11-23 10:38:35 +00:00
semantic-release-bot
643b8f1d76 chore(release): 5.0.4 [skip ci]
## [5.0.4](https://github.com/saltstack-formulas/template-formula/compare/v5.0.3...v5.0.4) (2021-11-16)

### Code Refactoring

* **map.jinja:** standardise v5 structure [skip ci] ([bf9a9bd](bf9a9bd204))

### Continuous Integration

* **kitchen:** use `pillars_from_directories` under `provisioner` ([5f80cf2](5f80cf2b7d))
* **kitchen+ci:** update with latest CVE pre-salted images [skip ci] ([6c5809d](6c5809d067))

### Tests

* **pillar:** use static test/salt/pillar/top.sls ([7708e12](7708e12923))
2021-11-16 22:11:41 +00:00
Imran Iqbal
939e422e8b
Merge pull request #238 from baby-gnu/test/pillar-top-from-file
test(pillar): use static test/salt/pillar/top.sls
2021-11-16 22:05:24 +00:00
Imran Iqbal
5f80cf2b7d
ci(kitchen): use pillars_from_directories under provisioner
* Automated using https://github.com/myii/ssf-formula/pull/383
2021-11-16 21:55:32 +00:00
Daniel Dehennin
7708e12923
test(pillar): use static test/salt/pillar/top.sls
The kitchen-salt provisionner have the `pillars_from_directories`
option to recusively copy directories under target pillar root.

This has 3 advantages:

- simplify `kitchen.yml`

- manage pillar assignment with standard salt targetting mechanism,
  this avoid the dedicated `gentoo` suite (it could have been done
  from `kitchen.yml` itself by the way)

- ease the test outside kitchen by running `salt-call` directly with
  `--pillar-root` like:
  ```
  salt-call --local --id test-minion.example.net \
    --file-root=template-formula/ \
    --pillar-root=template-formula/test/salt/pillar/ \
    state.show_sls TEMPLATE
  ```

* pillar.example: remove settings for testing purpose.

* test/salt/pillar/top.sls: limit `gentoo` pillars based on `os_family`
  grain.

* test/salt/pillar/defaults.sls: base pillar dedicated to tests.

* kitchen.yml (suites): remove the now useless `gentoo` suite.
  Define `pillars_from_directories` to copy them under `pillar_root`.
  Remove useless `pillars_from_files`.

* .gitlab-ci.yml: fix gentoo suite name

* .gitignore: do not ignore test pillar `top.sls`
2021-11-16 21:25:26 +00:00
Imran Iqbal
bf9a9bd204
refactor(map.jinja): standardise v5 structure [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/382
2021-10-26 12:11:39 +01:00
Imran Iqbal
4d8b35ace1
chore(gemfile.lock): update to latest gem versions (2021-W43) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/381
2021-10-26 11:17:12 +01:00
Imran Iqbal
37c618176d
chore(gemfile.lock): update to latest gem versions (2021-W42) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/380
2021-10-23 21:12:45 +01:00
Imran Iqbal
5ebc802f13
chore(gemfile.lock): update to latest gem versions (2021-W41) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/378
2021-10-15 19:12:37 +01:00
Imran Iqbal
2d6c666c70
chore(gemfile.lock): update to latest gem versions (2021-W40) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/375
2021-10-06 17:06:43 +01:00
Imran Iqbal
6c5809d067
ci(kitchen+ci): update with latest CVE pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/374
2021-10-05 11:18:14 +01:00
Imran Iqbal
e7a45f4ac8
chore(gemfile.lock): update to latest gem versions (2021-W39) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/370
2021-09-30 07:22:30 +01:00
Imran Iqbal
7bacfb34b4
chore(gemfile.lock): update to latest gem versions (2021-W38) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/369
2021-09-21 12:00:42 +01:00
Imran Iqbal
81ae6276f5
chore(gemfile.lock): update to latest gem versions (2021-W37) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/368
2021-09-14 09:59:22 +01:00