浏览代码

ci: update `pre-commit` configuration inc. for pre-commit.ci [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/450
master
Imran Iqbal 2 年前
父节点
当前提交
c16e22ad8d
没有帐户链接到提交者的电子邮件
共有 4 个文件被更改,包括 13 次插入59 次删除
  1. +0
    -10
      .gitlab-ci.yml
  2. +13
    -1
      .pre-commit-config.yaml
  3. +0
    -10
      .travis.yml
  4. +0
    -38
      kitchen.yml

+ 0
- 10
.gitlab-ci.yml 查看文件

@@ -157,7 +157,6 @@ default-centos-stream8-master-py3: {extends: '.test_instance_failure_permitted'}
without-ipv6-centos-7-master-py3: {extends: '.test_instance'}
without-ipv6-fedora-36-master-py3: {extends: '.test_instance_failure_permitted'}
without-ipv6-fedora-35-master-py3: {extends: '.test_instance'}
without-ipv6-fedora-34-master-py3: {extends: '.test_instance'}
without-ipv6-opensuse-leap-153-master-py3: {extends: '.test_instance'}
# without-ipv6-opensuse-tmbl-latest-master-py3: {extends: '.test_instance_failure_permitted'}
without-ipv6-amazonlinux-2-master-py3: {extends: '.test_instance'}
@@ -181,7 +180,6 @@ default-rockylinux-8-master-py3: {extends: '.test_instance'}
# without-ipv6-centos-7-3004-1-py3: {extends: '.test_instance'}
# without-ipv6-fedora-36-3004-1-py3: {extends: '.test_instance_failure_permitted'}
# without-ipv6-fedora-35-3004-1-py3: {extends: '.test_instance'}
# without-ipv6-fedora-34-3004-1-py3: {extends: '.test_instance'}
# without-ipv6-amazonlinux-2-3004-1-py3: {extends: '.test_instance'}
# default-oraclelinux-8-3004-1-py3: {extends: '.test_instance'}
# without-ipv6-oraclelinux-7-3004-1-py3: {extends: '.test_instance'}
@@ -202,14 +200,6 @@ default-rockylinux-8-master-py3: {extends: '.test_instance'}
# default-oraclelinux-8-3003-4-py3: {extends: '.test_instance'}
# without-ipv6-oraclelinux-7-3003-4-py3: {extends: '.test_instance'}
# default-almalinux-8-3003-4-py3: {extends: '.test_instance'}
# default-debian-10-3002-8-py3: {extends: '.test_instance'}
# without-ipv6-debian-9-3002-8-py3: {extends: '.test_instance'}
# without-ipv6-ubuntu-2004-3002-8-py3: {extends: '.test_instance'}
# without-ipv6-ubuntu-1804-3002-8-py3: {extends: '.test_instance'}
# without-ipv6-centos-7-3002-8-py3: {extends: '.test_instance'}
# without-ipv6-amazonlinux-2-3002-8-py3: {extends: '.test_instance'}
# default-oraclelinux-8-3002-8-py3: {extends: '.test_instance'}
# without-ipv6-oraclelinux-7-3002-8-py3: {extends: '.test_instance'}
# yamllint enable rule:line-length

###############################################################################

+ 13
- 1
.pre-commit-config.yaml 查看文件

@@ -3,6 +3,18 @@
---
# See https://pre-commit.com for more information
# 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]
repos:
- repo: https://github.com/dafyddj/commitlint-pre-commit-hook
@@ -18,7 +30,7 @@ repos:
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
always_run: true
- repo: https://github.com/rubocop-hq/rubocop
rev: v1.25.1
rev: v1.30.1
hooks:
- id: rubocop
name: Check Ruby files with rubocop

+ 0
- 10
.travis.yml 查看文件

@@ -109,7 +109,6 @@ jobs:
- env: INSTANCE=without-ipv6-centos-7-master-py3
- env: INSTANCE=without-ipv6-fedora-36-master-py3
- env: INSTANCE=without-ipv6-fedora-35-master-py3
- env: INSTANCE=without-ipv6-fedora-34-master-py3
- env: INSTANCE=without-ipv6-opensuse-leap-153-master-py3
# - env: INSTANCE=without-ipv6-opensuse-tmbl-latest-master-py3
- env: INSTANCE=without-ipv6-amazonlinux-2-master-py3
@@ -133,7 +132,6 @@ jobs:
# - env: INSTANCE=without-ipv6-centos-7-3004-1-py3
# - env: INSTANCE=without-ipv6-fedora-36-3004-1-py3
# - env: INSTANCE=without-ipv6-fedora-35-3004-1-py3
# - env: INSTANCE=without-ipv6-fedora-34-3004-1-py3
# - env: INSTANCE=without-ipv6-amazonlinux-2-3004-1-py3
# - env: INSTANCE=default-oraclelinux-8-3004-1-py3
# - env: INSTANCE=without-ipv6-oraclelinux-7-3004-1-py3
@@ -154,14 +152,6 @@ jobs:
# - env: INSTANCE=default-oraclelinux-8-3003-4-py3
# - env: INSTANCE=without-ipv6-oraclelinux-7-3003-4-py3
# - env: INSTANCE=default-almalinux-8-3003-4-py3
# - env: INSTANCE=default-debian-10-3002-8-py3
# - env: INSTANCE=without-ipv6-debian-9-3002-8-py3
# - env: INSTANCE=without-ipv6-ubuntu-2004-3002-8-py3
# - env: INSTANCE=without-ipv6-ubuntu-1804-3002-8-py3
# - env: INSTANCE=without-ipv6-centos-7-3002-8-py3
# - env: INSTANCE=without-ipv6-amazonlinux-2-3002-8-py3
# - env: INSTANCE=default-oraclelinux-8-3002-8-py3
# - env: INSTANCE=without-ipv6-oraclelinux-7-3002-8-py3

## Define the release stage that runs `semantic-release`
- stage: 'release'

+ 0
- 38
kitchen.yml 查看文件

@@ -103,9 +103,6 @@ platforms:
- name: fedora-35-master-py3
driver:
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
driver:
image: saltimages/salt-master-py3:opensuse-leap-15.3
@@ -183,9 +180,6 @@ platforms:
- name: fedora-35-3004-1-py3
driver:
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
driver:
image: saltimages/salt-3004.1-py3:amazonlinux-2
@@ -264,36 +258,6 @@ platforms:
driver:
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
run_command: /lib/systemd/systemd
- name: debian-9-3002-8-py3
driver:
image: saltimages/salt-3002.8-py3:debian-9
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:
# https://www.inspec.io/
name: inspec
@@ -327,8 +291,6 @@ suites:
- centos-stream8-3003-4-py3
- oraclelinux-8-3003-4-py3
- almalinux-8-3003-4-py3
- debian-10-3002-8-py3
- oraclelinux-8-3002-8-py3
provisioner:
state_top:
base:

正在加载...
取消
保存