mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-03-09 20:22:20 +01:00
Pin all e2e test emulator images to specific SHA256 digests to ensure immutability and prevent unexpected breakage from upstream changes: - Azurite (Azure): 3.35.0 @sha256:647c63a9... - MinIO (S3): RELEASE.2025-09-07T16-13-09Z @sha256:14cea493... - fake-gcs-server (GCS): 1.52.3 @sha256:666f86b8... All pinned SHAs match the current :latest tag, ensuring we're using the same images that were previously tested. Updated renovate configuration to track digest-based updates while preserving version information in comments for context. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
131 lines
3.6 KiB
Plaintext
131 lines
3.6 KiB
Plaintext
{
|
|
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
|
|
extends: [
|
|
'config:recommended',
|
|
':gitSignOff',
|
|
':semanticCommitType(chore)',
|
|
':labels(automated,no-issue)',
|
|
'customManagers:githubActionsVersions',
|
|
':automergeMinor',
|
|
':automergeDigest',
|
|
],
|
|
rebaseWhen: 'never',
|
|
prConcurrentLimit: 5,
|
|
lockFileMaintenance: {
|
|
enabled: true,
|
|
},
|
|
gomod: {
|
|
ignorePaths: [
|
|
'dagger/**/go.mod',
|
|
],
|
|
},
|
|
postUpdateOptions: [
|
|
'gomodTidy',
|
|
],
|
|
semanticCommits: 'enabled',
|
|
commitBodyTable: true,
|
|
customManagers: [
|
|
{
|
|
customType: 'regex',
|
|
managerFilePatterns: [
|
|
'/(^Taskfile\\.yml$)/',
|
|
],
|
|
matchStrings: [
|
|
'# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: currentValue=(?<currentValue>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_SHA\\s*:\\s*["\']?(?<currentDigest>[a-f0-9]+?)["\']?\\s',
|
|
'# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*["\']?(?<currentValue>.+?)["\']?\\s',
|
|
],
|
|
},
|
|
{
|
|
customType: 'regex',
|
|
managerFilePatterns: [
|
|
'\\.go$',
|
|
],
|
|
matchStrings: [
|
|
'// renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: versioning=(?<versioning>[^\\s]+?))?\\s+(?:// Version: (?<currentValue>[^\\s]+?)\\s+)?Image:\\s*"[^@]+@(?<currentDigest>sha256:[a-f0-9]+)"',
|
|
],
|
|
},
|
|
{
|
|
customType: 'regex',
|
|
managerFilePatterns: [
|
|
'/(^docs/config\\.yaml$)/',
|
|
],
|
|
matchStrings: [
|
|
'# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+kubernetesVersion:\\s*["\']?(?<currentValue>.+?)["\']?\\s',
|
|
],
|
|
versioningTemplate: 'regex:(?<major>\\d+)\\.(?<minor>\\d+)',
|
|
extractVersionTemplate: '^(?<version>v\\d+\\.\\d+)\\.\\d+$',
|
|
},
|
|
],
|
|
'pip-compile': {
|
|
managerFilePatterns: [
|
|
'/(^|/)sidecar-requirements\\.txt$/',
|
|
],
|
|
},
|
|
pip_requirements: {
|
|
enabled: false,
|
|
},
|
|
pip_setup: {
|
|
enabled: false,
|
|
},
|
|
packageRules: [
|
|
{
|
|
matchPackageNames: [
|
|
'ghcr.io/cloudnative-pg/plugin-barman-cloud-base',
|
|
],
|
|
versioning: 'loose',
|
|
},
|
|
{
|
|
matchDatasources: [
|
|
'go',
|
|
],
|
|
matchPackageNames: [
|
|
'!/k8s.io/',
|
|
],
|
|
matchUpdateTypes: [
|
|
'minor',
|
|
'patch',
|
|
'digest',
|
|
],
|
|
groupName: 'all non-major go dependencies',
|
|
},
|
|
{
|
|
matchDatasources: [
|
|
'git-refs',
|
|
],
|
|
matchPackageNames: [
|
|
'https://github.com/cloudnative-pg/daggerverse',
|
|
],
|
|
matchUpdateTypes: [
|
|
'digest',
|
|
],
|
|
groupName: 'all cloudnative-pg daggerverse dependencies',
|
|
},
|
|
{
|
|
matchDatasources: [
|
|
'git-refs',
|
|
],
|
|
matchPackageNames: [
|
|
'https://github.com/sagikazarmark/daggerverse',
|
|
],
|
|
matchUpdateTypes: [
|
|
'digest',
|
|
],
|
|
groupName: 'all sagikazarmark daggerverse dependencies',
|
|
},
|
|
{
|
|
matchFileNames: [
|
|
'web/package.json',
|
|
'web/yarn.lock',
|
|
],
|
|
groupName: 'documentation dependencies',
|
|
},
|
|
{
|
|
matchUpdateTypes: [
|
|
'minor',
|
|
'patch',
|
|
],
|
|
matchCurrentVersion: '!/^0/',
|
|
},
|
|
],
|
|
}
|