Commit Graph

40 Commits

Author SHA1 Message Date
Imran Iqbal da6d1509fd
test(_mapdata): generate verification files 2020-12-23 18:21:54 +00:00
Imran Iqbal d2404d5175
test(map): verify `map.jinja` dump using `_mapdata` state
* Semi-automated using https://github.com/myii/ssf-formula/pull/285
2020-12-23 18:21:53 +00:00
Imran Iqbal 7df2445481
ci(kitchen+gitlab): adjust matrix to add `3002`
* Semi-automated using https://github.com/myii/ssf-formula/pull/280
2020-12-20 23:23:17 +00:00
Imran Iqbal c0660608d7
test(magnesium): add pillar and tests for `3002` 2020-12-20 23:23:14 +00:00
Imran Iqbal 618f95a665
test(pkgs_spec): test for major version only (i.e. `3000`) 2020-12-14 19:56:37 +00:00
Imran Iqbal 75ccf591eb
test(fluorine): remove pillar and tests for `2019.2` 2020-12-14 19:52:40 +00:00
Imran Iqbal 127c5d779b
feat: add Gentoo support
* Semi-automated using https://github.com/myii/ssf-formula/pull/269
2020-10-12 09:43:24 +01:00
Dafydd Jones 0465af72da test(windows): add local testing of Windows using Vagrant/Virtualbox 2020-06-26 17:03:40 +01:00
Imran Iqbal 9060879924
ci(kitchen+travis): adjust matrix to add `3001`
* Semi-automated using https://github.com/myii/ssf-formula/pull/230
2020-06-23 09:55:46 +01:00
Imran Iqbal 42cacc253f
test(sodium): add pillar and tests for `3001` 2020-06-23 09:55:44 +01:00
Imran Iqbal b2b1fee370
test(pkgs_spec): simplify using `match` (trigger: update for `suse`)
* https://travis-ci.org/github/myii/salt-formula/jobs/692337807#L2366-L2381
  - `opensuse` now has `3000.3` available
* Simplification is useful anyway, even without this (could still use `case`)
2020-06-01 01:52:08 +01:00
Imran Iqbal 301a9884ac
test(pkgs_spec): update version installed on `fedora` 2020-05-26 03:46:55 +01:00
Imran Iqbal 5d9a92bf1d
fix(opensuse): use appropriate upstream repo 2020-05-26 03:46:55 +01:00
Imran Iqbal 5917569464
test(pkgs_spec): update for releases `3000.3` & `2019.2.5`
* https://docs.saltstack.com/en/latest/topics/releases/3000.3.html
* https://docs.saltstack.com/en/latest/topics/releases/2019.2.5.html
2020-05-14 07:37:02 +01:00
Imran Iqbal c228029879
test: add tests for `v3000-py2` 2020-05-01 10:27:38 +01:00
Imran Iqbal 965588b108
test(pkgs_spec): update for CVE releases `3000.2` & `2019.2.4`
* https://docs.saltstack.com/en/latest/topics/releases/3000.2.html
* https://docs.saltstack.com/en/latest/topics/releases/2019.2.4.html
2020-05-01 10:27:38 +01:00
Imran Iqbal 7f19796517
test: remove deprecated Salt/Python versions 2020-05-01 10:27:37 +01:00
Imran Iqbal e786eb6b8e
test(pkgs_spec): update `fedora` version [skip ci] 2020-04-18 12:13:50 +01:00
Imran Iqbal b5461a0eba
test(service_spec): add `should be_installed` 2020-04-01 23:25:21 +01:00
Imran Iqbal 1e677cd761
test(pkgs_spec): update `3000` to `3000.1` 2020-04-01 23:23:28 +01:00
Imran Iqbal 4a5f8053e9 ci(kitchen+travis): adjust matrix to add `3000` & remove `2017.7`
* Semi-automated using https://github.com/myii/ssf-formula/pull/135
2020-03-21 12:44:04 +00:00
Imran Iqbal f246a5e0af
test(nitrogen): remove pillar and tests for `2017.7` 2020-03-21 12:24:12 +00:00
Imran Iqbal f91f10c280
test(neon): add pillar and tests for `3000` 2020-03-21 12:24:12 +00:00
N b7d323f878
chore(unittest): update suse pkg version 2020-03-19 13:05:46 +00:00
Imran Iqbal 10e2ce07a4
ci(kitchen+travis+inspec): fix `amazonlinux-2-py3` [skip ci]
* Semi-automated using https://github.com/myii/ssf-formula/pull/128
* Tested: https://travis-ci.org/myii/salt-formula/jobs/649882733
2020-02-13 10:44:37 +00:00
N 7fdbb84b4f
Merge pull request #449 from noelmcloughlin/hardcoding2
feat(mapping): simplify py version handling, less jinja
2020-01-26 00:41:05 +01:00
N 715e3b8fa4
refactor(mapping): simplify py version handling 2020-01-25 18:06:29 +00:00
Imran Iqbal 7121d1d8cd
test(pkgs_spec): update `centos-8` for `2019.2.3` release
* https://docs.saltstack.com/en/latest/topics/releases/2019.2.3.html
2020-01-24 10:33:50 +00:00
N c42125c2ab
test(versions): bump salt pkg versions 2020-01-24 09:37:36 +00:00
Imran Iqbal 6da3d0d935
test(pkgs_spec): update for new `opensuse` package
* https://travis-ci.com/saltstack-formulas/salt-formula/jobs/261961203#L1619-L1632
2019-12-03 21:59:42 +00:00
Imran Iqbal acbc238877
test(pkgs_spec): update for `2019.2.2` release
* https://docs.saltstack.com/en/latest/topics/releases/2019.2.2.html
2019-10-29 21:58:59 +00:00
Imran Iqbal 4787ce7ff8
test(pkgs_spec): reset version from `2019.2.1` back to `2019.2.0`
* https://groups.google.com/forum/#!msg/salt-announce/a2kXUwwakqQ/f4sdBQpNDAAJ
2019-10-11 21:16:09 +01:00
Imran Iqbal 62f82a4334
fix(rubocop): add fixes using `rubocop --safe-auto-correct` 2019-10-11 20:21:28 +01:00
Imran Iqbal 8f36788bfc ci(platform): add `arch-base-latest` (commented out for now) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/50
2019-10-01 16:24:04 +01:00
Imran Iqbal 1bf968984d
test(pkgs_spec): update for `2019.2.1` release
* https://docs.saltstack.com/en/latest/topics/releases/2019.2.1.html
2019-09-25 21:01:35 +01:00
Imran Iqbal fc1d0b15a3
refactor(kitchen+travis+inspec): use pre-salted images
* Semi-automated using https://github.com/myii/ssf-formula/pull/36
* Restructure all tests according to updated test suites
* Improve tests where necessary (code style, new platforms and package versions)
2019-09-19 02:20:18 +01:00
Imran Iqbal ebfeba2c4f
feat: use `semantic-release` cross-formula standard structure
* Semi-automated using https://github.com/myii/ssf-formula/pull/31
* Includes:
  - Update TOFS
  - Use `bin/kitchen`
  - Use `dist: bionic` in Travis
  - Add `yamllint` and apply rules
  - Use `pillars_from_files` throughout
  - Replace EOL images in Kitchen & Travis
  - Add `develop` images in Kitchen & Travis
* Fix (or ignore)  errors shown below:

```bash
salt-formula$ yamllint -s .
./pillar.example
  1:1       warning  missing document start "---"  (document-start)
  5:23      warning  truthy value should be one of [false, true]  (truthy)
  8:25      warning  truthy value should be one of [false, true]  (truthy)
  11:25     warning  truthy value should be one of [false, true]  (truthy)
  19:21     warning  truthy value should be one of [false, true]  (truthy)
  40:89     error    line too long (108 > 88 characters)  (line-length)
  41:89     error    line too long (112 > 88 characters)  (line-length)
  43:89     error    line too long (112 > 88 characters)  (line-length)
  45:89     error    line too long (110 > 88 characters)  (line-length)
  47:89     error    line too long (89 > 88 characters)  (line-length)
  74:27     warning  truthy value should be one of [false, true]  (truthy)
  82:9      error    wrong indentation: expected 10 but found 8  (indentation)
  101:14    warning  truthy value should be one of [false, true]  (truthy)
  102:20    warning  truthy value should be one of [false, true]  (truthy)
  103:89    error    line too long (119 > 88 characters)  (line-length)
  121:7     warning  comment not indented like content  (comments-indentation)
  122:24    error    syntax error: found character '%' that cannot start any token
  310:89    error    line too long (102 > 88 characters)  (line-length)
  330:89    error    line too long (113 > 88 characters)  (line-length)
  433:1     error    too many blank lines (1 > 0)  (empty-lines)

./salt/osmap.yaml
  4:2       error    syntax error: found character '%' that cannot start any token
  6:89      error    line too long (93 > 88 characters)  (line-length)
  22:89     error    line too long (137 > 88 characters)  (line-length)
  23:89     error    line too long (134 > 88 characters)  (line-length)
  33:89     error    line too long (149 > 88 characters)  (line-length)
  34:89     error    line too long (146 > 88 characters)  (line-length)

./salt/osfamilymap.yaml
  4:2       error    syntax error: found character '%' that cannot start any token
  6:89      error    line too long (94 > 88 characters)  (line-length)
  24:89     error    line too long (149 > 88 characters)  (line-length)
  25:89     error    line too long (146 > 88 characters)  (line-length)
  39:89     error    line too long (105 > 88 characters)  (line-length)
  40:89     error    line too long (127 > 88 characters)  (line-length)
  56:89     error    line too long (101 > 88 characters)  (line-length)

./salt/ospyvermap.yaml
  4:1       warning  missing document start "---"  (document-start)

./salt/defaults.yaml
  3:1       warning  missing document start "---"  (document-start)
  7:21      warning  truthy value should be one of [false, true]  (truthy)
  8:12      warning  truthy value should be one of [false, true]  (truthy)
  9:23      warning  truthy value should be one of [false, true]  (truthy)
  10:19     warning  truthy value should be one of [false, true]  (truthy)
  14:25     warning  truthy value should be one of [false, true]  (truthy)
  15:25     warning  truthy value should be one of [false, true]  (truthy)
  16:27     warning  truthy value should be one of [false, true]  (truthy)
  17:27     warning  truthy value should be one of [false, true]  (truthy)
  39:28     warning  truthy value should be one of [false, true]  (truthy)
  41:28     warning  truthy value should be one of [false, true]  (truthy)
  45:24     warning  truthy value should be one of [false, true]  (truthy)
  49:30     warning  truthy value should be one of [false, true]  (truthy)
  54:28     warning  truthy value should be one of [false, true]  (truthy)
  63:25     warning  truthy value should be one of [false, true]  (truthy)
  68:15     warning  truthy value should be one of [false, true]  (truthy)
```
2019-09-13 07:58:18 +01:00
Javier Bértoli 5ffc1e5bc1 Bootstrap using git, so versions don't collide at package install time. 2019-03-31 16:26:52 -03:00
Javier Bértoli b2d760cd87 Update the testing matrix to cover most distro+salt+python combinations
Use py3 for latest salt version
Use Python 2 on old distros
Update Gemfile
Updated centos-6 run_command, as it does not use systemd
Added tests to verify correct package versions for all cases tested
2019-03-31 11:44:44 -03:00
Niels Abspoel 45394feb99 add initial travis integration
add travis button to README
2018-12-22 16:28:18 +01:00