tools/update-embedded-checksums/README.md
This tool automatically updates the SHA256 checksums in pkg/embedded/grafana/grafana.go for the embedded Grafana releases and plugins.
Run from the repository root:
go run tools/update-embedded-checksums/main.go
pkg/embedded/grafana/grafana.go to extract all release artifact URLs and their checksumsThis tool is automatically run by Renovate via postUpgradeTasks when it detects updates to:
grafana/grafana)grafana/profiles-drilldown)When Renovate updates the version numbers in the URLs, it will automatically run this tool to fetch the correct checksums for the new versions and include them in the same PR.
Updating embedded Grafana checksums...
Processing: grafana-12.0.2.linux-amd64.tar.gz
Current checksum: c1755b4da918edfd298d5c8d5f1ffce35982ad10e1640ec356570cfb8c34b3e8
Downloading...
Actual checksum: c1755b4da918edfd298d5c8d5f1ffce35982ad10e1640ec356570cfb8c34b3e8
✓ Checksum matches
✓ All checksums are already correct