0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-18 08:22:54 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
Imran Iqbal
433a2c1597
ci(kitchen+travis): adjust matrix to add 3000.2 & remove 2018.3
* Semi-automated using https://github.com/myii/ssf-formula/pull/166
2020-05-01 10:27:37 +01:00
Imran Iqbal
a8fe65a2c8 ci(kitchen+travis): adjust matrix to update 3000 to 3000.1
* Automated using https://github.com/myii/ssf-formula/pull/146
2020-04-01 22:41:04 +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
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
Imran Iqbal
d2d51864a5 ci(kitchen): avoid using bootstrap for master instances [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/124
2020-02-05 14:08:24 +00:00
Imran Iqbal
b6e3a83229
ci(kitchen+travis): upgrade matrix after 2019.2.2 release
* Automated using https://github.com/myii/ssf-formula/pull/86
2019-10-29 21:58:59 +00:00
Imran Iqbal
8cc595261d ci(kitchen): install required packages to bootstrapped opensuse [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/53
2019-10-02 00:12:05 +01:00
Imran Iqbal
0c5eb7e51f ci(kitchen): use bootstrapped opensuse images until 2019.2.2 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/52
2019-10-01 21:39:17 +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
073175d692 ci(kitchen): change log_level to debug instead of info
* Automated using https://github.com/myii/ssf-formula/pull/41
2019-09-23 17:04:55 +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
Imran Iqbal
071942061d
ci(kitchen+travis): use py2 instead of py3 for centos-7 2019-04-19 19:03:54 +01:00
Javier Bértoli
4231029c62 Changed Redhat's repo name and file
To match the one used by the bootstrapper. Otherwhise, we end up with two repos configured
2019-04-01 09:50:27 -03:00
Javier Bértoli
79109b98f0 Try to make centos-6 work 2019-03-31 19:26:59 -03: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
9f9bd97f9e We don't need the daemons running at bootstrap time 2019-03-31 12:30:41 -03:00
Javier Bértoli
f494b59fe1 Fix test repo dir, try to get centos-6 working 2019-03-31 12:01:55 -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