Commit graph

6743 commits

Author SHA1 Message Date
Sebastian Poxhofer
a0a770338f
feat(autodiscover): allow array for autodiscoverfilter (#13100) 2021-12-16 15:12:35 +00:00
renovate[bot]
971ef920a6
chore(deps): update dependency ts-jest to v27.1.1 (#13114) 2021-12-16 14:51:28 +01:00
Sergei Zharinov
8d1ac78504
test(workers/pr): Explicit snapshots for release notes (#13145) 2021-12-16 14:14:19 +01:00
Muhammad Rehan Saeed
0bf92c54d6
feat(github actions): discover workflow files in subfolders (#13143) 2021-12-16 14:01:12 +01:00
Rhys Arkins
6a027d28eb
fix(config): add package rule to preserveSemverRanges (#13137) 2021-12-16 14:00:40 +01:00
Sergei Zharinov
992d3f6dc3
test(util/git): Use global timeout setting (#13141) 2021-12-16 13:52:49 +01:00
Oleg Krivtsov
ab3dc4e6b3
test(manager/gradle-wrapper): fix snapshot regression in gradle-wrapper (#13144) 2021-12-16 13:49:48 +01:00
Oleg Krivtsov
395cab2398
test(manager/gradle-wrapper): migrate to fs.readLocalFile (#13123) 2021-12-16 06:28:41 +01:00
Mr Talbot
3ac95a2393
fix: issue where helm index.yaml cannot be read (#13127)
* Fix issue where helm index.yaml cannot be read

The result of this function call is destructured here: d0d482155d/lib/datasource/helm/index.ts (L65)

If the return value is undefiend this causes an error, an empty object satisfies the RepoSource interface and can also be destructured without issue.

* update tests to match helm findSourceUrl behaviour

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-15 16:53:44 +00:00
Sergei Zharinov
d0d482155d
fix(util/emoji): Update emoji-related deps (#13122)
* chore(util/emoji): Update emoji-related deps

* Remove unused dep

* Fix
2021-12-15 12:49:25 +01:00
Oleg Krivtsov
83b87c0347
test(manager/gomod): migrate to fs.readLocalFile (#13099)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-15 10:50:09 +00:00
Rhys Arkins
737329246c
refactor(npm): update locked dep file structure (#13103) 2021-12-14 18:43:50 +01:00
Rhys Arkins
3fabb3b50b
refactor(helm): repository -> helmRepository (#13109) 2021-12-14 18:43:18 +01:00
Jack Pierce
c2f713d769
feat(buildkite): support git-hosted plugins (#13042) 2021-12-14 08:14:13 +01:00
Michael Kriese
91a3a971bb
fix(config/presets): wrong node.js group (#13096) 2021-12-14 08:13:11 +01:00
Oleg Krivtsov
3aa9b67861
test(manager/cocoapods): migrate to fs.readLocalFile (#13084)
* Implement cocoapods

* Fix lint

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-14 06:31:59 +00:00
Michael Kriese
b81e380c62
feat(datasource/helm): handle github source directoy (#13058) 2021-12-14 05:45:26 +00:00
Peter Valdemar Mørch
c7a7ffbeed
feat(config): allow exporting async config (#13075)
* feat(config): allow exporting async config (#13035)

module.exports can now be a function and it can be/return a Promise,
allowing the results of asynchronous operations to be used in the
configuration.

The discussion leading up to this PR in #13035 assumed that
module.exports had to be a plain object.

But this commit:

  commit 9aa97af5b3
  Author: Nejc Habjan <hab.nejc@gmail.com>
  Date:   Thu Dec 9 13:45:48 2021 +0100

      feat(config)!: parse JSON5/YAML self-hosted admin config (#12644)

      Adds support for alternative admin config file formats.

      BREAKING CHANGE: Renovate will now fail if RENOVATE_CONFIG_FILE is specified without a file extension

Had as an undocumented side effect, that it also handled transparenty
if module.exports was assigned a Promise. With that commit, the
promise will be await-ed so the resolved value is returned from
getConfig(). That was not the case before that commit.

So in this commit, configs that export functions are handled, and
test cases for both promises and functions have been added.

* Update lib/workers/global/config/parse/__fixtures__/fileAsyncFunction.js

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/workers/global/config/parse/__fixtures__/fileFunctionPromise.js

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* feat(config): Fixed linter problems (#13035)

* feat(config)!: Add doc for JSON5/YAML self-hosted admin config (#12644)

The code was introduced in 9aa97af5b and here is the documentation to
go with it

* feat(config): Document config.js exports (#13035)

* feat(config): Rename file*.js to config*.js because they really are config (#13035)

* Update docs/usage/getting-started/running.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update docs/usage/getting-started/running.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-13 21:51:36 +00:00
HonkingGoose
f7d76bb2e9
chore: sort keys replacement presets (#13090)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-13 20:31:25 +00:00
Sergey Vedmak
eca5de1955
fix: Deduplicate release notes (#13088) 2021-12-13 15:13:55 +00:00
Sergei Zharinov
b762656b7f
test(workers/branch): Explicit conditions for snapshots (#13085) 2021-12-13 12:09:06 +00:00
HonkingGoose
6d956a3c1d
feat(config): add google guava to monorepo list (#13080) 2021-12-13 11:54:52 +01:00
Oleg Krivtsov
93e088fb85
test(manager/cargo): migrate to fs.readLocalFile (#13063)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-13 09:46:55 +00:00
Sergei Zharinov
a02f3901f4
test(workers/branch): Refactor snapshots (#13079) 2021-12-13 09:55:26 +01:00
Oleg Krivtsov
b14e9fa8de
fix(workers/pr): wrong links to changelog when master branch doesn't exist (#12937)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-12 09:53:08 +00:00
Oleg Krivtsov
4ea9ed2b5e
feat(config/presets): handle slash in packageTag (#13028)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-12 09:23:17 +00:00
Michael Kriese
c96637b5ba
refactor(versioning/nuget): simplify by using class (#13059) 2021-12-11 17:16:56 +00:00
Maksim
a4249f9afe
refactor(migrations): extend abstract migration (#12963)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-11 13:56:51 +00:00
Michael Kriese
c7dbbd8620
fix(versioning/nuget): correctly compare semver v2 versions (#13056) 2021-12-11 14:37:00 +01:00
Sergei Zharinov
61c57a1321
test(workers): Explicit snapshot tests for generateBranchConfig (#13049) 2021-12-10 14:21:40 +00:00
Sergei Zharinov
995df4d9a7
refactor(util/exec): Fix strict null errors (#12909)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-10 15:07:02 +01:00
Rhys Arkins
a86eceb7d4 fix: default empty string for replace 2021-12-10 13:55:13 +01:00
Martijn Hoekstra
bdbcd61f8b
fix(manager/sbt): support more seq constructors (#12541) 2021-12-10 11:07:03 +00:00
Rhys Arkins
a9d334874a
feat: binarySource=install (#12961) 2021-12-10 10:56:00 +00:00
Sebastian Poxhofer
e8645bf3c9
refactor(regex): cleanup up index.ts and move matchStringStrategy to enum (#12525) 2021-12-10 10:45:08 +00:00
Rhys Arkins
eeedadede7
fix: don't semver filter git-refs and git-tags (#13043)
Closes #13034

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-10 09:12:21 +00:00
Rhys Arkins
bcea3254ad
fix: check if currentValue is a string (#13044) 2021-12-10 09:49:58 +01:00
Oleg Krivtsov
7e873cacf0
feat(config/presets): fetchJSONFile handle branchOrTag in Bitbucket Server (#13005)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-10 07:17:10 +00:00
Michael Kriese
e4c938b7a5
docs: release as asset (#11429)
* docs: prepare release as asset

* chore: cleanup

* fix: wrong extension

* fix: wrong logger

* fix: wrong path

* chore: clean and create tmp

* chore: fix types

* fix: update generation

* Update .github/workflows/build.yml

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/datasource/types.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2021-12-09 21:12:49 +01:00
Oleg Krivtsov
ec6077d343
feat(preset)!: decrease prConcurrentLimit to 10 (#12892)
BREAKING CHANGE: Configurations extending config:base will now default to maximum 10 concurrent PRs instead of 20.
2021-12-09 13:46:27 +01:00
Nejc Habjan
9aa97af5b3
feat(config)!: parse JSON5/YAML self-hosted admin config (#12644)
Adds support for alternative admin config file formats.

BREAKING CHANGE: Renovate will now fail if RENOVATE_CONFIG_FILE is specified without a file extension
2021-12-09 13:45:48 +01:00
Michael Kriese
7c4a71b679
feat!: remove node v12 and node v15 support (#12658)
BREAKING CHANGE: remove node v12 and v15 support
2021-12-09 13:44:42 +01:00
Oleg Sigida
12f467af92
chore: improve logging for stale branch rebase (#13009)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-08 14:36:09 +00:00
Rhys Arkins
052e92ea34
fix(terraform): externalhosterror for 503 (#12760)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-08 15:12:55 +01:00
Sebastian Poxhofer
65ed85a652
feat(presets): group kubernetes dependencies (#13007) 2021-12-08 13:21:04 +00:00
Ana Krivokapić
59026c262e
feat(config): Make ignore comments configurable (#12917) 2021-12-08 14:11:20 +01:00
Sebastian Poxhofer
b7b0d0441f
feat(presets): add opentelemetry-go monorepo (#13008)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-08 12:21:37 +00:00
Oleg Krivtsov
3fa21fbf83
feat(workers/global): check git at startup (#12935) 2021-12-08 13:11:43 +01:00
Oleg Krivtsov
3a5ad66d5e
fix(manager/nuget): support package sources with whitespaces in keys (#12882) 2021-12-08 10:38:15 +00:00
Martin Herndl
3f586efec6
feat(composer): support providers without a hash (#13000) 2021-12-08 09:21:41 +01:00