Commit Graph

23 Commits

Author SHA1 Message Date
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