mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-09 13:36:26 +00:00
Merge branch 'main' of https://github.com/renovatebot/renovate into fix-auto-merge-if-plus-one
This commit is contained in:
commit
b1ce02b44b
3 changed files with 11 additions and 6 deletions
|
@ -540,6 +540,7 @@
|
|||
"unhead": "https://github.com/unjs/unhead",
|
||||
"unocss": "https://github.com/unocss/unocss",
|
||||
"uppy": "https://github.com/transloadit/uppy",
|
||||
"vaadin-hilla": "https://github.com/vaadin/hilla",
|
||||
"vaadinWebComponents": "https://github.com/vaadin/web-components",
|
||||
"visx": "https://github.com/airbnb/visx",
|
||||
"vitest": "https://github.com/vitest-dev/vitest",
|
||||
|
|
|
@ -96,10 +96,11 @@ export async function validatePresets(config: AllConfig): Promise<void> {
|
|||
|
||||
export async function resolveGlobalExtends(
|
||||
globalExtends: string[],
|
||||
ignorePresets?: string[],
|
||||
): Promise<AllConfig> {
|
||||
try {
|
||||
// Make a "fake" config to pass to resolveConfigPresets and resolve globalPresets
|
||||
const config = { extends: globalExtends };
|
||||
const config = { extends: globalExtends, ignorePresets };
|
||||
const resolvedConfig = await resolveConfigPresets(config);
|
||||
return resolvedConfig;
|
||||
} catch (err) {
|
||||
|
@ -133,10 +134,13 @@ export async function start(): Promise<number> {
|
|||
await instrument('config', async () => {
|
||||
// read global config from file, env and cli args
|
||||
config = await getGlobalConfig();
|
||||
if (config?.globalExtends) {
|
||||
if (is.nonEmptyArray(config?.globalExtends)) {
|
||||
// resolve global presets immediately
|
||||
config = mergeChildConfig(
|
||||
await resolveGlobalExtends(config.globalExtends),
|
||||
await resolveGlobalExtends(
|
||||
config.globalExtends,
|
||||
config.ignorePresets,
|
||||
),
|
||||
config,
|
||||
);
|
||||
}
|
||||
|
|
|
@ -5,19 +5,19 @@ ARG BASE_IMAGE_TYPE=slim
|
|||
# --------------------------------------
|
||||
# slim image
|
||||
# --------------------------------------
|
||||
FROM ghcr.io/renovatebot/base-image:9.11.4@sha256:918219550acbe6663093c1f667b155de7c088f20cf3f672dfc37e974bc29c5a6 AS slim-base
|
||||
FROM ghcr.io/renovatebot/base-image:9.11.5@sha256:7a04fa09dbe0da999e9f2e0500ad38972566ecbc1408fde8c6cbd5ca119df735 AS slim-base
|
||||
|
||||
# --------------------------------------
|
||||
# full image
|
||||
# --------------------------------------
|
||||
FROM ghcr.io/renovatebot/base-image:9.11.4-full@sha256:9a223db5b6f8106787028fcf1edfe98507089729ee7edbde0ced57909b0103e3 AS full-base
|
||||
FROM ghcr.io/renovatebot/base-image:9.11.5-full@sha256:b244d0f1641b796c3e3aaffbaaa535dbb2c2258806367805e40ff182b0962888 AS full-base
|
||||
|
||||
ENV RENOVATE_BINARY_SOURCE=global
|
||||
|
||||
# --------------------------------------
|
||||
# build image
|
||||
# --------------------------------------
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:9.11.4@sha256:918219550acbe6663093c1f667b155de7c088f20cf3f672dfc37e974bc29c5a6 AS build
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:9.11.5@sha256:7a04fa09dbe0da999e9f2e0500ad38972566ecbc1408fde8c6cbd5ca119df735 AS build
|
||||
|
||||
# We want a specific node version here
|
||||
# renovate: datasource=node-version
|
||||
|
|
Loading…
Reference in a new issue