Add Renovate configuration#17
Draft
twz123 wants to merge 2 commits into
Draft
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces Renovate configuration and adjusts the container build inputs so dependency updates (including GitHub Actions and container images) can be managed consistently, while also reducing unnecessary CI runs on pull requests.
Changes:
- Add
renovate.jsonto configure Renovate (GitHub Actions updates, Docker digest pinning, and custom regex manager for comment-annotated versions). - Update
Dockerfileto pincontainernetworking/pluginssources by commit instead of downloading a tag archive. - Restrict the build workflow trigger on
pull_requestto build-affecting paths, and document the same intent in.dockerignore.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| renovate.json | Adds Renovate bot configuration, including Docker digest pinning and custom regex-based version updates. |
| Dockerfile | Switches plugin source acquisition to a git-based approach and adds Renovate annotations for version tracking. |
| .github/workflows/build.yaml | Adds paths filtering for PR-triggered builds to reduce unnecessary workflow runs. |
| .dockerignore | Adds a note to keep ignored paths aligned with the build workflow’s paths filter. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
twz123
marked this pull request as draft
June 19, 2026 10:30
twz123
force-pushed
the
renovate
branch
2 times, most recently
from
June 19, 2026 10:31
23c8915 to
48d9dc8
Compare
Add a path filter to the workflow trigger that is equivalent to the configuration in the .dockerignore file. Since pushing tags should trigger a build anyway, we need two workflows, each with different trigger settings. This allows us to dissolve the Prepare step from the build workflow because the parameters it computed can now be provided as inputs. Signed-off-by: Tom Wieczorek <[email protected]>
The GitHub Actions workflow is still missing, but everything else is setup, mostly how the k0s repo is doing it, stripped down and adapted to the needs of this repo: * Do checkouts based on git commits. The git archive output is not guaranteed to be stable across git versions, so it might change, even if the extracted contents are identical. Use Renovate to bump both the version and the commit. * Manage GitHub Action version bumps, no need for Dependabot. * Pin OCI images using their digest. * Add some special handling for the -alpineX.Y tag suffix. Signed-off-by: Tom Wieczorek <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The GitHub Actions workflow is still missing, but everything else is setup, mostly how the k0s repo is doing it, stripped down and adapted to the needs of this repo: