Patrick de Ruiter d417281ee0
feat: Repurpose module from Ansible EDA to Renovate bot deployment
Complete rewrite of the module to deploy a Renovate bot for automated
dependency management with Gitea integration.

Breaking Changes:
- Module purpose changed from Ansible EDA to Renovate bot
- All variables restructured for Renovate configuration
- State file path updated to home/docker/renovate/renovate.tfstate
- Volumes changed from EDA rulebooks/logs to config/cache
- Container image now uses renovate/renovate:latest

Added:
- Gitea platform integration with token authentication
- Renovate configuration template (config.js.tpl)
- Repository configuration examples
- Gitea Actions workflow examples
- SonarQube integration examples
- Comprehensive documentation (README, QUICKSTART, MIGRATION_GUIDE)
- CHANGELOG.md for version tracking
- Security best practices

Removed:
- All Ansible EDA-specific configuration
- Traefik labels (not needed for Renovate)
- Old EDA documentation files
- example-rulebook.yml

Updated:
- Complete README with Gitea setup instructions
- terraform.tfvars with Renovate configuration
- All resource names from ansible_eda to renovate
- Backend state path

This is version 2.0.0 - not backward compatible with previous EDA version.
See MIGRATION_GUIDE.md for detailed migration instructions.
2025-11-17 00:32:51 +01:00

82 lines
2.9 KiB
Markdown

# Changelog
All notable changes to this Terraform module will be documented in this file.
## [2.0.0] - 2024-11-17
### Changed - Major Refactoring
This module has been completely repurposed from Ansible EDA to Renovate bot deployment.
#### Breaking Changes
- **Module Purpose**: Changed from Ansible Event-Driven Automation to Renovate bot deployment
- **Container Image**: Now uses `renovate/renovate:latest` instead of `quay.io/ansible/ansible-rulebook:latest`
- **Volumes**: Replaced `ansible-eda-rulebooks` and `ansible-eda-logs` with `renovate-config` and `renovate-cache`
- **Variables**: Complete restructure of variables to support Renovate configuration
- **Configuration**: Now uses `config.js` template instead of YAML rulebooks
- **State Path**: Updated from `home/docker/ansible-eda/ansible-eda.tfstate` to `home/docker/renovate/renovate.tfstate`
#### Added
- Renovate bot container deployment with Gitea integration
- `config.js.tpl` template for automated configuration
- `example-renovate.json` for repository-level configuration
- `example-gitea-workflow.yaml` for CI/CD integration
- New variables:
- `renovate_platform` - Git platform (gitea, github, gitlab)
- `renovate_endpoint` - API endpoint URL
- `renovate_token` - Bot authentication token
- `renovate_git_author` - Git commit author
- `renovate_username` - Bot username
- `renovate_autodiscover` - Auto-discover repositories
- `renovate_onboarding_config` - Onboarding configuration
- `github_com_token` - Optional GitHub.com token
- `upload_config_file` - Control config.js upload
- `restart_policy` - Container restart policy
- Comprehensive README with Gitea setup instructions
- SonarQube integration examples
- Pipeline configuration examples
- Security best practices documentation
#### Removed
- All Ansible EDA-specific configuration
- `rulebook_command` variable
- `webhook_port` variable
- `upload_example_rulebook` variable
- `example-rulebook.yml` file
- Traefik labels (Renovate doesn't need web access)
- Old documentation files:
- `MIGRATION_SUMMARY.md`
- `DECISION_POINTS.md`
- `IMPLEMENTATION_PLAN.md`
#### Updated
- README.md with complete Renovate documentation
- terraform.tfvars with Renovate-specific configuration
- All resource names from `ansible_eda` to `renovate`
- Output variables to reflect new purpose
- Security considerations for Renovate bot
### Migration Notes
If you were using the previous Ansible EDA version:
1. This is a complete rewrite - not backward compatible
2. State file path has changed - plan accordingly
3. All volumes will be recreated
4. Variable names have completely changed
5. Consider creating a new module instance rather than migrating
## [1.0.0] - 2024-11-16
### Initial Release (Ansible EDA)
- Initial Terraform module for Ansible Event-Driven Automation
- Docker container deployment with Traefik integration
- Vault authentication for DNS credentials
- MinIO backend for state storage
- Resource limits and persistent volumes