Skip to content

Commit

Permalink
ci(3003.1): update inc. AlmaLinux, Rocky & rst-lint [skip ci]
Browse files Browse the repository at this point in the history
* Automated using myii/ssf-formula#335
  • Loading branch information
myii committed Jul 1, 2021
1 parent 8086687 commit 97b0af6
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ ubuntu-2004-master-py3: {extends: '.test_instance'}
# preferences-ubuntu-1804-master-py3: {extends: '.test_instance'}
# unattended-ubuntu-1804-master-py3: {extends: '.test_instance'}
ubuntu-1804-master-py3: {extends: '.test_instance'}
# repositories-debian-10-3003-0-py3: {extends: '.test_instance'}
# repositories-debian-9-3003-0-py3: {extends: '.test_instance'}
# repositories-ubuntu-2004-3003-0-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-3003-0-py3: {extends: '.test_instance'}
# repositories-debian-10-3003-1-py3: {extends: '.test_instance'}
# repositories-debian-9-3003-1-py3: {extends: '.test_instance'}
# repositories-ubuntu-2004-3003-1-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-3003-1-py3: {extends: '.test_instance'}
# repositories-debian-10-3002-6-py3: {extends: '.test_instance'}
# repositories-debian-9-3002-6-py3: {extends: '.test_instance'}
# repositories-ubuntu-2004-3002-6-py3: {extends: '.test_instance'}
Expand Down
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,14 @@ repos:
- id: rstcheck
name: Check reST files using rstcheck
exclude: 'docs/CHANGELOG.rst'
- repo: https://github.com/saltstack-formulas/mirrors-rst-lint
rev: v1.3.2
hooks:
- id: rst-lint
name: Check reST files using rst-lint
exclude: |
(?x)^(
docs/CHANGELOG.rst|
docs/TOFS_pattern.rst|
)$
additional_dependencies: [pygments==2.9.0]
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ jobs:
# - env: INSTANCE=preferences-ubuntu-1804-master-py3
# - env: INSTANCE=unattended-ubuntu-1804-master-py3
- env: INSTANCE=ubuntu-1804-master-py3
# - env: INSTANCE=repositories-debian-10-3003-0-py3
# - env: INSTANCE=repositories-debian-9-3003-0-py3
# - env: INSTANCE=repositories-ubuntu-2004-3003-0-py3
# - env: INSTANCE=repositories-ubuntu-1804-3003-0-py3
# - env: INSTANCE=repositories-debian-10-3003-1-py3
# - env: INSTANCE=repositories-debian-9-3003-1-py3
# - env: INSTANCE=repositories-ubuntu-2004-3003-1-py3
# - env: INSTANCE=repositories-ubuntu-1804-3003-1-py3
# - env: INSTANCE=repositories-debian-10-3002-6-py3
# - env: INSTANCE=repositories-debian-9-3002-6-py3
# - env: INSTANCE=repositories-ubuntu-2004-3002-6-py3
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://gitlab.com/saltstack-formulas/infrastructure/kitchen-docker
revision: 042e6921940a28d2502258b6a5ff3be17dd2fd37
revision: 1f543f654da5c1774cb8737f6f07a01745520bb5
branch: ssf
specs:
kitchen-docker (2.10.0)
Expand Down
18 changes: 9 additions & 9 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ platforms:
driver:
image: saltimages/salt-master-py3:ubuntu-18.04

## SALT `3003.0`
- name: debian-10-3003-0-py3
## SALT `3003.1`
- name: debian-10-3003-1-py3
driver:
image: saltimages/salt-3003.0-py3:debian-10
- name: debian-9-3003-0-py3
image: saltimages/salt-3003.1-py3:debian-10
- name: debian-9-3003-1-py3
driver:
image: saltimages/salt-3003.0-py3:debian-9
- name: ubuntu-2004-3003-0-py3
image: saltimages/salt-3003.1-py3:debian-9
- name: ubuntu-2004-3003-1-py3
driver:
image: saltimages/salt-3003.0-py3:ubuntu-20.04
- name: ubuntu-1804-3003-0-py3
image: saltimages/salt-3003.1-py3:ubuntu-20.04
- name: ubuntu-1804-3003-1-py3
driver:
image: saltimages/salt-3003.0-py3:ubuntu-18.04
image: saltimages/salt-3003.1-py3:ubuntu-18.04

## SALT `3002.6`
- name: debian-10-3002-6-py3
Expand Down
2 changes: 2 additions & 0 deletions test/integration/share/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ supports:
- platform-name: oracle
- platform-name: arch
- platform-name: gentoo
- platform-name: almalinux
- platform-name: rocky
- platform: windows
2 changes: 1 addition & 1 deletion test/integration/share/libraries/system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def build_platform_family

def build_platform_name
case inspec.platform[:name]
when 'amazon', 'oracle'
when 'amazon', 'oracle', 'rocky'
"#{inspec.platform[:name]}linux"
when /^windows_/
inspec.platform[:family]
Expand Down

0 comments on commit 97b0af6

Please sign in to comment.