Skip to content
Snippets Groups Projects
Commit 5abb2281 authored by nimrod's avatar nimrod
Browse files

GitLab CI.

parent 94d4a10e
Branches
No related tags found
No related merge requests found
Pipeline #167 passed
---
image: adarnimrod/ci-images:docker
stages:
- test
pre-commit:
stage: test
image: adarnimrod/ci-images:pre-commit
variables:
XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
script:
- pre-commit run --all-files
cache:
paths:
- .cache/
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0 rev: v3.3.0
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
...@@ -10,18 +10,18 @@ repos: ...@@ -10,18 +10,18 @@ repos:
- id: check-yaml - id: check-yaml
- id: detect-private-key - id: detect-private-key
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/adarnimrod/ansible-pre-commit.git - repo: https://git.shore.co.il/ansible/ansible-pre-commit.git
rev: v0.9.0 rev: v0.8.0
hooks: hooks:
- id: ansible-syntax-check - id: ansible-syntax-check
files: bootstrap\.yaml|router\.yaml files: bootstrap\.yaml|router\.yaml
types: [yaml] types: [yaml]
- repo: https://github.com/willthames/ansible-lint - repo: https://github.com/ansible/ansible-lint
rev: v4.3.0a0 rev: v4.3.7
hooks: hooks:
- id: ansible-lint - id: ansible-lint
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
rev: v1.21.0 rev: v1.25.0
hooks: hooks:
- id: yamllint - id: yamllint
- repo: https://github.com/amperser/proselint/ - repo: https://github.com/amperser/proselint/
...@@ -29,3 +29,8 @@ repos: ...@@ -29,3 +29,8 @@ repos:
hooks: hooks:
- id: proselint - id: proselint
types: [markdown] types: [markdown]
- repo: https://github.com/Yelp/detect-secrets
rev: v0.14.3
hooks:
- id: detect-secrets
exclude: Pipfile\.lock
# Homelab #
Homelab
[![pipeline status](https://git.shore.co.il/shore/homelab/badges/master/pipeline.svg)](https://git.shore.co.il/shore/homelab/-/commits/master)
> My homelab setup using Ansible. > My homelab setup using Ansible.
...@@ -30,4 +32,4 @@ This software is licensed under the MIT license (see `LICENSE.txt`). ...@@ -30,4 +32,4 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website]( Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
https://www.shore.co.il/). Patches are welcome via [`git send-email`]( https://www.shore.co.il/). Patches are welcome via [`git send-email`](
http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
at: <https://www.shore.co.il/git/>. at: <https://git.shore.co.il/explore/>.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment