Skip to content
Snippets Groups Projects
Commit c9f4359a authored by wallun's avatar wallun
Browse files

Merge branch '1-configure-gitlab-ci' into 'main'

Resolve "Configure gitlab-ci"

Closes #1

See merge request wallun/validate_role_parameters!1
parents 991edba2 39ba872f
No related branches found
No related tags found
1 merge request!1Resolve "Configure gitlab-ci"
Pipeline #83250 passed
---
variables:
container_registry: docker.io
image_name: archlinux
image_version: latest
stages:
- test
- doc
pre-commit:
stage: test
image: ${container_registry}/${image_name}:${image_version}
before_script:
- pacman -Syu --noconfirm
- pacman -S git --noconfirm
- pacman -S pre-commit --noconfirm
script:
- pre-commit install -t pre-commit
- pre-commit run --all --verbose
......@@ -3,26 +3,20 @@ default_stages: [ commit, manual ]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: no-commit-to-branch
args: [ --branch, main ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.14.0a0
rev: v6.22.0
hooks:
- name: Run ansible-lint
id: ansible-lint
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.0dev
hooks:
- name: Run gitlint
id: gitlint
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment