Skip to content

Commit

Permalink
feat(CICD-TOOLS): new installer as pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Sep 14, 2024
1 parent 9cc151a commit 708f1e3
Show file tree
Hide file tree
Showing 26 changed files with 710 additions and 401 deletions.
113 changes: 0 additions & 113 deletions .cicd-tools/bin/manifest.sh

This file was deleted.

167 changes: 0 additions & 167 deletions .cicd-tools/bin/toolbox.sh

This file was deleted.

65 changes: 0 additions & 65 deletions .cicd-tools/bin/verify.sh

This file was deleted.

11 changes: 11 additions & 0 deletions .cicd-tools/configuration/pre-commit-bootstrap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
default_install_hook_types: []
repos:
- repo: https://github.com/cicd-tools-org/pre-commit.git
rev: 96dc1aa7c9824c12cc613023f8a18cace00b1c5d
hooks:
- id: cicd-tools-box
entry: ./src/pre-commit/cicd-tools-box.sh -c system -j system -g system
- id: cicd-tools-key
entry: ./src/pre-commit/cicd-tools-key.sh -g system
- id: commitizen-pre-bump
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
poetry.lock
.cicd-tools/boxes/*
!.cicd-tools/boxes/bootstrap
.cicd-tools/manifest.json
.vale
!.vale/Vocab
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,17 @@ repos:
- repo: https://github.com/cicd-tools-org/pre-commit.git
rev: 61f080f7bf1314d6b13df2c3ae4a48e5c6abee32
hooks:
- id: commitizen-pre-bump
- id: cicd-tools-box
- id: cicd-tools-key
- id: format-shell
exclude: "^\\.cicd-tools/boxes/disabled$"
- id: format-toml
- id: git-conflict-markers
- id: lint-github-workflow
- id: lint-github-workflow-header
- id: lint-markdown
- id: lint-shell
exclude: "^\\.cicd-tools/boxes/disabled$"
- id: security-credentials
- id: spelling-commit-message
- id: spelling-markdown
Expand Down
Loading

0 comments on commit 708f1e3

Please sign in to comment.