-
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.
- Loading branch information
1 parent
dafadba
commit bdf323c
Showing
15 changed files
with
397 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 |
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,29 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report to help us improve. | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior including the relevant Terraform version number and any code snippets and module inputs you used. | ||
|
||
```hcl | ||
// paste code snippets here | ||
``` | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Nice to have** | ||
- [ ] Terminal output | ||
- [ ] Screenshots | ||
- [ ] OS and Terraform versions | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,25 @@ | ||
--- | ||
name: Feature request | ||
about: Submit a feature request for this repo. | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Describe the solution you'd like | ||
|
||
<!-- A clear and concise description of what you want to happen and the expected benefits. --> | ||
|
||
## Describe alternatives you've considered | ||
|
||
<!-- A clear and concise description of any alternative solutions or features you've considered. --> | ||
|
||
## Additional context | ||
|
||
<!-- Add any other context or screenshots about the feature request here. --> | ||
|
||
## Checklist | ||
- [ ] I have checked if a similar feature request already exists. | ||
- [ ] I believe this feature would be beneficial to a wider audience and aligns with the project's goals. | ||
- [ ] I have considered potential downsides or challenges of implementing this feature. |
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,22 @@ | ||
## Description | ||
|
||
<!-- Please, provide a brief description of the changes you've made in this pull request. --> | ||
|
||
## Related Issues | ||
|
||
<!-- Links to related issues, fixed issues or partially addressed by this PR. --> | ||
|
||
## Changes | ||
|
||
<!-- List the main changes or features introduced by this PR --> | ||
|
||
## Screenshots (if applicable) | ||
|
||
<!-- Add any relevant screenshots or GIFs to showcase the changes visually --> | ||
|
||
## Checklist | ||
|
||
- [ ] I have tested these changes thoroughly. | ||
- [ ] My code follows the project's coding style. | ||
- [ ] I have added appropriate comments to my code, especially in complex areas. | ||
- [ ] All new and existing tests passed locally. |
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,58 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze the Terraform scripts | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 5 | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
steps: | ||
- id: clone_repository | ||
name: Clone repository | ||
# actions/checkout@v4.1.1 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
|
||
- id: setup_terraform | ||
name: Setup Terraform CLI | ||
# hashicorp/setup-terraform@v3.0.0 | ||
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 | ||
|
||
- id: run_terraform_init | ||
name: Run Terraform init | ||
run: terraform init | ||
|
||
- id: run_terraform_fmt | ||
name: Run Terraform format check | ||
run: terraform fmt -check -recursive | ||
|
||
- id: run_terraform_validate | ||
name: Run Terraform validate check | ||
run: terraform validate | ||
|
||
- id: run_trivy_config | ||
name: Run Trivy vulnerability scanner | ||
# aquasecurity/trivy-action@v0.16.0 | ||
uses: aquasecurity/trivy-action@91713af97dc80187565512baba96e4364e983601 | ||
with: | ||
scan-type: config | ||
trivy-config: trivy.yaml | ||
hide-progress: false | ||
format: sarif | ||
output: trivy.sarif | ||
|
||
- id: run_sarif_upload | ||
name: Upload Trivy SARIF results | ||
# github/codeql-action/upload-sarif@v2.22.9 | ||
uses: github/codeql-action/upload-sarif@382a50a0284c0de445104889a9d6003acb4b3c1d | ||
timeout-minutes: 1 | ||
with: | ||
sarif_file: trivy.sarif |
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,29 @@ | ||
name: "Continuous Integration: Terraform Docs" | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
docs: | ||
name: Generate Terraform documentation | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 1 | ||
steps: | ||
- id: clone_repository | ||
name: Clone repository | ||
# actions/checkout@v4.1.1 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- id: run_terraform_docs | ||
name: Render terraform docs and push changes back to PR | ||
# terraform-docs/gh-actions@1.0.0 | ||
uses: terraform-docs/gh-actions@f6d59f89a280fa0a3febf55ef68f146784b20ba0 | ||
with: | ||
working-dir: . | ||
output-file: README.md | ||
config-file: terraform-docs.yml | ||
output-method: inject | ||
git-push: "true" | ||
git-commit-message: "terraform-docs: updated markdown table" |
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,3 @@ | ||
AVD-GCP-0027 | ||
AVD-GCP-0031 | ||
|
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,3 @@ | ||
## 0.1.0 | ||
|
||
* Initial version for GraphDB GCP module |
Validating CODEOWNERS rules …
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 @@ | ||
@Ontotext-AD/tes |
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,48 @@ | ||
# Contributing to GraphDB GCP Terraform Module | ||
|
||
Here are a few guidelines to help you get started. | ||
|
||
## Getting Started | ||
|
||
1. Fork this repository. | ||
2. Clone your forked repository to your local machine. | ||
3. Create a new branch for your changes: `git checkout -b feature/my-new-feature`. | ||
4. Make your changes and test them thoroughly. | ||
5. Commit your changes: `git commit -m "Add some feature"`. | ||
6. Push your changes to your fork: `git push origin feature/my-new-feature`. | ||
7. Create a pull request from your branch to the main repository's `main` branch. | ||
|
||
## Code Style | ||
|
||
Make sure your code follows our and Terraform coding styles. | ||
|
||
## Tests | ||
|
||
If applicable, add or update tests to ensure your changes work as intended. | ||
|
||
## Documentation | ||
|
||
If your changes introduce new features, update the documentation to reflect those changes. | ||
|
||
## Commit Message Guidelines | ||
|
||
Please use meaningful commit messages. Follow the format: | ||
|
||
``` | ||
[Type] Short description | ||
Longer description of the changes, especially whys. | ||
``` | ||
|
||
Types: `[Feature]`, `[Fix]`, `[Docs]`, `[Refactor]`, `[Chore]`, `[Style]` | ||
|
||
## Pull Request Checklist | ||
|
||
- [ ] I have tested these changes thoroughly. | ||
- [ ] My code follows the project's coding style. | ||
- [ ] I have added appropriate comments to my code, especially in complex areas. | ||
- [ ] All new and existing tests passed locally. | ||
|
||
## Feedback | ||
|
||
Feedback and suggestions are welcome! Feel free to open an issue if you have any questions or ideas. |
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
Oops, something went wrong.