Browse Source

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 years ago
parent
commit
75e41e4870
No account linked to committer's email address
4 changed files with 13 additions and 27 deletions
  1. +0
    -4
      .gitlab-ci.yml
  2. +13
    -1
      .pre-commit-config.yaml
  3. +0
    -4
      .travis.yml
  4. +0
    -18
      kitchen.yml

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

# default-debian-9-3003-4-py3: {extends: '.test_instance'} # default-debian-9-3003-4-py3: {extends: '.test_instance'}
# default-ubuntu-2004-3003-4-py3: {extends: '.test_instance'} # default-ubuntu-2004-3003-4-py3: {extends: '.test_instance'}
# default-ubuntu-1804-3003-4-py3: {extends: '.test_instance'} # default-ubuntu-1804-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'}
# 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
- 4
.travis.yml View File

# - env: INSTANCE=default-debian-9-3003-4-py3 # - env: INSTANCE=default-debian-9-3003-4-py3
# - env: INSTANCE=default-ubuntu-2004-3003-4-py3 # - env: INSTANCE=default-ubuntu-2004-3003-4-py3
# - env: INSTANCE=default-ubuntu-1804-3003-4-py3 # - env: INSTANCE=default-ubuntu-1804-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


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

+ 0
- 18
kitchen.yml View File

image: saltimages/salt-3003.4-py3:ubuntu-18.04 image: saltimages/salt-3003.4-py3:ubuntu-18.04
run_command: /lib/systemd/systemd run_command: /lib/systemd/systemd


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

verifier: verifier:
# https://www.inspec.io/ # https://www.inspec.io/
name: inspec name: inspec

Loading…
Cancel
Save