mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-05 23:09:00 +00:00
* migrate off yarn to pnpm add `vue` and `@vuepress/client` as peer-dependencies stick with node 20 update @vuepress/plugin-docsearch dep with `npx vp-update` add vuepress-plugin-sitemap2 plugin Signed-off-by: Rui Chen <rui@chenrui.dev> * replace yarn.lock with pnpm-lock.yaml for labeler Signed-off-by: Rui Chen <rui@chenrui.dev> * replace yarnDedupeHighest with pnpmDedupe for renovate Signed-off-by: Rui Chen <rui@chenrui.dev> * update website-lint job Signed-off-by: Rui Chen <rui@chenrui.dev> --------- Signed-off-by: Rui Chen <rui@chenrui.dev>
109 lines
3.8 KiB
Plaintext
109 lines
3.8 KiB
Plaintext
{
|
|
extends: [
|
|
"config:base",
|
|
"schedule:daily",
|
|
],
|
|
commitMessageSuffix: " in {{packageFile}}",
|
|
dependencyDashboardAutoclose: true,
|
|
automerge: true,
|
|
baseBranches: ["main", "/^release\-.*/"],
|
|
platformAutomerge: true,
|
|
labels: ["dependencies"],
|
|
postUpdateOptions: [
|
|
"gomodTidy",
|
|
"gomodUpdateImportPaths",
|
|
"pnpmDedupe",
|
|
],
|
|
// needed so e2e tests do not stomp over each other
|
|
prHourlyLimit: 1,
|
|
lockFileMaintenance: {
|
|
enabled: true,
|
|
},
|
|
vulnerabilityAlerts: {
|
|
enabled: true,
|
|
labels: [
|
|
"security",
|
|
],
|
|
},
|
|
packageRules: [
|
|
// For vuepress
|
|
{
|
|
"matchPackageNames": ["vuepress", "@vuepress/client", "@vuepress/markdown", "@vuepress/utils"],
|
|
"groupName": "vuepress",
|
|
"allowedVersions": "!/pre.*$/",
|
|
},
|
|
// e2e test depends on testing/Dockefile testing-image which has conftest specific version.
|
|
// to upgrade conftest versions, we need following PRs.
|
|
// 1. update testing/Dockerfile conftest version
|
|
// 2. update testing-env tag
|
|
// 3. update e2e conftest version
|
|
// This will allow conftest version updates in testing/Dockefile
|
|
{
|
|
matchPaths: ["testing/**"],
|
|
matchPackagePatterns: ["conftest"],
|
|
additionalBranchPrefix: "{{baseDir}}-",
|
|
groupName: "conftest-testing",
|
|
/*
|
|
prBodyNotes: [
|
|
":warning: Upgrade testing-env conftest and then upgrade other conftest versions for e2e :warning:",
|
|
],
|
|
*/
|
|
},
|
|
{
|
|
ignorePaths: ["testing/**"],
|
|
matchPackagePatterns: ["github-actions"],
|
|
groupName: "github-",
|
|
},
|
|
/*
|
|
// This tag is currently latest so we can skip this check for now unless we need to pin it again.
|
|
{
|
|
// we need to upgrade testing-env on ci quickly
|
|
matchPackageNames: ["ghcr.io/runatlantis/testing-env"],
|
|
groupName: "testing-env-ci-test",
|
|
schedule: ["every 1 hour after 00:00 and before 23:59 every day"],
|
|
},
|
|
*/
|
|
{
|
|
// use LTS node version for node docker image
|
|
matchDatasources: ["docker"],
|
|
matchPackageNames: ["node", "cimg/node"],
|
|
versioning: "node",
|
|
},
|
|
],
|
|
// https://docs.renovatebot.com/modules/manager/regex/
|
|
regexManagers: [
|
|
{
|
|
fileMatch: ["(^|/)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"],
|
|
matchStrings: [
|
|
// example:
|
|
// renovate: datasource=github-releases depName=hashicorp/terraform versioning=hashicorp
|
|
// ENV DEFAULT_TERRAFORM_VERSION=x.x.x
|
|
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=(?<currentValue>.*)\\s",
|
|
],
|
|
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
|
|
extractVersionTemplate: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
|
|
},
|
|
{
|
|
fileMatch: [".*go$"],
|
|
matchStrings: [
|
|
// example:
|
|
// const ConftestVersion = "x.x.x" // renovate: datasource=github-releases depName=open-policy-agent/conftest
|
|
"\\sconst .*Version = \"(?<currentValue>.*)\"\\s// renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s",
|
|
],
|
|
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
|
|
extractVersionTemplate: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
|
|
},
|
|
{
|
|
fileMatch: [".circleci/config.yml$"],
|
|
matchStrings: [
|
|
// example:
|
|
// # renovate: datasource=github-releases depName=hashicorp/terraform versioning=hashicorp
|
|
// TRRAFORM_VERSION: x.x.x
|
|
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_VERSION: (?<currentValue>.*)\\s",
|
|
],
|
|
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
|
|
extractVersionTemplate: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
|
|
},
|
|
]
|
|
}
|