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.
30 lines
714 B
Smarty
30 lines
714 B
Smarty
// Renovate configuration file
|
|
// This file is generated by Terraform and uploaded to the container
|
|
|
|
module.exports = {
|
|
// Platform configuration
|
|
platform: '${platform}',
|
|
endpoint: '${endpoint}',
|
|
|
|
// Bot identity
|
|
gitAuthor: '${git_author}',
|
|
username: '${username}',
|
|
|
|
// Repository discovery
|
|
autodiscover: ${autodiscover},
|
|
|
|
// Onboarding configuration for new repositories
|
|
onboardingConfig: ${onboarding_config},
|
|
|
|
// Recommended: Use persistent cache directory
|
|
cacheDir: '/tmp/renovate/cache',
|
|
|
|
// Logging
|
|
logContext: 'renovate-bot',
|
|
|
|
// Additional recommended settings for Gitea
|
|
requireConfig: 'optional',
|
|
|
|
// Repository-level settings can be overridden in renovate.json files
|
|
};
|