forked from techno-tim/k3s-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(dependencies): updated kube-vip to 0.5.6 * fix(pre-commit): pin to hash * fix(pre-commit): added more hooks and fixed lint * fix(pre-commit): added pre-commit hook so we don't have to run it manually * fix(pre-commit): Added docs to readme * fix(pre-commit): added texthooks * fix(pre-commit): pin to hash * fix(pre-commit): added mor hooks and fixed lint * fix(lint): Fixing quotes * fix(ci): only run test if linting passes * fix(ci): convert to reusable workflows * fix(pr template): Reorder steps
- Loading branch information
1 parent
88d679e
commit 17a74b6
Showing
13 changed files
with
58 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: "CI" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '**/README.md' | ||
jobs: | ||
lint: | ||
uses: ./.github/workflows/lint.yml | ||
test: | ||
uses: ./.github/workflows/test.yml | ||
needs: [lint] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.env/ | ||
*.log | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,35 @@ | ||
--- | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
rev: 3298ddab3c13dd77d6ce1fc0baf97691430d84b0 # v4.3.0 | ||
hooks: | ||
- id: requirements-txt-fixer | ||
- id: sort-simple-yaml | ||
- id: detect-private-key | ||
- id: check-merge-conflict | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
- id: trailing-whitespace | ||
args: [--markdown-linebreak-ext=md] | ||
- repo: https://github.com/adrienverge/yamllint.git | ||
rev: v1.28.0 | ||
rev: 9cce2940414e9560ae4c8518ddaee2ac1863a4d2 # v1.28.0 | ||
hooks: | ||
- id: yamllint | ||
args: [-c=.yamllint] | ||
- repo: https://github.com/ansible-community/ansible-lint.git | ||
rev: v6.8.2 | ||
rev: a058554b9bcf88f12ad09ab9fb93b267a214368f # v6.8.6 | ||
hooks: | ||
- id: ansible-lint | ||
- repo: https://github.com/shellcheck-py/shellcheck-py | ||
rev: v0.8.0.4 | ||
rev: 4c7c3dd7161ef39e984cb295e93a968236dc8e8a # v0.8.0.4 | ||
hooks: | ||
- id: shellcheck | ||
- repo: https://github.com/Lucas-C/pre-commit-hooks | ||
rev: 04618e68aa2380828a36a23ff5f65a06ae8f59b9 # v1.3.1 | ||
hooks: | ||
- id: remove-crlf | ||
- id: remove-tabs | ||
- repo: https://github.com/sirosen/texthooks | ||
rev: 30d9af95631de0d7cff4e282bde9160d38bb0359 # 0.4.0 | ||
hooks: | ||
- id: fix-smartquotes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
ansible-playbook site.yml -i inventory/my-cluster/hosts.ini | ||
ansible-playbook site.yml -i inventory/my-cluster/hosts.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters