Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.13.0
24.13.1
2 changes: 1 addition & 1 deletion lib/config/options/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ const options: Readonly<RenovateOptions>[] = [
description:
'Change this value to override the default Renovate sidecar image.',
type: 'string',
default: 'ghcr.io/renovatebot/base-image:13.3.1',
default: 'ghcr.io/renovatebot/base-image:13.3.4',
globalOnly: true,
deprecationMsg:
'The usage of `binarySource=docker` is deprecated, and will be removed in the future',
Expand Down
1 change: 1 addition & 0 deletions lib/config/presets/__snapshots__/index.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ exports[`config/presets/index > resolveConfigPresets > migrates automerge in pre
],
"matchManagers": [
"pep621",
"poetry",
],
"semanticCommitType": "fix",
},
Expand Down
2 changes: 1 addition & 1 deletion lib/config/presets/internal/default.preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ See [Docker - Disable digest pinning](./docker.md#disable-digest-pinning) for mo
'project.dependencies',
'project.optional-dependencies',
],
matchManagers: ['pep621'],
matchManagers: ['pep621', 'poetry'],
semanticCommitType: 'fix',
},
{
Expand Down
41 changes: 21 additions & 20 deletions lib/modules/versioning/redhat/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,27 @@ import redhat from './index.ts';

describe('modules/versioning/redhat/index', () => {
it.each`
input | expected
${'1'} | ${true}
${'17.04'} | ${true}
${'9.0.0'} | ${true}
${'1-632'} | ${true}
${'1.2-62'} | ${true}
${'1.2.3-62'} | ${true}
${'8.5-239.1651231664'} | ${true}
${'8.5.0-239.1651231664'} | ${true}
${'9.0.0-62'} | ${true}
${'v0.4.0-383'} | ${true}
${'1.2.3.4-62'} | ${false}
${'1.2.3 -62'} | ${false}
${'8.5-'} | ${false}
${'3.0.0-beta'} | ${false}
${'2.0.2-pre2019100318'} | ${false}
${'1.0.0+c30d7625'} | ${false}
${'2.3.4-beta+1990ef74'} | ${false}
${'5.1.2-+'} | ${false}
${'5.1.2+1'} | ${false}
input | expected
${'1'} | ${true}
${'17.04'} | ${true}
${'9.0.0'} | ${true}
${'1-632'} | ${true}
${'1.2-62'} | ${true}
${'1.2.3-62'} | ${true}
${'8.5-239.1651231664'} | ${true}
${'8.5.0-239.1651231664'} | ${true}
${'9.0.0-62'} | ${true}
${'1.0.0.GA-20.1770236070'} | ${true}
${'v0.4.0-383'} | ${true}
${'1.2.3.4-62'} | ${false}
${'1.2.3 -62'} | ${false}
${'8.5-'} | ${false}
${'3.0.0-beta'} | ${false}
${'2.0.2-pre2019100318'} | ${false}
${'1.0.0+c30d7625'} | ${false}
${'2.3.4-beta+1990ef74'} | ${false}
${'5.1.2-+'} | ${false}
${'5.1.2+1'} | ${false}
`('isValid("$input") === $expected', ({ input, expected }) => {
expect(redhat.isValid(input)).toBe(expected);
});
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/versioning/redhat/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const urls = [];
export const supportsRanges = false;

const pattern = regEx(
/^v?(?<major>\d+)(?:\.(?<minor>\d+))?(?:\.(?<patch>\d+))?(?:-(?<releaseMajor>\d+)(?:\.(?<releaseMinor>\d+))?)?$/,
/^v?(?<major>\d+)(?:\.(?<minor>\d+))?(?:\.(?<patch>\d+))?(\.GA)?(?:-(?<releaseMajor>\d+)(?:\.(?<releaseMinor>\d+))?)?$/,
);

class RedhatVersioningApi extends GenericVersioningApi {
Expand Down
2 changes: 2 additions & 0 deletions lib/modules/versioning/redhat/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Red Hat versioning is used with container images that are maintained by Red Hat.
Red Hat version definitions follow this pattern:

- the version of the main component, where major is required, but minor and patch are optional
- optionally a '.GA"
- optionally a hyphen followed by release information
- the version of Red Hat's release as an integer, optionally followed by a timestamp like: `1645808164`
- optionally a "v"-prefix
Expand All @@ -14,5 +15,6 @@ Examples of valid Red Hat versions:
- `7.9-628`
- `v0.4.0-383`
- `9.0.0-19.1655192132`
- `1.0.0.GA-20.1770236070`

Ranges are not supported by this versioning.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"pnpm": "^10.0.0"
},
"volta": {
"node": "24.13.0",
"node": "24.13.1",
"pnpm": "10.28.2"
},
"dependencies": {
Expand Down Expand Up @@ -278,7 +278,7 @@
"re2": "1.23.2"
},
"devDependencies": {
"@biomejs/biome": "2.3.13",
"@biomejs/biome": "2.3.14",
"@commander-js/extra-typings": "14.0.0",
"@containerbase/eslint-plugin": "1.1.31",
"@containerbase/istanbul-reports-html": "1.1.30",
Expand Down
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ ARG BASE_IMAGE_TYPE=slim
# --------------------------------------
# slim image
# --------------------------------------
FROM ghcr.io/renovatebot/base-image:13.3.1@sha256:15cd4af83e8beb397960908a8b5d6a44641111fa62bf174dd0ba7a17d99720e5 AS slim-base
FROM ghcr.io/renovatebot/base-image:13.3.4@sha256:8c1b03f5758ff636d2f8b49d575116e116eaf93dc618db8522555165851036ce AS slim-base

# --------------------------------------
# full image
# --------------------------------------
FROM ghcr.io/renovatebot/base-image:13.3.1-full@sha256:3029dac3c28110f30cc2369d8f2520a4382313f4c1e1008db902bf44d4966ae5 AS full-base
FROM ghcr.io/renovatebot/base-image:13.3.4-full@sha256:db7533a96c6cc5e0198cd5c17e7ce2398d502e7c6aa50e62d33022162d9dc2ac AS full-base

ENV RENOVATE_BINARY_SOURCE=global

# --------------------------------------
# build image
# --------------------------------------
FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:13.3.1@sha256:15cd4af83e8beb397960908a8b5d6a44641111fa62bf174dd0ba7a17d99720e5 AS build
FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:13.3.4@sha256:8c1b03f5758ff636d2f8b49d575116e116eaf93dc618db8522555165851036ce AS build

# We want a specific node version here
# renovate: datasource=github-releases packageName=containerbase/node-prebuild versioning=node
RUN install-tool node 24.13.0
RUN install-tool node 24.13.1

# corepack is too buggy 😞
# renovate: datasource=npm
Expand Down
4 changes: 4 additions & 0 deletions tools/mkdocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ program
const res = exec('pdm', args, {
cwd: 'tools/mkdocs',
stdio: 'inherit',
env: {
...process.env,
RENOVATE_VERSION: opts.version ?? '',
},
});
checkResult(res);
});
Expand Down
Loading