mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-10 23:01:42 +00:00
ci: update pre-commit
configuration inc. for pre-commit.ci [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/450
This commit is contained in:
parent
5826716520
commit
a83f6a2364
4 changed files with 13 additions and 75 deletions
|
@ -154,7 +154,6 @@ redhat8-centos-stream8-master-py3: {extends: '.test_instance_failure_permitted'}
|
||||||
centos-centos-7-master-py3: {extends: '.test_instance'}
|
centos-centos-7-master-py3: {extends: '.test_instance'}
|
||||||
# fedora-fedora-36-master-py3: {extends: '.test_instance_failure_permitted'}
|
# fedora-fedora-36-master-py3: {extends: '.test_instance_failure_permitted'}
|
||||||
# fedora-fedora-35-master-py3: {extends: '.test_instance'}
|
# fedora-fedora-35-master-py3: {extends: '.test_instance'}
|
||||||
# fedora-fedora-34-master-py3: {extends: '.test_instance'}
|
|
||||||
suse-opensuse-leap-153-master-py3: {extends: '.test_instance'}
|
suse-opensuse-leap-153-master-py3: {extends: '.test_instance'}
|
||||||
suse-opensuse-tmbl-latest-master-py3: {extends: '.test_instance_failure_permitted'}
|
suse-opensuse-tmbl-latest-master-py3: {extends: '.test_instance_failure_permitted'}
|
||||||
amazon-amazonlinux-2-master-py3: {extends: '.test_instance'}
|
amazon-amazonlinux-2-master-py3: {extends: '.test_instance'}
|
||||||
|
@ -175,7 +174,6 @@ redhat8-rockylinux-8-master-py3: {extends: '.test_instance'}
|
||||||
# centos-centos-7-3004-1-py3: {extends: '.test_instance'}
|
# centos-centos-7-3004-1-py3: {extends: '.test_instance'}
|
||||||
# fedora-fedora-36-3004-1-py3: {extends: '.test_instance_failure_permitted'}
|
# fedora-fedora-36-3004-1-py3: {extends: '.test_instance_failure_permitted'}
|
||||||
# fedora-fedora-35-3004-1-py3: {extends: '.test_instance'}
|
# fedora-fedora-35-3004-1-py3: {extends: '.test_instance'}
|
||||||
# fedora-fedora-34-3004-1-py3: {extends: '.test_instance'}
|
|
||||||
# amazon-amazonlinux-2-3004-1-py3: {extends: '.test_instance'}
|
# amazon-amazonlinux-2-3004-1-py3: {extends: '.test_instance'}
|
||||||
# redhat8-oraclelinux-8-3004-1-py3: {extends: '.test_instance'}
|
# redhat8-oraclelinux-8-3004-1-py3: {extends: '.test_instance'}
|
||||||
# centos-oraclelinux-7-3004-1-py3: {extends: '.test_instance'}
|
# centos-oraclelinux-7-3004-1-py3: {extends: '.test_instance'}
|
||||||
|
@ -196,14 +194,6 @@ redhat8-rockylinux-8-master-py3: {extends: '.test_instance'}
|
||||||
# redhat8-oraclelinux-8-3003-4-py3: {extends: '.test_instance'}
|
# redhat8-oraclelinux-8-3003-4-py3: {extends: '.test_instance'}
|
||||||
# centos-oraclelinux-7-3003-4-py3: {extends: '.test_instance'}
|
# centos-oraclelinux-7-3003-4-py3: {extends: '.test_instance'}
|
||||||
# redhat8-almalinux-8-3003-4-py3: {extends: '.test_instance'}
|
# redhat8-almalinux-8-3003-4-py3: {extends: '.test_instance'}
|
||||||
# debian-debian-10-3002-8-py3: {extends: '.test_instance'}
|
|
||||||
# debian-debian-9-3002-8-py3: {extends: '.test_instance'}
|
|
||||||
# ubuntu-ubuntu-2004-3002-8-py3: {extends: '.test_instance'}
|
|
||||||
# ubuntu-ubuntu-1804-3002-8-py3: {extends: '.test_instance'}
|
|
||||||
# centos-centos-7-3002-8-py3: {extends: '.test_instance'}
|
|
||||||
# amazon-amazonlinux-2-3002-8-py3: {extends: '.test_instance'}
|
|
||||||
# redhat8-oraclelinux-8-3002-8-py3: {extends: '.test_instance'}
|
|
||||||
# centos-oraclelinux-7-3002-8-py3: {extends: '.test_instance'}
|
|
||||||
# yamllint enable rule:line-length
|
# yamllint enable rule:line-length
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
|
@ -3,6 +3,18 @@
|
||||||
---
|
---
|
||||||
# See https://pre-commit.com for more information
|
# See https://pre-commit.com for more information
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
|
ci:
|
||||||
|
autofix_commit_msg: |
|
||||||
|
ci(pre-commit.ci): apply auto fixes from pre-commit.com hooks
|
||||||
|
|
||||||
|
For more information, see https://pre-commit.ci
|
||||||
|
autofix_prs: true
|
||||||
|
autoupdate_branch: ''
|
||||||
|
autoupdate_commit_msg: |
|
||||||
|
ci(pre-commit.ci): perform `pre-commit` autoupdate
|
||||||
|
autoupdate_schedule: quarterly
|
||||||
|
skip: []
|
||||||
|
submodules: false
|
||||||
default_stages: [commit]
|
default_stages: [commit]
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/dafyddj/commitlint-pre-commit-hook
|
- repo: https://github.com/dafyddj/commitlint-pre-commit-hook
|
||||||
|
@ -18,7 +30,7 @@ repos:
|
||||||
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
|
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
|
||||||
always_run: true
|
always_run: true
|
||||||
- repo: https://github.com/rubocop-hq/rubocop
|
- repo: https://github.com/rubocop-hq/rubocop
|
||||||
rev: v1.25.1
|
rev: v1.30.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: rubocop
|
- id: rubocop
|
||||||
name: Check Ruby files with rubocop
|
name: Check Ruby files with rubocop
|
||||||
|
|
10
.travis.yml
10
.travis.yml
|
@ -106,7 +106,6 @@ jobs:
|
||||||
- env: INSTANCE=centos-centos-7-master-py3
|
- env: INSTANCE=centos-centos-7-master-py3
|
||||||
# - env: INSTANCE=fedora-fedora-36-master-py3
|
# - env: INSTANCE=fedora-fedora-36-master-py3
|
||||||
# - env: INSTANCE=fedora-fedora-35-master-py3
|
# - env: INSTANCE=fedora-fedora-35-master-py3
|
||||||
# - env: INSTANCE=fedora-fedora-34-master-py3
|
|
||||||
- env: INSTANCE=suse-opensuse-leap-153-master-py3
|
- env: INSTANCE=suse-opensuse-leap-153-master-py3
|
||||||
- env: INSTANCE=suse-opensuse-tmbl-latest-master-py3
|
- env: INSTANCE=suse-opensuse-tmbl-latest-master-py3
|
||||||
- env: INSTANCE=amazon-amazonlinux-2-master-py3
|
- env: INSTANCE=amazon-amazonlinux-2-master-py3
|
||||||
|
@ -127,7 +126,6 @@ jobs:
|
||||||
# - env: INSTANCE=centos-centos-7-3004-1-py3
|
# - env: INSTANCE=centos-centos-7-3004-1-py3
|
||||||
# - env: INSTANCE=fedora-fedora-36-3004-1-py3
|
# - env: INSTANCE=fedora-fedora-36-3004-1-py3
|
||||||
# - env: INSTANCE=fedora-fedora-35-3004-1-py3
|
# - env: INSTANCE=fedora-fedora-35-3004-1-py3
|
||||||
# - env: INSTANCE=fedora-fedora-34-3004-1-py3
|
|
||||||
# - env: INSTANCE=amazon-amazonlinux-2-3004-1-py3
|
# - env: INSTANCE=amazon-amazonlinux-2-3004-1-py3
|
||||||
# - env: INSTANCE=redhat8-oraclelinux-8-3004-1-py3
|
# - env: INSTANCE=redhat8-oraclelinux-8-3004-1-py3
|
||||||
# - env: INSTANCE=centos-oraclelinux-7-3004-1-py3
|
# - env: INSTANCE=centos-oraclelinux-7-3004-1-py3
|
||||||
|
@ -148,14 +146,6 @@ jobs:
|
||||||
# - env: INSTANCE=redhat8-oraclelinux-8-3003-4-py3
|
# - env: INSTANCE=redhat8-oraclelinux-8-3003-4-py3
|
||||||
# - env: INSTANCE=centos-oraclelinux-7-3003-4-py3
|
# - env: INSTANCE=centos-oraclelinux-7-3003-4-py3
|
||||||
# - env: INSTANCE=redhat8-almalinux-8-3003-4-py3
|
# - env: INSTANCE=redhat8-almalinux-8-3003-4-py3
|
||||||
# - env: INSTANCE=debian-debian-10-3002-8-py3
|
|
||||||
# - env: INSTANCE=debian-debian-9-3002-8-py3
|
|
||||||
# - env: INSTANCE=ubuntu-ubuntu-2004-3002-8-py3
|
|
||||||
# - env: INSTANCE=ubuntu-ubuntu-1804-3002-8-py3
|
|
||||||
# - env: INSTANCE=centos-centos-7-3002-8-py3
|
|
||||||
# - env: INSTANCE=amazon-amazonlinux-2-3002-8-py3
|
|
||||||
# - env: INSTANCE=redhat8-oraclelinux-8-3002-8-py3
|
|
||||||
# - env: INSTANCE=centos-oraclelinux-7-3002-8-py3
|
|
||||||
|
|
||||||
## Define the release stage that runs `semantic-release`
|
## Define the release stage that runs `semantic-release`
|
||||||
- stage: 'release'
|
- stage: 'release'
|
||||||
|
|
54
kitchen.yml
54
kitchen.yml
|
@ -127,9 +127,6 @@ platforms:
|
||||||
- name: fedora-35-master-py3
|
- name: fedora-35-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:fedora-35
|
image: saltimages/salt-master-py3:fedora-35
|
||||||
- name: fedora-34-master-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-master-py3:fedora-34
|
|
||||||
- name: opensuse-leap-153-master-py3
|
- name: opensuse-leap-153-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:opensuse-leap-15.3
|
image: saltimages/salt-master-py3:opensuse-leap-15.3
|
||||||
|
@ -219,9 +216,6 @@ platforms:
|
||||||
- name: fedora-35-3004-1-py3
|
- name: fedora-35-3004-1-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3004.1-py3:fedora-35
|
image: saltimages/salt-3004.1-py3:fedora-35
|
||||||
- name: fedora-34-3004-1-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3004.1-py3:fedora-34
|
|
||||||
- name: amazonlinux-2-3004-1-py3
|
- name: amazonlinux-2-3004-1-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3004.1-py3:amazonlinux-2
|
image: saltimages/salt-3004.1-py3:amazonlinux-2
|
||||||
|
@ -308,44 +302,6 @@ platforms:
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3003.4-py3:almalinux-8
|
image: saltimages/salt-3003.4-py3:almalinux-8
|
||||||
|
|
||||||
## SALT `3002.8`
|
|
||||||
- name: debian-10-3002-8-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.8-py3:debian-10
|
|
||||||
provision_command:
|
|
||||||
- apt-get update
|
|
||||||
- apt-get install --reinstall -y udev
|
|
||||||
- apt-get install -y snapd
|
|
||||||
run_command: /lib/systemd/systemd
|
|
||||||
- name: debian-9-3002-8-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.8-py3:debian-9
|
|
||||||
provision_command:
|
|
||||||
- apt-get update
|
|
||||||
- apt-get install --reinstall -y udev
|
|
||||||
- apt-get install -y snapd
|
|
||||||
run_command: /lib/systemd/systemd
|
|
||||||
- name: ubuntu-2004-3002-8-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.8-py3:ubuntu-20.04
|
|
||||||
run_command: /lib/systemd/systemd
|
|
||||||
- name: ubuntu-1804-3002-8-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.8-py3:ubuntu-18.04
|
|
||||||
run_command: /lib/systemd/systemd
|
|
||||||
- name: centos-7-3002-8-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.8-py3:centos-7
|
|
||||||
- name: amazonlinux-2-3002-8-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.8-py3:amazonlinux-2
|
|
||||||
- name: oraclelinux-8-3002-8-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.8-py3:oraclelinux-8
|
|
||||||
- name: oraclelinux-7-3002-8-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.8-py3:oraclelinux-7
|
|
||||||
|
|
||||||
verifier:
|
verifier:
|
||||||
# https://www.inspec.io/
|
# https://www.inspec.io/
|
||||||
name: inspec
|
name: inspec
|
||||||
|
@ -368,8 +324,6 @@ suites:
|
||||||
- debian-9-3004-1-py3
|
- debian-9-3004-1-py3
|
||||||
- debian-10-3003-4-py3
|
- debian-10-3003-4-py3
|
||||||
- debian-9-3003-4-py3
|
- debian-9-3003-4-py3
|
||||||
- debian-10-3002-8-py3
|
|
||||||
- debian-9-3002-8-py3
|
|
||||||
provisioner:
|
provisioner:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: node
|
- name: node
|
||||||
|
@ -404,8 +358,6 @@ suites:
|
||||||
- ubuntu-1804-3004-1-py3
|
- ubuntu-1804-3004-1-py3
|
||||||
- ubuntu-2004-3003-4-py3
|
- ubuntu-2004-3003-4-py3
|
||||||
- ubuntu-1804-3003-4-py3
|
- ubuntu-1804-3003-4-py3
|
||||||
- ubuntu-2004-3002-8-py3
|
|
||||||
- ubuntu-1804-3002-8-py3
|
|
||||||
provisioner:
|
provisioner:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: golang
|
- name: golang
|
||||||
|
@ -431,10 +383,8 @@ suites:
|
||||||
includes:
|
includes:
|
||||||
- fedora-36-master-py3
|
- fedora-36-master-py3
|
||||||
- fedora-35-master-py3
|
- fedora-35-master-py3
|
||||||
- fedora-34-master-py3
|
|
||||||
- fedora-36-3004-1-py3
|
- fedora-36-3004-1-py3
|
||||||
- fedora-35-3004-1-py3
|
- fedora-35-3004-1-py3
|
||||||
- fedora-34-3004-1-py3
|
|
||||||
provisioner:
|
provisioner:
|
||||||
state_top:
|
state_top:
|
||||||
base:
|
base:
|
||||||
|
@ -468,7 +418,6 @@ suites:
|
||||||
- centos-stream8-3003-4-py3
|
- centos-stream8-3003-4-py3
|
||||||
- oraclelinux-8-3003-4-py3
|
- oraclelinux-8-3003-4-py3
|
||||||
- almalinux-8-3003-4-py3
|
- almalinux-8-3003-4-py3
|
||||||
- oraclelinux-8-3002-8-py3
|
|
||||||
provisioner:
|
provisioner:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: epel
|
- name: epel
|
||||||
|
@ -500,8 +449,6 @@ suites:
|
||||||
- oraclelinux-7-3004-1-py3
|
- oraclelinux-7-3004-1-py3
|
||||||
- centos-7-3003-4-py3
|
- centos-7-3003-4-py3
|
||||||
- oraclelinux-7-3003-4-py3
|
- oraclelinux-7-3003-4-py3
|
||||||
- centos-7-3002-8-py3
|
|
||||||
- oraclelinux-7-3002-8-py3
|
|
||||||
provisioner:
|
provisioner:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: epel
|
- name: epel
|
||||||
|
@ -529,7 +476,6 @@ suites:
|
||||||
- amazonlinux-2-master-py3
|
- amazonlinux-2-master-py3
|
||||||
- amazonlinux-2-3004-1-py3
|
- amazonlinux-2-3004-1-py3
|
||||||
- amazonlinux-2-3003-4-py3
|
- amazonlinux-2-3003-4-py3
|
||||||
- amazonlinux-2-3002-8-py3
|
|
||||||
provisioner:
|
provisioner:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: epel
|
- name: epel
|
||||||
|
|
Loading…
Add table
Reference in a new issue