Skip to content

Commit 157c213

Browse files
Initial commit
0 parents  commit 157c213

34 files changed

+1085
-0
lines changed

.conform.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
policies:
3+
- type: commit
4+
spec:
5+
header:
6+
length: 89
7+
imperative: true
8+
case: lower
9+
invalidLastCharacters: .
10+
body:
11+
required: true
12+
dco: false
13+
gpg: true
14+
spellcheck:
15+
locale: GB
16+
conventional:
17+
types:
18+
- chore
19+
- docs
20+
- feat
21+
- refactor
22+
- style
23+
- fix
24+
- test

.dockerignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Dockerfile*
2+
Jenkinsfile*
3+
**/.terraform
4+
.git/
5+
6+
.idea/
7+
*.iml
8+
.gcloudignore

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
indent_style = space
6+
indent_size = 2
7+
insert_final_newline = true
8+
max_line_length = 120
9+
trim_trailing_whitespace = true
10+
11+
[*.py]
12+
indent_size = 4
13+
14+
[{Makefile,makefile,**.mk}]
15+
indent_style = tab
16+
17+
[*.sh]
18+
indent_style = space
19+
indent_size = 2
20+
21+
shell_variant = bash # like -ln=posix
22+
binary_next_line = true # like -bn
23+
switch_case_indent = true # like -ci
24+
space_redirects = true # like -sr
25+
keep_padding = false # like -kp
26+

.gcloudignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.gcloudignore
2+
# If you would like to upload your .git directory, .gitignore file or
3+
# files from your .gitignore file, remove the corresponding line below:
4+
.git
5+
.gitignore
6+
#!include:.dockerignore
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behaviour:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behaviour**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Additional context**
27+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is.
11+
For example: I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Question
3+
about: Post a question about the project
4+
title: ''
5+
labels: question
6+
assignees: ''
7+
---
8+
9+
**Your question**
10+
A clear and concise question.
11+
12+
**Additional context**
13+
Add any other context about your question here.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Pull Request
3+
about: A pull request
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---
8+
9+
[pull_requests]: https://github.com/controlplaneio/kubesec/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc
10+
11+
<!-- You can erase any parts of this template not applicable to your Pull Request. -->
12+
13+
**All Submissions.**
14+
15+
- [ ] Have you followed the guidelines in our [Contributing document](../../CONTRIBUTING.md)?
16+
- [ ] Have you checked to ensure there aren't other open [Pull Requests][pull_requests] for the same update/change?
17+
18+
**Code Submissions.**
19+
20+
- [ ] Does your submission pass linting, tests, and security analysis?
21+
22+
**Changes to Core Features.**
23+
24+
- [ ] Have you added an explanation of what your changes do and why you'd like us to include them?
25+
- [ ] Have you written new tests for your core changes, as applicable?
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Linting - Bash/Bats
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "**.bash"
8+
- "**.bats"
9+
- "**.sh"
10+
pull_request:
11+
branches: [main]
12+
paths:
13+
- "**.bash"
14+
- "**.bats"
15+
- "**.sh"
16+
17+
jobs:
18+
shellcheck:
19+
name: shellcheck
20+
runs-on: ubuntu-latest
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
extention: ["bash", "bats", "sh"]
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/[email protected]
28+
29+
- name: Run shellcheck
30+
uses: reviewdog/[email protected]
31+
with:
32+
pattern: "*.${{ matrix.extention }}"
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
reporter: github-pr-review
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Linting - Dockerfile
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "Dockerfile"
8+
- "Dockerfile*"
9+
pull_request:
10+
branches: [main]
11+
paths:
12+
- "Dockerfile"
13+
- "Dockerfile*"
14+
15+
jobs:
16+
hadolint:
17+
name: hadolint
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/[email protected]
22+
23+
- name: Run hadolint
24+
uses: reviewdog/[email protected]
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
reporter: github-pr-review

0 commit comments

Comments
 (0)