Browse Source

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

* Automated using https://github.com/myii/ssf-formula/pull/450
pull/206/head
Imran Iqbal 2 years ago
parent
commit
b29b10de7d
No account linked to committer's email address
6 changed files with 13 additions and 64 deletions
  1. +0
    -1
      .github/workflows/kitchen.vagrant.yml
  2. +0
    -10
      .gitlab-ci.yml
  3. +13
    -1
      .pre-commit-config.yaml
  4. +0
    -10
      .travis.yml
  5. +0
    -6
      kitchen.vagrant.yml
  6. +0
    -36
      kitchen.yml

+ 0
- 1
.github/workflows/kitchen.vagrant.yml View File

# - default-freebsd-130-3004-0-py3 # - default-freebsd-130-3004-0-py3
# - default-freebsd-123-3004-0-py3 # - default-freebsd-123-3004-0-py3
- default-openbsd-70-3003-3-py3 - default-openbsd-70-3003-3-py3
- default-openbsd-69-3002-6-py3
steps: steps:
- name: 'Check out code' - name: 'Check out code'
uses: 'actions/checkout@v2' uses: 'actions/checkout@v2'

+ 0
- 10
.gitlab-ci.yml View File

default-centos-7-master-py3: {extends: '.test_instance'} default-centos-7-master-py3: {extends: '.test_instance'}
default-fedora-36-master-py3: {extends: '.test_instance_failure_permitted'} default-fedora-36-master-py3: {extends: '.test_instance_failure_permitted'}
default-fedora-35-master-py3: {extends: '.test_instance'} default-fedora-35-master-py3: {extends: '.test_instance'}
default-fedora-34-master-py3: {extends: '.test_instance'}
default-opensuse-leap-153-master-py3: {extends: '.test_instance'} default-opensuse-leap-153-master-py3: {extends: '.test_instance'}
default-opensuse-tmbl-latest-master-py3: {extends: '.test_instance_failure_permitted'} default-opensuse-tmbl-latest-master-py3: {extends: '.test_instance_failure_permitted'}
default-amazonlinux-2-master-py3: {extends: '.test_instance'} default-amazonlinux-2-master-py3: {extends: '.test_instance'}
# default-centos-7-3004-1-py3: {extends: '.test_instance'} # default-centos-7-3004-1-py3: {extends: '.test_instance'}
# default-fedora-36-3004-1-py3: {extends: '.test_instance_failure_permitted'} # default-fedora-36-3004-1-py3: {extends: '.test_instance_failure_permitted'}
# default-fedora-35-3004-1-py3: {extends: '.test_instance'} # default-fedora-35-3004-1-py3: {extends: '.test_instance'}
# default-fedora-34-3004-1-py3: {extends: '.test_instance'}
# default-amazonlinux-2-3004-1-py3: {extends: '.test_instance'} # default-amazonlinux-2-3004-1-py3: {extends: '.test_instance'}
# default-oraclelinux-8-3004-1-py3: {extends: '.test_instance'} # default-oraclelinux-8-3004-1-py3: {extends: '.test_instance'}
# default-oraclelinux-7-3004-1-py3: {extends: '.test_instance'} # default-oraclelinux-7-3004-1-py3: {extends: '.test_instance'}
# default-oraclelinux-8-3003-4-py3: {extends: '.test_instance'} # default-oraclelinux-8-3003-4-py3: {extends: '.test_instance'}
# default-oraclelinux-7-3003-4-py3: {extends: '.test_instance'} # default-oraclelinux-7-3003-4-py3: {extends: '.test_instance'}
# default-almalinux-8-3003-4-py3: {extends: '.test_instance'} # default-almalinux-8-3003-4-py3: {extends: '.test_instance'}
# default-debian-10-3002-8-py3: {extends: '.test_instance'}
# default-debian-9-3002-8-py3: {extends: '.test_instance'}
# default-ubuntu-2004-3002-8-py3: {extends: '.test_instance'}
# default-ubuntu-1804-3002-8-py3: {extends: '.test_instance'}
# default-centos-7-3002-8-py3: {extends: '.test_instance'}
# default-amazonlinux-2-3002-8-py3: {extends: '.test_instance'}
# default-oraclelinux-8-3002-8-py3: {extends: '.test_instance'}
# default-oraclelinux-7-3002-8-py3: {extends: '.test_instance'}
# yamllint enable rule:line-length # yamllint enable rule:line-length


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

+ 13
- 1
.pre-commit-config.yaml View File

--- ---
# 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
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

+ 0
- 10
.travis.yml View File

- env: INSTANCE=default-centos-7-master-py3 - env: INSTANCE=default-centos-7-master-py3
- env: INSTANCE=default-fedora-36-master-py3 - env: INSTANCE=default-fedora-36-master-py3
- env: INSTANCE=default-fedora-35-master-py3 - env: INSTANCE=default-fedora-35-master-py3
- env: INSTANCE=default-fedora-34-master-py3
- env: INSTANCE=default-opensuse-leap-153-master-py3 - env: INSTANCE=default-opensuse-leap-153-master-py3
- env: INSTANCE=default-opensuse-tmbl-latest-master-py3 - env: INSTANCE=default-opensuse-tmbl-latest-master-py3
- env: INSTANCE=default-amazonlinux-2-master-py3 - env: INSTANCE=default-amazonlinux-2-master-py3
# - env: INSTANCE=default-centos-7-3004-1-py3 # - env: INSTANCE=default-centos-7-3004-1-py3
# - env: INSTANCE=default-fedora-36-3004-1-py3 # - env: INSTANCE=default-fedora-36-3004-1-py3
# - env: INSTANCE=default-fedora-35-3004-1-py3 # - env: INSTANCE=default-fedora-35-3004-1-py3
# - env: INSTANCE=default-fedora-34-3004-1-py3
# - env: INSTANCE=default-amazonlinux-2-3004-1-py3 # - env: INSTANCE=default-amazonlinux-2-3004-1-py3
# - env: INSTANCE=default-oraclelinux-8-3004-1-py3 # - env: INSTANCE=default-oraclelinux-8-3004-1-py3
# - env: INSTANCE=default-oraclelinux-7-3004-1-py3 # - env: INSTANCE=default-oraclelinux-7-3004-1-py3
# - env: INSTANCE=default-oraclelinux-8-3003-4-py3 # - env: INSTANCE=default-oraclelinux-8-3003-4-py3
# - env: INSTANCE=default-oraclelinux-7-3003-4-py3 # - env: INSTANCE=default-oraclelinux-7-3003-4-py3
# - env: INSTANCE=default-almalinux-8-3003-4-py3 # - env: INSTANCE=default-almalinux-8-3003-4-py3
# - env: INSTANCE=default-debian-10-3002-8-py3
# - env: INSTANCE=default-debian-9-3002-8-py3
# - env: INSTANCE=default-ubuntu-2004-3002-8-py3
# - env: INSTANCE=default-ubuntu-1804-3002-8-py3
# - env: INSTANCE=default-centos-7-3002-8-py3
# - env: INSTANCE=default-amazonlinux-2-3002-8-py3
# - env: INSTANCE=default-oraclelinux-8-3002-8-py3
# - env: INSTANCE=default-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'

+ 0
- 6
kitchen.vagrant.yml View File

ssh: ssh:
shell: /bin/ksh shell: /bin/ksh
synced_folders: [] synced_folders: []
- name: openbsd-69-3002-6-py3
driver:
box: myii/openbsd-6.9-3002.6-py3
ssh:
shell: /bin/ksh
synced_folders: []

+ 0
- 36
kitchen.yml View File

- 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
- 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
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
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: verifier:
# https://www.inspec.io/ # https://www.inspec.io/
name: inspec name: inspec

Loading…
Cancel
Save