Commit 00d39f62 authored by nimrod's avatar nimrod
Browse files

Refactor.

Merge the ci-templates and ci-images repositories.
parent b3314f3d
Loading
Loading
Loading
Loading
+55 −10
Original line number Diff line number Diff line
---
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.4.0
  - repo: https://github.com/pre-commit/pre-commit-hooks.git
    rev: v4.0.1
    hooks:
      - id: check-added-large-files
      - id: check-executables-have-shebangs
      - id: check-json
      - id: check-merge-conflict
      - id: check-shebang-scripts-are-executable
      - id: check-symlinks
      - id: check-toml
      - id: check-xml
      - id: check-yaml
      - id: detect-private-key
      - id: end-of-file-fixer
      - id: trailing-whitespace
        exclude: \.diff$

  - repo: https://github.com/adrienverge/yamllint
    rev: v1.25.0
  - repo: https://github.com/codespell-project/codespell.git
    rev: v2.1.0
    hooks:
      - id: yamllint
      - id: codespell

  - repo: https://github.com/Yelp/detect-secrets.git
    rev: v1.1.0
    hooks:
      - id: detect-secrets

  - repo: https://gitlab.com/devopshq/gitlab-ci-linter.git
    rev: v1.0.4
    hooks:
      - id: gitlab-ci-linter
        args:
          - "--server"
          - https://git.shore.co.il

  - repo: https://github.com/amperser/proselint/
  - repo: https://github.com/amperser/proselint.git
    rev: 0.10.2
    hooks:
      - id: proselint
        types: [plain-text]
        exclude: LICENSE

  - repo: https://github.com/Yelp/detect-secrets
    rev: v0.14.3
  - repo: https://github.com/adrienverge/yamllint.git
    rev: v1.26.3
    hooks:
      - id: detect-secrets
      - id: yamllint

  - repo: https://github.com/executablebooks/mdformat.git
    rev: 0.7.9
    rev: 0.7.10
    hooks:
      - id: mdformat

  - repo: https://github.com/pre-commit/pre-commit.git
    rev: v2.15.0
    hooks:
      - id: validate_manifest

  - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git
    rev: v0.2.0
    hooks:
      - id: shell-validate
      - id: docker-compose

  - repo: https://github.com/shellcheck-py/shellcheck-py.git
    rev: v0.7.2.1
    hooks:
      - id: shellcheck

  - repo: https://github.com/AleksaC/hadolint-py.git
    rev: v2.1.0
    hooks:
      - id: hadolint

  - repo: https://gitlab.com/devopshq/gitlab-ci-linter
    rev: v1.0.3
    hooks:
+3 −3
Original line number Diff line number Diff line
# CI templates
# CI Stuff

[![pipeline status](https://git.shore.co.il/shore/ci-templates/badges/master/pipeline.svg)](https://git.shore.co.il/shore/ci-templates/-/commits/master)
[![pipeline status](https://git.shore.co.il/shore/ci-stuff/badges/master/pipeline.svg)](https://git.shore.co.il/shore/ci-stuff/-/commits/master)

GitLab CI templates.
GitLab CI templates and images.

## License

images/README.md

0 → 100644
+3 −0
Original line number Diff line number Diff line
# CI container images

Containerfiles for building container images for CI.

templates/README.md

0 → 100644
+3 −0
Original line number Diff line number Diff line
# GitLab CI templates

See https://docs.gitlab.com/ee/development/cicd/templates.html .
+1 −0
Original line number Diff line number Diff line
---
pre-commit:
  stage: .pre
  needs: []
  image: registry.shore.co.il/ci-images:pre-commit
  tags: [ns4.shore.co.il]
  rules: