Skip to content

Commit

Permalink
Update Renovate config
Browse files Browse the repository at this point in the history
taking the recent one from StackRox.
See stackrox/stackrox#13485
  • Loading branch information
msugakov committed Dec 3, 2024
1 parent 82abe43 commit f0ca1ea
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This configures Konflux Renovate bot, the thing that keeps our pipelines use up-to-date tasks.

// After making changes to this file, you can validate it by running something like this in the root of the repo:
// $ docker run --rm -it --entrypoint=/usr/local/bin/renovate-config-validator -v "$(pwd)":/mnt -w /mnt renovate/renovate --strict
// $ docker run --rm -it --entrypoint=renovate-config-validator -v "$(pwd)":/mnt -w /mnt renovate/renovate --strict
// There are more validation options, see https://docs.renovatebot.com/config-validation/

"$schema": "https://docs.renovatebot.com/renovate-schema.json",
Expand All @@ -11,18 +11,27 @@
// Clickable link https://github.com/konflux-ci/mintmaker/blob/main/config/renovate/renovate.json
// The following was used as example (we may want to check it if the base config gets suddenly moved):
// https://github.com/enterprise-contract/ec-cli/blob/407847910ad420850385eea1db78e2a2e49c7e25/renovate.json#L1C1-L7C2
"github>konflux-ci/mintmaker//config/renovate/renovate.json"
"github>konflux-ci/mintmaker//config/renovate/renovate.json",
// This tells Renovate to combine all updates in one PR so that we have less PRs to deal with.
"group:all",
],
"timezone": "Etc/UTC",
"schedule": [
// Allowed syntax: https://docs.renovatebot.com/configuration-options/#schedule
// The time was selected (with the help of https://time.fyi/timezones) so that Renovate isn't active during business
// hours from Germany to US West Coast. This way, after we merge a PR, a new one does not pop up immediately after
// that.
"after 3am and before 7am"
"after 3am and before 7am",
],
// Tell Renovate not to update PRs when outside of schedule.
"updateNotScheduled": false,
"tekton": {
"schedule": [
// For some reason, Konflux config defines custom schedule on each type of dependency manager and that takes
// precedence over the global/default schedule. We want our own schedule and hence need to make this override.
"after 3am and before 7am",
],
},
"dockerfile": {
"includePaths": [
// Instruct Renovate not try to update Dockerfiles other than konflux.Dockerfile (or konflux.anything.Dockerfile)
Expand Down

0 comments on commit f0ca1ea

Please sign in to comment.