Skip to content

Extend the shared Renovate preset; stop Renovate bumping Sourcegraph images - #1442

Open
marcleblanc2 wants to merge 1 commit into
mainfrom
renovate-config
Open

marcleblanc2 wants to merge 1 commit into
mainfrom
renovate-config

Conversation

@marcleblanc2

Copy link
Copy Markdown
Contributor

Renovate's Sourcegraph image PRs here only ever get closed as stale (#1185, #1186, and now #1439, #1440): the image tags in docker-compose/ are pinned by the release process (sg ops update-images in release.yaml), not Renovate. The rest of the config was from 2020 and used options Renovate has since renamed (#1437).

Changes

  • Extend the shared sourcegraph/renovate-config preset, like the other sourcegraph repos
  • Disable updates for index.docker.io/sourcegraph/* images; Renovate will auto-close Update Sourcegraph Docker images to v8 #1439 and Update Sourcegraph Prometheus / Grafana Docker images to v8 #1440
  • Re-enable direct Go module updates (the shared preset disables Go org-wide); transitive // indirect deps and the go directive stay off, as Renovate recommends
  • Batch minor/patch updates into one weekly PR (group:allNonMajor + schedule:weekly); majors still get their own PR
  • Drop the dead enterprise/dev/ci/images rule and the per-rule automerge

Supersedes #1437. Conflicts trivially with #1433 on renovate.json; whichever lands second gets a rebase.

Checklist

  • All images have a valid tag and SHA256 sum (no image changes)

Test plan

  • renovate-config-validator --strict renovate.json (Renovate 44.151.1) passes
  • yarn run prettier-check passes
  • Local renovate --dry-run=lookup (Renovate 44, github> preset) against this branch: all 24 index.docker.io/sourcegraph/* images report skipReason: disabled; 16 // indirect Go deps and the go directive report disabled; direct Go requires (golang.org/x/mod, github.com/urfave/cli/v2), @sourcegraph/prettierrc, and .tool-versions land in renovate/all-minor-patch; majors (prettier 3, Node 24, urfave/cli v3) get separate branches

…images

Sourcegraph image tags in docker-compose/ are pinned by the release
process (release.yaml), so Renovate's image-bump PRs only ever got
closed as stale. Disable them, extend sourcegraph/renovate-config like
the other repos, batch non-major updates into one weekly PR, and
re-enable direct Go module updates (the shared preset disables Go).

Amp-Thread-ID: https://ampcode.com/threads/T-01a13d0e-f8a7-7760-b810-54d32d07cf6a
Co-authored-by: Amp <amp@ampcode.com>
@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant