Skip to content

Commit

Permalink
feat(replacements): add opencost from quay.io to ghcr.io (#29611)
Browse files Browse the repository at this point in the history
Signed-off-by: Birger J. Nordølum <contact@mindtooth.no>
  • Loading branch information
MindTooth committed Jun 14, 2024
1 parent ec5f392 commit b07f8bc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions lib/config/presets/internal/replacements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const presets: Record<string, Preset> = {
'replacements:middie-to-scoped',
'replacements:now-to-vercel',
'replacements:npm-run-all-to-maintenance-fork',
'replacements:opencost-registry-move',
'replacements:parcel-css-to-lightningcss',
'replacements:passport-saml',
'replacements:react-query-devtools-to-scoped',
Expand Down Expand Up @@ -743,6 +744,29 @@ export const presets: Record<string, Preset> = {
},
],
},
'opencost-registry-move': {
description: 'Replace OpenCost registry from quay.io to ghcr.io.',
packageRules: [
{
description:
'Replace `quay.io/kubecost1/kubecost-cost-model` with `ghcr.io/opencost/opencost`.',
matchCurrentVersion: '1.108.0',
matchDatasources: ['docker'],
matchPackageNames: ['quay.io/kubecost1/kubecost-cost-model'],
replacementName: 'ghcr.io/opencost/opencost',
replacementVersion: '1.109.0',
},
{
description:
'Replace `quay.io/kubecost1/opencost-ui` with `ghcr.io/opencost/opencost-ui`.',
matchCurrentVersion: '1.108.0',
matchDatasources: ['docker'],
matchPackageNames: ['quay.io/kubecost1/opencost-ui'],
replacementName: 'ghcr.io/opencost/opencost-ui',
replacementVersion: '1.109.0',
},
],
},
'parcel-css-to-lightningcss': {
description: '`@parcel/css` was renamed to `lightningcss`.',
packageRules: [
Expand Down

0 comments on commit b07f8bc

Please sign in to comment.