villebro opened a new pull request, #330:
URL: https://github.com/apache/superset-kubernetes-operator/pull/330

   ## Summary
   
   Make Renovate update the Go toolchain only when the matching `golang` Docker 
image tag exists, and require Go version updates to touch all three toolchain 
files together: `go.mod`, `Dockerfile`, and `.devcontainer/devcontainer.json`.
   
   ## Details
   
   The native gomod manager tracks the `go.mod` `go` directive from Go 
releases, which can appear before Docker Hub publishes the matching `golang` 
image. That is why #329 reopened as a `go.mod`-only bump after #326 merged. 
This changes the `go.mod` directive to a custom regex dependency backed by the 
Docker datasource, disables the native gomod `go` directive update, and 
requires `minimumGroupSize: 3` for Go version updates.
   
   Digest-only Go image refreshes are still grouped across the two image 
references, but the synthetic `go.mod` dependency has digest pinning disabled 
so Renovate will not try to write a Docker digest into `go.mod`.
   
   Validation:
   
   - `jq empty renovate.json`
   - `npx --yes --package [email protected] renovate-config-validator 
renovate.json`
   - Focused Renovate dry run with 
`RENOVATE_ENABLED_MANAGERS=custom.regex,dockerfile,devcontainer` reported `3 
flattened updates found: golang, golang, golang` and `Returning 1 branch(es)` 
for `renovate/go-toolchain`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to