From deea75058a4b95d33b8d985ee977b2c85150fce3 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Thu, 6 Oct 2022 07:23:11 +0200 Subject: [PATCH] feat(azure-pipelines)!: disable by default (#18142) Closes #15818 BREAKING CHANGE: azure-pipelines manager is now disabled by default. --- lib/modules/manager/azure-pipelines/index.ts | 1 + lib/modules/manager/azure-pipelines/readme.md | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/modules/manager/azure-pipelines/index.ts b/lib/modules/manager/azure-pipelines/index.ts index 5fc99be02a..8ceb6c3281 100644 --- a/lib/modules/manager/azure-pipelines/index.ts +++ b/lib/modules/manager/azure-pipelines/index.ts @@ -4,6 +4,7 @@ export { extractPackageFile } from './extract'; export const defaultConfig = { fileMatch: ['azure.*pipelines?.*\\.ya?ml$'], + enabled: false, }; export const supportedDatasources = [ diff --git a/lib/modules/manager/azure-pipelines/readme.md b/lib/modules/manager/azure-pipelines/readme.md index 3d96625573..c746b53014 100644 --- a/lib/modules/manager/azure-pipelines/readme.md +++ b/lib/modules/manager/azure-pipelines/readme.md @@ -1,4 +1,18 @@ -The `azure-pipelines` manager extracts container and repository resources from the `resources` block as well as tasks from `steps` blocks. +The `azure-pipelines` manager is disabled by default. +This is because there's no way for Renovate to know whether new task versions are yet available with the Azure DevOps environment, so new versions proposed by Renovate could fail. + +To opt into running it, set the following: + +```json +{ + "azure-pipelines": { + "enabled": true + } +} +``` + +It works by container and repository resources from the `resources` block as well as tasks from `steps` blocks. + For example: ```yaml -- GitLab