Skip to content

Commit 23853fc

Browse files
authored
Initial commit
0 parents  commit 23853fc

25 files changed

+778
-0
lines changed

.envrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#
2+
# https://direnv.net/
3+
#
4+
5+
pre-commit install
6+
7+
source_env_if_exists .envrc.private

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @opsd-io/terraformers
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Bug report
2+
description: File a bug/issue
3+
title: "[BUG]: "
4+
labels: ["bug"]
5+
body:
6+
- type: checkboxes
7+
attributes:
8+
label: Is there an existing issue for this?
9+
description: Are there other open or closed issues or Pull Requests that match your issue?
10+
options:
11+
- label: I have searched the existing issues
12+
required: true
13+
- type: textarea
14+
attributes:
15+
label: Current Behavior
16+
description: In a few words, describe the problem you are struggling with.
17+
validations:
18+
required: false
19+
- type: textarea
20+
attributes:
21+
label: Expected Behavior
22+
description: A concise description of what you expected to happen.
23+
validations:
24+
required: false
25+
- type: textarea
26+
attributes:
27+
label: Steps To Reproduce
28+
description: Steps to reproduce the behavior.
29+
placeholder: |
30+
1. In this environment...
31+
2. With this config...
32+
3. Run '...'
33+
4. See error...
34+
validations:
35+
required: false
36+
- type: textarea
37+
attributes:
38+
label: Environment
39+
description: |
40+
examples:
41+
- **Terraform version**: 1.3.0
42+
- **Terraform provider version**: 4.0
43+
value: |
44+
- Terraform version: 0.0.0
45+
- Terraform provider version: 0.0
46+
render: markdown
47+
validations:
48+
required: true
49+
- type: textarea
50+
attributes:
51+
label: Anything else?
52+
description: |
53+
Links? References? Anything that will give us more context about the issue you are encountering!
54+
55+
**Tip**: You can attach images or log files by clicking this area to highlight it and then dragging files in.
56+
**Tip**: You can use GitHub Gist to share debug output.
57+
validations:
58+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Join to the OPSd community on Slack
4+
url: https://join.slack.com/t/opsd-community/signup
5+
about: If you want to contact us personally join our Slack.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Feature request
2+
description: Suggest new functionality
3+
title: "[FEATURE]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: checkboxes
7+
attributes:
8+
label: Is there an existing issue for this?
9+
description: Are there other open or closed issues or Pull Requests that match your suggestion?
10+
options:
11+
- label: I have searched the existing issues
12+
required: true
13+
- type: textarea
14+
attributes:
15+
label: Is your feature request related to a problem? Please describe
16+
description: A clear and concise description of what the problem is.
17+
validations:
18+
required: true
19+
- type: textarea
20+
attributes:
21+
label: Describe the solution you'd like
22+
description: A clear and concise description of what you want to happen.
23+
validations:
24+
required: true
25+
- type: textarea
26+
attributes:
27+
label: Describe alternatives you've considered
28+
description: A clear and concise description of any alternative solutions or features you've considered.
29+
validations:
30+
required: true
31+
- type: textarea
32+
attributes:
33+
label: Anything else?
34+
description: |
35+
Links? References? Mockups? Anything that will give us more context about the feature you are encountering!
36+
37+
**Tip**: You can attach images or log files by clicking this area to highlight it and then dragging files in.
38+
**Tip**: You can use GitHub Gist to share your concepts/ideas.
39+
validations:
40+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## What changes does your PR bring?
2+
3+
In a few words, describe what changes your commits make to the code.
4+
5+
## Type of change
6+
7+
- [ ] Bug fix (non-breaking change which fixes an issue)
8+
- [ ] Chore (non-breaking change to the build process or auxiliary tools)
9+
- [ ] New feature (non-breaking change which adds functionality)
10+
- [ ] Documentation (Improvements or additions to documentation)
11+
- [ ] Breaking change (fix or feature that would cause existing functionality not to work as expected)
12+
13+
## References
14+
15+
Fixes:
16+
17+
# Checklist:
18+
19+
- [ ] My code follows the style guidelines of this project
20+
- [ ] I have performed a self-review of my own code
21+
- [ ] I have commented on my code, particularly in hard-to-understand areas
22+
- [ ] I have made corresponding changes to the documentation
23+
- [ ] My changes generate no new warnings
24+
- [ ] I have added tests that prove my fix is effective or that my feature works
25+
- [ ] New and existing unit tests pass locally with my changes
26+
- [ ] Any dependent changes have been merged and published in downstream modules

.github/img/OPSD_logo.svg

Lines changed: 16 additions & 0 deletions
Loading

.github/release-drafter.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
template: |
4+
## Changes
5+
6+
$CHANGES
7+
8+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
9+
10+
categories:
11+
- title: 'Features'
12+
labels:
13+
- 'enhancement'
14+
- title: 'Bug Fixes'
15+
labels:
16+
- 'bug'
17+
- title: 'Documentation'
18+
labels:
19+
- 'documentation'
20+
- title: 'Maintenance'
21+
label: 'chore'
22+
collapse-after: 5
23+
24+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
25+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
26+
27+
version-resolver:
28+
major:
29+
labels:
30+
- 'breaking'
31+
minor:
32+
labels:
33+
- 'enhancement'
34+
patch:
35+
labels:
36+
- 'bug'
37+
- 'documentation'
38+
- 'chore'
39+
40+
exclude-labels:
41+
- 'skip-changelog'
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
update_release_draft:
14+
permissions:
15+
# write permission is required to create a github release
16+
contents: write
17+
# write permission is required for autolabeler
18+
pull-requests: write
19+
runs-on: ubuntu-latest
20+
steps:
21+
# Drafts your next Release notes as Pull Requests are merged into "main"
22+
- uses: release-drafter/release-drafter@v5
23+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
24+
with:
25+
config-name: release-drafter.yml
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Static code analysis
2+
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- "**.svg"
7+
# push:
8+
# # paths-ignore:
9+
# # - "**.md"
10+
11+
jobs:
12+
tools:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout the code
16+
uses: actions/checkout@v3
17+
- name: Install all the tools from .tool-versions file
18+
uses: asdf-vm/actions/install@v2
19+
- name: Install python for pre-commit purposes
20+
uses: actions/setup-python@v4
21+
- name: Exectute all the pre-commit tasks from .pre-commit-config.yaml file
22+
uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)