-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update determine-image-tag and add Renovate config (#1772)
- Loading branch information
Showing
4 changed files
with
105 additions
and
96 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
// 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 | ||
// There are more validation options, see https://docs.renovatebot.com/config-validation/ | ||
|
||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
// This inherits the base Konflux config. | ||
// 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" | ||
], | ||
"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" | ||
], | ||
// Tell Renovate not to update PRs when outside of schedule. | ||
"updateNotScheduled": false, | ||
"dockerfile": { | ||
"includePaths": [ | ||
// Instruct Renovate not try to update Dockerfiles other than konflux.Dockerfile (or konflux.anything.Dockerfile) | ||
// to have less PR noise. | ||
"**/*konflux*.Dockerfile", | ||
], | ||
}, | ||
"enabledManagers": [ | ||
// Restrict Renovate focus on Konflux things since we rely on GitHub's dependabot for everything else. | ||
"tekton", | ||
"dockerfile", | ||
], | ||
} |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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