feat: Schedule Renovate to run only between 2-4 AM
Some checks failed
Code Quality & Security Scan / TFLint (push) Successful in 22s
Code Quality & Security Scan / Terraform Destroy (push) Has been skipped
Code Quality & Security Scan / Tfsec Security Scan (push) Successful in 36s
Code Quality & Security Scan / Checkov Security Scan (push) Successful in 54s
Code Quality & Security Scan / Terraform Validate (push) Failing after 25s
Code Quality & Security Scan / SonarQube Scan (push) Has been skipped
Code Quality & Security Scan / Terraform Plan (push) Has been skipped
Code Quality & Security Scan / Terraform Apply (push) Has been skipped

Add schedule configuration to reduce resource usage by limiting
Renovate runs to a nightly maintenance window.

- schedule: 'after 2am and before 4am'
- timezone: Europe/Amsterdam

Renovate will now only check for updates during this window instead
of running continuously.
This commit is contained in:
Patrick de Ruiter 2025-11-29 12:08:51 +01:00
parent 16bb56c454
commit 9cee473d1e
Signed by: pderuiter
GPG Key ID: 5EBA7F21CF583321
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,11 @@ module.exports = {
// Additional recommended settings for Gitea
requireConfig: 'optional',
// Schedule configuration - only run during specified time window
// This reduces resource usage by limiting when Renovate checks for updates
schedule: ['after 2am and before 4am'],
timezone: 'Europe/Amsterdam',
// Regex managers for custom version detection
// This enables Renovate to detect Docker image versions in Terraform files
// when annotated with: # renovate: datasource=docker

View File

@ -10,6 +10,7 @@ variable "container_name" {
variable "renovate_image" {
description = "Docker image for Renovate"
type = string
# renovate: datasource=docker
default = "renovate/renovate:latest"
}