Hello!

I want to spend less time on maintenance, so I use Renovate, a well-known solution, to update my dependencies automatically. Renovate is powerful, but sometimes difficult to configure and debug.

Run Renovate locally

I assume you have a working renovate.json config file. In your repo root run:

podman run -v $PWD:/repo1 -e RENOVATE_GITHUB_COM_TOKEN=TOTO -e RENOVATE_ENDPOINT=https://example.com -e RENOVATE_USERNAME=tata -e RENOVATE_PASSWORD=TOTO -e RENOVATE_CONFIG_FILE=/repo1/renovate.json -e LOG_LEVEL=debug --entrypoint=/usr/bin/bash -it renovate/renovate

You can now go to /repo1 and run:

renovate --platform=local  --include-paths='["toto/deployment.yaml"]' --dry-run=full --require-config=ignored

This runs renovate in "dry-run" mode, which doesn't create Merge Requests (MRs). You can check its output for files that would be updated.

Tips

Renovate has a cache in /tmp/renovate which you may have to clear if you change things like a Docker tag or something.

That's it for today!