2
0
Commit Graph

23 Commits

Author SHA1 Message Date
Javier Bértoli
cd2a0bfdf0 ci(mapdata): remove Ubuntu 16.04 [skip ci] 2021-09-17 13:19:14 -03:00
Imran Iqbal
c16e7a3b75
test(_mapdata): update verification files for master_type: str
Use the following command:

```
$ GREP_SED="^\(\s\+master_type: \)true" \
  && grep -rl "${GREP_SED}" test/integration/ \
  | xargs sed -i -e "/${GREP_SED}/s//\1str/"
```
2021-09-04 21:27:44 +01:00
Imran Iqbal
f64197ada4
test(pkgs_spec): fix latest rubocop violations [skip ci]
```
Offenses:

test/integration/v3000-py2/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^
test/integration/v3000-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^
test/integration/v3001-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^
test/integration/v3002-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^
test/integration/v3003-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^

19 files inspected, 5 offenses detected, 5 offenses auto-correctable
```
2021-09-04 21:27:31 +01:00
Imran Iqbal
0ab42d7ce8
feat(freebsd): update packages from py37-* => py38-* 2021-07-14 14:42:28 +01:00
Imran Iqbal
0e62858986
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:07:43 +01:00
Imran Iqbal
80542bad6e
fix(repo): update repo urls to repo.saltproject.io
Use the following command:

```
$ GREP_SED="\(repo\.salt\)stack\.com" \
  && grep -rl --exclude-dir=.git "${GREP_SED}" \
  | grep -v .un~$ \
  | xargs sed -i -e "/${GREP_SED}/s//\1project.io/g"
```
2021-05-25 19:27:15 +01:00
Imran Iqbal
e6bcdc1b4d
test: update for new platforms (inc. using system library) 2021-03-30 13:21:00 +01:00
Imran Iqbal
bbd7286240
refactor(retry_options): provide options from defaults/pillar 2021-03-30 12:40:40 +01:00
Imran Iqbal
9816f473c5
test: standardise use of share suite & _mapdata state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
2021-03-23 21:33:02 +00:00
Imran Iqbal
e94a8c9dce
test(debian+ubuntu): update pkgrepo to use https instead of http
```
$ GREP_SED="\(pkgrepo: deb http\):" \
  && grep -rl "${GREP_SED}" test/integration/v* \
     | xargs sed -i -e "/${GREP_SED}/s//\1s:/"
```
2021-03-03 21:10:07 +00:00
Dafydd Jones
a89fb3f4aa fix: revert to using is mapping in Jinja2
* CVE-2021-25283 enables Jinja2 safe mode, which breaks use of
  `'dict' in x.__class__.__name__` workaround
* Workaround no longer needed as CentOS 6 is EOL
2021-03-02 00:40:07 +00:00
Daniel Dehennin
6dbba14a29
chore(rubocop): allow use of YAML.load for _mapdata.rb [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/296
2021-02-23 21:51:25 +00:00
Imran Iqbal
fb9901e3ac
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/293
2021-02-14 07:45:50 +00:00
Imran Iqbal
f00d7ad348
chore: standardise structure (.gitignore & _mapdata.rb) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
2021-02-11 11:53:32 +00:00
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
618f95a665
test(pkgs_spec): test for major version only (i.e. 3000) 2020-12-14 19:56:37 +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
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
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
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
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