Contributing¶
Adding a New Example¶
- Create a directory following the
{technology}/{target-platform}/{project-name}convention - Include a README following the standardized template for your technology
- Use placeholder credentials (
your-api-key-here,192.168.1.1) -- never real secrets - Add a
.env.exampleorterraform.tfvars.examplefor configuration - Ensure your project is self-contained with its own dependencies
Code Style¶
| Technology | Formatter | Linter |
|---|---|---|
| Python | Black (100 char line) | ruff, flake8 |
| Terraform | terraform fmt |
terraform validate |
| Go | gofmt |
go vet |
| YAML | 2-space indent | yamllint |
README Standards¶
Each technology has a standardized README template ensuring consistent documentation:
- Quickstart with exact commands from zero to running
- Configuration with variable tables and security notes
- Usage with expected output blocks
- Troubleshooting with common issues table
Security¶
- Never commit real API keys, passwords, or internal hostnames
- All
.env,terraform.tfvars, and.secrets.yamlfiles are git-ignored - Use Ansible Vault for sensitive variable files
- Use
withCredentialsin Jenkins pipelines