Commit graph

746 commits

Author SHA1 Message Date
Imran Iqbal
219e6b71c8
ci(pre-commit): enable/disable rstcheck as relevant [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/262
2020-10-05 00:25:40 +01:00
Dafydd Jones
fd89d62ec6
ci(pre-commit): add to formula [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/259
2020-10-03 10:54:43 +01:00
Dafydd Jones
d60cc15366 fix(codeowners): ensure lib* files are owned by ssf 2020-09-28 19:16:55 +01:00
semantic-release-bot
e668832b76 chore(release): 4.2.1 [skip ci]
## [4.2.1](https://github.com/saltstack-formulas/template-formula/compare/v4.2.0...v4.2.1) (2020-09-21)

### Continuous Integration

* **kitchen+travis:** use `tiamat` pre-salted images ([3a63304](3a63304f13))

### Tests

* **oracle:** add InSpec configuration for `oraclelinux` ([c4b66d8](c4b66d8f0b))
* **share:** remove unnecessary hostname mangling ([194aa97](194aa97dff))
2020-09-21 12:22:10 +00:00
Imran Iqbal
ad3f7c0cfe
Merge pull request #206 from myii/ci/use-tiamat-images
ci(kitchen+travis): use `tiamat` pre-salted images
2020-09-21 13:10:43 +01:00
Imran Iqbal
3a63304f13
ci(kitchen+travis): use tiamat pre-salted images
* Automated using https://github.com/myii/ssf-formula/pull/258
2020-09-21 12:30:44 +01:00
Imran Iqbal
c4b66d8f0b
test(oracle): add InSpec configuration for oraclelinux 2020-09-21 12:30:16 +01:00
Imran Iqbal
194aa97dff
test(share): remove unnecessary hostname mangling
* https://github.com/saltstack-formulas/openssh-formula/pull/195
2020-09-21 12:17:12 +01:00
semantic-release-bot
02ce903e2b chore(release): 4.2.0 [skip ci]
# [4.2.0](https://github.com/saltstack-formulas/template-formula/compare/v4.1.1...v4.2.0) (2020-09-04)

### Continuous Integration

* **kitchen:** execute `_madata` state ([31e1096](31e1096add))
* **kitchen+travis:** fix `centos6` suite and rename to `upstart` ([97309c6](97309c6f4d))

### Features

* **map:** generate a YAML file to validate `map.jinja` ([fc90075](fc90075dd9))

### Tests

* **inspec:** share library to access some minion informations ([64c2b6c](64c2b6cdae))
* **inspec:** verify `map.jinja` dump ([3dc28bf](3dc28bfb34))
* **platform_finger:** extract from shared library ([d68ed45](d68ed45109))
2020-09-04 20:56:30 +00:00
Imran Iqbal
933e0be3bf
Merge pull request #203 from baby-gnu/test/validate-map.jinja
test(map): verify `map.jinja` dump using `_mapdata` state
2020-09-04 21:47:16 +01:00
Imran Iqbal
d68ed45109
test(platform_finger): extract from shared library 2020-09-04 21:21:41 +01:00
Daniel Dehennin
fc90075dd9 feat(map): generate a YAML file to validate map.jinja
We provide a new `_mapdata` state which generate a
`/tmp/salt_mapdata_dump.yaml` to be validated by `Inspec`.
2020-09-03 16:29:10 +02:00
Daniel Dehennin
31e1096add ci(kitchen): execute _madata state 2020-09-03 16:27:31 +02:00
Daniel Dehennin
3dc28bfb34 test(inspec): verify map.jinja dump
We store `map.jinja` dump files under the profile `files`
directory to access them with `inspec.profile.file('filename')` to
validate the content of the generated mapdata file.

The `default` inspec profile needs to depend on `share` to access the
`system` library.
2020-09-03 16:24:07 +02:00
Daniel Dehennin
64c2b6cdae test(inspec): share library to access some minion informations
The `system.hostname` return the result of either `hostname -s` or
`hostnamectl --static` depending of the availability of either command.

The `system.platform` return a hash with tweaked `inspec.platform`
values:

- `system.platform[:family]` provide a family name for Arch
- `system.platform[:name]` modify `amazon` to `amazonlinux`
- `system.platform[:release]` tweak Arch and Amazon Linux:
  - `Arch` is always `base-latest`
  - `Amazon Linux` release `2018` is resolved as `1`
- `system.platform[:finger]` is the concatenation of the name and the
  major release number (except for Ubuntu, which gives `ubuntu-20.04`
  for example)
2020-09-03 16:19:15 +02:00
Daniel
318ec37146
Merge pull request #204 from myii/ci/fix-centos6-suite-and-rename-to-upstart
ci(kitchen+travis): fix `centos6` suite and rename to `upstart`
2020-09-03 13:28:05 +00:00
Imran Iqbal
97309c6f4d
ci(kitchen+travis): fix centos6 suite and rename to upstart
* Semi-automated using https://github.com/myii/ssf-formula/pull/247
* Problems identified while reviewing:
  - https://github.com/saltstack-formulas/template-formula/pull/203
2020-09-01 18:52:51 +01:00
semantic-release-bot
7d3d989223 chore(release): 4.1.1 [skip ci]
## [4.1.1](https://github.com/saltstack-formulas/template-formula/compare/v4.1.0...v4.1.1) (2020-07-28)

### Continuous Integration

* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([eab21c3](eab21c39fb))
* **kitchen+travis:** add new platforms [skip ci] ([111a20b](111a20b47d))
* **kitchen+travis:** adjust matrix to add `3000.3` [skip ci] ([19ae826](19ae82632e))
* **travis:** add notifications => zulip [skip ci] ([ac93ad8](ac93ad82f1))
* **travis:** run linters using `pre-commit` ([6da26cc](6da26cca6a))

### Documentation

* add basic `pre-commit` usage instructions ([c78c068](c78c06876e))
* fix whitespace ([d98d98f](d98d98f4da))

### Styles

* **libtofs.jinja:** use Black-inspired Jinja formatting [skip ci] ([55bc69a](55bc69a2b1))
2020-07-28 15:31:08 +00:00
Imran Iqbal
01a7eaa865
Merge pull request #200 from dafyddj/precommit-commitlint
chore: add optional `pre-commit` configuration
2020-07-28 16:22:55 +01:00
Dafydd Jones
a1d53a9758 chore(pre-commit): check reST files using rstcheck 2020-07-28 13:39:59 +01:00
Dafydd Jones
6da26cca6a ci(travis): run linters using pre-commit 2020-07-27 22:20:45 +01:00
Dafydd Jones
c78c06876e docs: add basic pre-commit usage instructions 2020-07-27 22:20:45 +01:00
Dafydd Jones
d98d98f4da docs: fix whitespace 2020-07-27 21:57:20 +01:00
Dafydd Jones
01fd4e65f4 chore(pre-commit): add utility script to install hooks and environments 2020-07-27 21:57:20 +01:00
Imran Iqbal
55bc69a2b1
style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
2020-07-20 17:37:39 +01:00
Dafydd Jones
70117620d7 chore(pre-commit): check Salt files using salt-lint 2020-07-10 15:33:33 +01:00
Dafydd Jones
c50c081069 chore(pre-commit): check shell files using shellcheck 2020-07-10 15:33:33 +01:00
Dafydd Jones
3f26ea7cd4 chore(pre-commit): check YAML files using yamllint 2020-07-10 15:33:33 +01:00
Dafydd Jones
5bccc810ba chore(pre-commit): check Ruby files using rubocop 2020-07-10 15:33:28 +01:00
Dafydd Jones
5cdefdc6a5 chore(pre-commit): check commit message using commitlint 2020-07-10 15:32:41 +01:00
Imran Iqbal
3ade71739c 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:32:27 +01:00
Imran Iqbal
b3a3f04d09 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:48:34 +01:00
Imran Iqbal
44e29ce5c5 chore(gemfile.lock): update to latest gem versions (2020-W25) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/229
2020-06-21 13:00:52 +01:00
Imran Iqbal
eab21c39fb ci(kitchen): use saltimages Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
2020-06-15 17:02:18 +01:00
Imran Iqbal
040125dfaf chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
2020-06-15 15:13:01 +01:00
Imran Iqbal
2f3ed3259f chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
2020-06-05 22:22:02 +01:00
Imran Iqbal
111a20b47d ci(kitchen+travis): add new platforms [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/203
2020-05-28 17:15:23 +01:00
Imran Iqbal
b433f3eb9f chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/202
2020-05-28 00:22:51 +01:00
Imran Iqbal
ac93ad82f1 ci(travis): add notifications => zulip [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/191
2020-05-21 20:11:27 +01:00
Imran Iqbal
19ae82632e ci(kitchen+travis): adjust matrix to add 3000.3 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/185
2020-05-14 18:34:08 +01:00
semantic-release-bot
e6e3016ed9 chore(release): 4.1.0 [skip ci]
# [4.1.0](https://github.com/saltstack-formulas/template-formula/compare/v4.0.9...v4.1.0) (2020-05-12)

### Continuous Integration

* **kitchen+travis:** adjust matrix to add `3000.2` & remove `2018.3` [skip ci] ([efd8797](efd8797e66))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([d693f9d](d693f9dabf))
* **workflows/commitlint:** add to repo [skip ci] ([574d18f](574d18fc2c))

### Features

* **convert-formula.sh:** assign `@NONE` as whole-formula owner ([cceffff](cceffffef5))
2020-05-12 00:23:40 +00:00
Imran Iqbal
bbd50b3708
Merge pull request #198 from dafyddj/feat/mod-codeowners
feat(convert-formula.sh): assign `@NONE` as whole-formula owner
2020-05-12 01:16:13 +01:00
Dafydd Jones
cceffffef5 feat(convert-formula.sh): assign @NONE as whole-formula owner 2020-05-12 00:03:27 +01:00
Imran Iqbal
86c3ff7edb chore(codeowners): update semantic-release related files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/174
2020-05-04 23:18:56 +01:00
Imran Iqbal
0a48c370c7
Merge pull request #197 from myii/chore/add-codeowners
chore(codeowners): add to repo [skip ci]
2020-05-04 15:42:36 +01:00
Imran Iqbal
9672880fd0
chore(codeowners): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/173
2020-05-04 10:32:43 +01:00
Imran Iqbal
574d18fc2c ci(workflows/commitlint): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/172
2020-05-04 09:33:09 +01:00
Imran Iqbal
efd8797e66 ci(kitchen+travis): adjust matrix to add 3000.2 & remove 2018.3 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/169
2020-05-02 07:59:26 +01:00
Imran Iqbal
d693f9dabf ci(kitchen+travis): remove master-py2-arch-base-latest [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/167
2020-05-02 04:31:28 +01:00
semantic-release-bot
96b581c1d4 chore(release): 4.0.9 [skip ci]
## [4.0.9](https://github.com/saltstack-formulas/template-formula/compare/v4.0.8...v4.0.9) (2020-04-25)

### Continuous Integration

* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([d798928](d798928675))

### Documentation

* **readme:** show only one level in table of contents ([446b815](446b815958))
2020-04-25 15:57:58 +00:00