Commit graph

41 commits

Author SHA1 Message Date
Dafydd Jones
e3d3c121ef
Merge pull request #273 from jeff350/update_test_images
ci: use latest test images
2025-03-25 18:10:22 +00:00
Jeff Neel
417ca530dd ci: use latest test images 2025-03-25 10:46:36 -05:00
Jeff Neel
5fb252c034 ci: use latest test images 2025-03-25 10:31:56 -05:00
Jeff Neel
b41b8dc94b ci: use latest test images 2025-03-25 09:33:54 -05:00
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
Dafydd Jones
78f551d639 ci: update ci-docker-python-ruby to v2.2.45 2025-02-25 20:29:44 +00:00
Dafydd Jones
6cf5ef9957 ci: update ci-commitlint to v1.1.76 2025-02-25 20:17:50 +00:00
Dafydd Jones
6e6d524ea4
ci: remove EOL images & allow failure of amazonlinux-2 2025-02-25 17:03:43 +00:00
Dafydd Jones
f266a5065b
ci: update ci-pre-commit to v2.4.10 2025-02-25 16:52:47 +00:00
Dafydd Jones
28d90f506f
ci: update ci-pre-commit to v2.4.10 2025-02-25 16:49:40 +00:00
Dafydd Jones
20de9ca638
ci: update ci-pre-commit to v2.4.10 2025-02-25 16:46:01 +00:00
Dafydd Jones
963522f342 ci: update container images 2023-12-04 20:22:59 +00:00
Dafydd Jones
b84343ef83 ci: update the container images and refactor steps 2023-10-25 16:20:51 +01: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
6ea1cc2f40
ci(gitlab-ci): fix test conversion job (reset back to #249) [skip ci]
* Reset using https://github.com/myii/ssf-formula/pull/440
2022-05-10 10:15:46 +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
a1a46ae389
ci(gitlab-ci): use Node 16.x for pre-commit in test conversion job
The `test_conversion` job failed during the weekly testing:

* https://gitlab.com/myii/template-formula/-/jobs/2371193438

The `stderr` being:

```
/root/.cache/pre-commit/repomigj3p4n/node_env-default/bin/node:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found
(required by /root/.cache/pre-commit/repomigj3p4n/node_env-default/bin/node)
```

The following references led to this resolution:

* https://github.com/pre-commit/pre-commit/issues/2351
* https://stackoverflow.com/questions/71939099/bitbucket-pipeline-error-installing-pre-commit-ts-lint

As mentioned there:

> a few days ago node 18.x was released and the prebuilt binaries
> require a relatively-recent version of glibc

Which obviously isn't available on our current Bionic-based `dind` image,
i.e. 'myii/ssf-dind-ruby-bionic:2.7.5-1bbox1'.

While debugging this situation locally, noticed that the use of a
relative `tmp/...` subdirectory was within the `template-formula`
directory itself -- so switched this to using `/tmp/...` instead.
2022-04-25 18:43:02 +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
278404f771
chore(gemfile.lock): update to latest gem versions (2022-W08) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/419
2022-02-21 19:12:52 +00:00
Imran Iqbal
8ff2152b32
ci(gitlab-ci): update dind-ruby-bionic (use Python 3.7 for pre-commit) 2022-02-13 01:06:02 +00: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
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
07657fb5be
Merge pull request #237 from dafyddj/fix/rst-underlines
fix(convert-formula.sh): fix reST underlining during conversion
2021-08-19 16:13: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
Dafydd Jones
b2fe67a79d ci(gitlab): update dind-ruby-bionic with ruby 2.7.1
Co-authored-by: Imran Iqbal <myii@users.noreply.github.com>
2021-08-18 15:24:28 +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
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
e476d5a567
ci(commitlint): ensure upstream/master uses main repo URL [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/278
2020-12-20 18:50:58 +00:00
Imran Iqbal
4c300d01cb
ci(gitlab-ci): add rubocop linter (with allow_failure) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/277
2020-12-19 14:36:34 +00:00
Imran Iqbal
0403f62c77
ci(gitlab-ci): use GitLab CI as Travis CI replacement
* Automated using https://github.com/myii/ssf-formula/pull/275
2020-12-16 06:59:07 +00:00