# 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