commit fb26167f214643b226df98d3a5e4177ae69f4721 Author: Robert Kaussow Date: Sat Dec 26 16:01:53 2020 +0100 initial commit diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..44e4d67 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Robert Kaussow + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..80c4998 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# renovate-presets + +This repository is used for internal renovate presets for `thegeeklab` organization. + +## License + +This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/renovate-presets/blob/master/LICENSE) file for details. diff --git a/base.json b/base.json new file mode 100644 index 0000000..bd9b735 --- /dev/null +++ b/base.json @@ -0,0 +1,28 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": ["Base preset for use with thegeeklab repos"], + "extends": [ + "config:base", + ":dependencyDashboard", + ":rebaseStalePrs", + ":semanticCommits", + ":semanticCommitScope(deps)", + "docker:enableMajor", + ":masterIssue", + "group:linters" + ], + "docker": { + "pinDigests": true + }, + "regexManagers": [ + { + "fileMatch": ["^Makefile$"], + "matchStrings": [ + "# renovate: datasource=(?\\S+) depName=(?\\S+)( versioning=(?.*?))?\\n.*?_VERSION := (?.*)\\s" + ] + } + ], + "droneci": { + "enabled": false + } +} diff --git a/default.json b/default.json new file mode 100644 index 0000000..c9d4da2 --- /dev/null +++ b/default.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": ["Default preset for use with thegeeklab repos"], + "extends": [ + "github>thegeeklab/renovate-presets:base", + "github>thegeeklab/renovate-presets:docker" + ] +} diff --git a/docker.json b/docker.json new file mode 100644 index 0000000..ba86445 --- /dev/null +++ b/docker.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": ["Preset for use with all of thegeeklab/* docker images"], + "extends": ["github>thegeeklab/renovate-presets:base"], + "regexManagers": [ + { + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "# renovate: datasource=(?\\S+) depName=(?\\S+)( versioning=(?.*?))?\\nENV .*?_VERSION=\"\\${.*:-(?.*)}\"\\s" + ] + } + ] +}