Jeff Neel
579a43b7a9
ci: use latest test images
2025-03-25 09:25:30 -05:00
Jeff Neel
b71ff7523a
ci: use latest test images
2025-02-27 21:32:30 -06:00
Jeff Neel
d53ceae71b
ci: use latest test images
2025-02-26 08:27:37 -06:00
Imran Iqbal
32518b9798
ci: update pre-commit
configuration inc. for pre-commit.ci [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/450
2022-06-09 00:06:47 +01:00
Imran Iqbal
e16130d239
chore(gemfile.lock): update to latest gem versions (2022-W18) [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/437
2022-05-06 23:19:59 +01:00
Imran Iqbal
7d256e32f8
chore(gemfile.lock): update to latest gem versions (2022-W15) [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/428
2022-04-11 19:24:48 +01:00
Imran Iqbal
801be3d974
ci(kitchen+gitlab): update for new pre-salted images [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/426
2022-04-03 15:09:49 +01:00
Imran Iqbal
bbc8e2d851
chore(gemfile.lock): update to latest gem versions (2022-W13) [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/425
2022-04-01 15:38:39 +01: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
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
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
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
1b8604dd02
ci(kitchen+ci): update with latest 3003.2
pre-salted images [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/360
2021-08-19 10:15:47 +01:00
Imran Iqbal
e14f83019a
ci: add Debian 11 Bullseye & update yamllint
configuration [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/345
2021-07-18 19:06:33 +01:00
Imran Iqbal
29df15e21c
ci(kitchen): move provisioner
block & update run_command
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/344
2021-07-17 21:13:41 +01:00
Imran Iqbal
a04fba14ec
chore(gemfile+lock): update to latest gem versions (2021-W28) [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/343
2021-07-17 20:31:11 +01:00
Imran Iqbal
be3ee0be51
ci(3003.1): update inc. AlmaLinux, Rocky & rst-lint
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/335
2021-07-02 00:09:05 +01:00
Imran Iqbal
858ef8a2b7
ci(kitchen+gitlab): remove Ubuntu 16.04 & Fedora 32 (EOL) [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/331
2021-06-21 20:49:35 +01:00
Imran Iqbal
7e74001c05
ci: add arch-master
to matrix and update .travis.yml
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/323
2021-05-09 22:34:52 +01:00
Imran Iqbal
c99c5a1b68
ci(kitchen+gitlab): adjust matrix to add 3003
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/318
2021-04-23 08:50:29 +01:00
Imran Iqbal
6453145da1
ci(kitchen+ci): use latest pre-salted images (after CVE) [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/299
2021-03-07 22:23:20 +00:00
Imran Iqbal
00823a2d27
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/293
2021-02-14 10:43:09 +00:00
Imran Iqbal
4c2f4ede02
feat: add Gentoo support
...
Make use of the new pre-salted images:
* https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/merge_requests/55
2020-10-12 07:33:44 +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
Daniel Dehennin
31e1096add
ci(kitchen): execute _madata
state
2020-09-03 16:27:31 +02: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
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
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
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
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
Imran Iqbal
f48a727564
ci(kitchen+travis): adjust matrix to update 3000
to 3000.1
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/146
2020-04-01 23:41:34 +01:00
Imran Iqbal
f81c372dfe
ci(kitchen+travis): adjust matrix to add 3000
& remove 2017.7
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/138
2020-03-24 19:53:37 +00:00
Imran Iqbal
6ecdb99f83
ci(kitchen): avoid using bootstrap for master
instances
...
* Automated using https://github.com/myii/ssf-formula/pull/124
2020-02-05 10:26:54 +00:00
Dafydd Jones
2e8ded6565
refactor: improve reusability using an unique keyword TEMPLATE
...
BREAKING CHANGE: changed all state names and ids
2019-12-04 23:47:41 +00:00
Imran Iqbal
42482d7f9b
ci(kitchen): use develop
image until master
is ready (amazonlinux
) [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/93
2019-11-03 11:37:28 +00:00
Imran Iqbal
d0e07b8883
ci(kitchen+travis): upgrade matrix after 2019.2.2
release [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/86
2019-10-30 04:49:10 +00:00
Imran Iqbal
14ebf928bc
ci(kitchen): use debian-10-master-py3
instead of develop
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/84
2019-10-24 18:11:56 +01:00
Imran Iqbal
1cfed60a13
ci(kitchen): install required packages to bootstrapped opensuse
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/53
2019-10-01 23:50:42 +01:00
Imran Iqbal
0467bdf8b5
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:29:05 +01:00
Imran Iqbal
1011d6c479
Merge pull request #173 from myii/chore/standardise-structure
...
ci(platform): add `arch-base-latest`
2019-09-23 19:03:01 +01:00
Imran Iqbal
1b929ff625
ci(kitchen): change log_level
to debug
instead of info
...
* Automated using https://github.com/myii/ssf-formula/pull/41
2019-09-23 16:42:05 +01:00
Imran Iqbal
042e8e2331
ci(platform): add arch-base-latest
...
* Automated using https://github.com/myii/ssf-formula/pull/40
2019-09-22 22:40:15 +01:00
Imran Iqbal
330b0cba3a
ci: use dist: bionic
& apply opensuse-leap-15
SCP error workaround
...
* Automated using https://github.com/myii/ssf-formula/pull/22
2019-09-07 03:16:52 +01:00
Imran Iqbal
e76525f130
feat(yamllint): include for this repo and apply rules throughout
...
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:
```bash
template-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
./test/integration/default/inspec.yml
1:1 warning missing document start "---" (document-start)
./template/osfamilymap.yaml
1:89 error line too long (116 > 88 characters) (line-length)
1:24 error trailing spaces (trailing-spaces)
13:2 error syntax error: found character '%' that cannot start any token
pillar.example
14:4 error syntax error: found character '%' that cannot start any token
```
2019-08-07 18:27:31 +01:00
Imran Iqbal
42ab22c13f
ci(kitchen+travis): replace EOL pre-salted images
...
* Fedora: 30 => 29 & 29 => 28 (EOL)
* OpenSuse: 15 => 42 (EOL)
- Use `dist: xenial` to prevent failures
Squashed commits:
* ci(kitchen+travis): add new `amazonlinux-2` pre-salted images
* ci(kitchen+travis): use new `debian-10` pre-salted image for `develop`
2019-07-30 09:20:30 +01:00
Imran Iqbal
4a71611c0d
chore: use semantic-release
cross-formula standard structure
...
* Automated using `ssf-formula` (v0.1.0-rc.3)
2019-07-30 08:49:56 +01:00
Daniel Dehennin
13f1728c27
test(libtofs): “tofs.files_switch” lookup can return a list
...
We need to verify that “libtofs” works when the “tofs.files_switch”
lookup return a list instead of a single element.
* kitchen.yml (provisioner): copy tests specific pillars into the test
environment.
* pillar.example (template.tofs.files_switch): lookup for “roles” at
the end.
* test/salt/pillar/test.sls (roles): list of roles to apply during
tests.
* test/integration/default/controls/config_spec.rb: add “roles” to the
list of “tofs.files_switch” items to verify.
2019-07-24 12:13:53 +02:00
Imran Iqbal
7b5d4ffadf
ci(kitchen+travis): modify matrix to include develop
platform
...
* Use `debian-9-develop-py3`
* Remove `opensuse-leap-15-2019-2-py3`:
- Ongoing errors with `opensuse-leap-15-*`
- `bundler: failed to load command: kitchen ...`
- Use `opensuse-leap-42-2018-3-py2` instead
* Shift to `ubuntu-1804-2019-2-py3` to keep balanced ratio
2019-06-12 07:53:55 +01:00