Loading .gitlab-ci.yml +1 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ include: variables: RENOVATE_GIT_AUTHOR: Renovate Bot <bot@renovateapp.com> RENOVATE_CONFIG_VALIDATOR_EXTRA_FLAGS: default.json .gitlab/renovate.json stages: - test Loading renovate.json→.gitlab/renovate.json +22 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,14 @@ "matchPackageNames": ["ghcr.io/containerbase/node"], "semanticCommitType": "chore", "versioning": "node" }, { "description": "Update runner references in readme", "matchDepNames": ["renovate-runner"], "matchFileNames": ["README.md"], "additionalBranchPrefix": "docs-", "semanticCommitType": "docs", "separateMajorMinor": false } ], "customManagers": [ Loading @@ -56,6 +64,20 @@ ], "datasourceTemplate": "docker", "versioningTemplate": "docker" }, { "customType": "regex", "description": "Update renovate-runner references", "fileMatch": ["^README\\.md$"], "matchStrings": [ "\\s+- remote: https://gitlab\\.com/renovate-bot/renovate-runner/-/raw/(?<currentValue>v[0-9.]+)/", "\\s+ref: (?<currentValue>v[0-9.]+)\\s+", "\\s`(?<currentValue>v[0-9.]+)`\\s" ], "datasourceTemplate": "gitlab-releases", "depNameTemplate": "renovate-runner", "packageNameTemplate": "renovate-bot/renovate-runner", "versioningTemplate": "semver" } ], "gitlabci": { Loading README.md +1 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,7 @@ You can now use remote includes to use these templates on self-hosted gitlab ins The following sample uses the `v12.0.0` tag. You can also use `main` branch but a tag is preferred. Refer to GitLab [include](https://docs.gitlab.com/ee/ci/yaml/includes.html) samples for more information. You can add `gitlab>renovate-bot/renovate-runner` to your repos `renovate.json>extends` array to automatically update the runner version. ```yaml include: Loading default.json 0 → 100644 +18 −0 Original line number Diff line number Diff line { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "description": "Renovate preset to update gitlab remote include for renovate templates", "customManagers": [ { "customType": "regex", "description": "Update renovate remote includes version", "fileMatch": ["\\.gitlab-ci\\.ya?ml$"], "matchStrings": [ "-\\s+remote:\\s+https://gitlab\\.com/renovate-bot/renovate-runner/-/raw/(?<currentValue>v[0-9.]+)/" ], "datasourceTemplate": "gitlab-releases", "depNameTemplate": "renovate-runner", "packageNameTemplate": "renovate-bot/renovate-runner", "versioningTemplate": "semver" } ] } Loading
.gitlab-ci.yml +1 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ include: variables: RENOVATE_GIT_AUTHOR: Renovate Bot <bot@renovateapp.com> RENOVATE_CONFIG_VALIDATOR_EXTRA_FLAGS: default.json .gitlab/renovate.json stages: - test Loading
renovate.json→.gitlab/renovate.json +22 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,14 @@ "matchPackageNames": ["ghcr.io/containerbase/node"], "semanticCommitType": "chore", "versioning": "node" }, { "description": "Update runner references in readme", "matchDepNames": ["renovate-runner"], "matchFileNames": ["README.md"], "additionalBranchPrefix": "docs-", "semanticCommitType": "docs", "separateMajorMinor": false } ], "customManagers": [ Loading @@ -56,6 +64,20 @@ ], "datasourceTemplate": "docker", "versioningTemplate": "docker" }, { "customType": "regex", "description": "Update renovate-runner references", "fileMatch": ["^README\\.md$"], "matchStrings": [ "\\s+- remote: https://gitlab\\.com/renovate-bot/renovate-runner/-/raw/(?<currentValue>v[0-9.]+)/", "\\s+ref: (?<currentValue>v[0-9.]+)\\s+", "\\s`(?<currentValue>v[0-9.]+)`\\s" ], "datasourceTemplate": "gitlab-releases", "depNameTemplate": "renovate-runner", "packageNameTemplate": "renovate-bot/renovate-runner", "versioningTemplate": "semver" } ], "gitlabci": { Loading
README.md +1 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,7 @@ You can now use remote includes to use these templates on self-hosted gitlab ins The following sample uses the `v12.0.0` tag. You can also use `main` branch but a tag is preferred. Refer to GitLab [include](https://docs.gitlab.com/ee/ci/yaml/includes.html) samples for more information. You can add `gitlab>renovate-bot/renovate-runner` to your repos `renovate.json>extends` array to automatically update the runner version. ```yaml include: Loading
default.json 0 → 100644 +18 −0 Original line number Diff line number Diff line { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "description": "Renovate preset to update gitlab remote include for renovate templates", "customManagers": [ { "customType": "regex", "description": "Update renovate remote includes version", "fileMatch": ["\\.gitlab-ci\\.ya?ml$"], "matchStrings": [ "-\\s+remote:\\s+https://gitlab\\.com/renovate-bot/renovate-runner/-/raw/(?<currentValue>v[0-9.]+)/" ], "datasourceTemplate": "gitlab-releases", "depNameTemplate": "renovate-runner", "packageNameTemplate": "renovate-bot/renovate-runner", "versioningTemplate": "semver" } ] }