Commit graph

5857 commits

Author SHA1 Message Date
Rhys Arkins
13bbc5d6a2 feat(config): remove manager additionalBranchPrefix defaults (#9373)
Resets any language or manager` additionalBranchPrefix` values to empty string. Add the `compatibility:additionalBranchPrefix` prefix to restore previous behavior.

BREAKING CHANGE: Removal of default `additionalBranchPrefix` values will cause branch names to change for docker/helm/buildkite/cargo/homebrew.
2021-04-22 08:47:58 +02:00
Rhys Arkins
8af905e8f5 feat: split trustLevel into separate options (#9388)
Removes trustLevel and replaces it with 3 other options instead. No longer necessary to set anything additional is configuring `allowedPostUpgradeCommands`

BREAKING CHANGE: `trustLevel` is no longer supported and instead broken into `allowCustomCrateRegistries` , `allowScripts` , and `exposeAllEnv`.
2021-04-22 08:47:58 +02:00
Rhys Arkins
95ac10998c feat: remove logLevel support in config (#9390)
Remove support for logLevel in config. Must be configured using LOG_LEVEL instead.

Closes #8291

BREAKING CHANGE: Configure LOG_LEVEL in env and not in config or CLI
2021-04-22 08:47:58 +02:00
Rhys Arkins
57015047b2 feat: drop NPM_TOKEN support (#9391)
Removes support for NPM_TOKEN.

BREAKING CHANGE: Do not use NPM_TOKEN in env to configure npm authentication. Configure hostRules instead.
2021-04-22 08:47:58 +02:00
Rhys Arkins
1a1ace919e feat: remove RENOVATE_LEGACY_GIT_AUTHOR_EMAIL (#9389)
Removes RENOVATE_LEGACY_GIT_AUTHOR_EMAIL support. 

Closes #9111

BREAKING CHANGE: RENOVATE_LEGACY_GIT_AUTHOR_EMAIL is no longer supported. Use `ignoredAuthors` in config instead.
2021-04-22 08:47:58 +02:00
Rhys Arkins
07affef41c fix(npm): run full install if npm: refs found
Closes #9654
2021-04-21 10:51:17 +02:00
Sergei Zharinov
2d04ae6bc3
refactor(http): Import proper OutgoingHttpHeaders on all http clients (#9653) 2021-04-20 18:31:43 +02:00
Sergei Zharinov
4f237ea680
refactor(http): Use default "accept-encoding" value (#9652) 2021-04-20 15:37:57 +02:00
Sergei Zharinov
b957d4afb7
refactor(config): Extract interfaces from "index.ts" to separate "types.ts" (#9629) 2021-04-20 10:52:57 +02:00
Rhys Arkins
f630963e66
logs: hostRules add/clear (#9644) 2021-04-20 10:52:38 +02:00
Rhys Arkins
f654f2d945
fix: Revert "feat: Allow multiple autodiscover filter (#9453)" (#9641)
This reverts commit 45739cddfd.
2021-04-20 06:59:42 +00:00
Rhys Arkins
9a306048a9
fix: rangeStrategy=replace with lockedVersion (#9634) 2021-04-20 04:56:16 +00:00
Sebastian Poxhofer
df2f451e37
fix(terraform): handle greater than with full version (#9632) 2021-04-19 21:43:13 +02:00
Sergei Zharinov
8b8d7767bc
fix(npm): Widen range only if necessary (#9630) 2021-04-19 18:15:46 +02:00
Sergei Zharinov
0355a75800
refactor(config): Move input config from util folder (#9625)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-19 15:03:04 +00:00
Rhys Arkins
c4463c69f9
feat(config): better config migration (#9493) 2021-04-19 14:42:29 +00:00
Emanuel Bennici
45739cddfd
feat: Allow multiple autodiscover filter (#9453) 2021-04-19 14:18:06 +00:00
Sergei Zharinov
16c080fadc
refactor(util): Fix unbound methods usage (#9626) 2021-04-19 13:51:02 +00:00
Sergei Zharinov
0375422fff
refactor(presets): Extract and de-duplicate error string constants (#9586)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-19 13:31:38 +00:00
Sergei Zharinov
4b7295ee22
fix(bitbucket): Return proper type for "createPr()" (#9623) 2021-04-19 12:57:06 +00:00
Rhys Arkins
d51b3aa40c fix: validate version before calling isGreaterThan
Closes #9602
2021-04-19 14:10:21 +02:00
Rhys Arkins
4280b8e08a refactor: drop skippedOverVersions 2021-04-18 21:36:04 +02:00
Rhys Arkins
6f54f09aa2
feat: don’t block updates due to pinning (#9600) 2021-04-18 17:27:41 +02:00
Rhys Arkins
56f57a34c4 refactor: res valueToVersion 2021-04-17 22:33:54 +02:00
Rhys Arkins
d3a477afd6 refactor: newDigestShort 2021-04-17 22:26:17 +02:00
Rhys Arkins
ac2ba7dd74 refactor: displayFrom/displayTo 2021-04-17 21:36:25 +02:00
Rhys Arkins
d398b7e72e test: generate newValue 2021-04-17 16:52:47 +02:00
Rhys Arkins
ccf1bc8264
refactor: rollback config (#9589) 2021-04-17 11:53:03 +00:00
Rhys Arkins
de53356573 refactor: currentVersion / lockedVersion 2021-04-17 11:08:23 +02:00
Rhys Arkins
61095e9091 chore: remove duplicate update.newVersion set 2021-04-17 09:29:35 +02:00
Rhys Arkins
4fb024e51b refactor: elapsed time utilities 2021-04-17 09:26:28 +02:00
Rhys Arkins
e36384a80c refactor: lookup types 2021-04-17 09:14:21 +02:00
Rhys Arkins
d0919ab99b refactor: travis result type 2021-04-17 06:53:54 +02:00
Rhys Arkins
074a78d933 chore: rename lookup variables 2021-04-17 06:14:07 +02:00
Rhys Arkins
f43cf690fd
fix(git-refs): insert token if found in host-rules (#9581) 2021-04-16 15:13:30 +02:00
Rhys Arkins
03223c6016 refactor: git url functions 2021-04-16 14:46:17 +02:00
Rhys Arkins
5ff0ad45ce refactor: processBranch return branchExists 2021-04-15 22:05:00 +02:00
Rhys Arkins
dbbeea1c13 test: branch worker use snapshots 2021-04-15 21:45:07 +02:00
Rhys Arkins
fb7138dc00 refactor: processBranch return object 2021-04-15 21:17:15 +02:00
Rhys Arkins
227f9f73dd refactor: branch worker handle existing PR 2021-04-15 19:53:44 +02:00
Rhys Arkins
14c5227ce3 refactor: ProcessBranchResult -> BranchResult 2021-04-15 19:06:55 +02:00
Rhys Arkins
f87d5e8b76
refactor: complex PR automerge result (#9567) 2021-04-15 16:30:02 +02:00
Rhys Arkins
91db1b5c61 fix(github): add UNSTABLE to canMerge states 2021-04-15 14:25:25 +02:00
Rhys Arkins
9ee35de2e1 refactor: perform branch deletion in automerge function 2021-04-15 14:09:06 +02:00
Rhys Arkins
6d17d7bbbd test: snapshot pr automerge result 2021-04-15 13:50:58 +02:00
Arkadiusz Kosmala
b070646186
feat(config): validate enabledManagers 2021-04-15 09:18:51 +00:00
Rhys Arkins
76962ae542
fix(hashicorp): update pre-1.0 short tilde ranges (#9559) 2021-04-15 05:19:05 +00:00
Rhys Arkins
e90593e339 refactor: move automerge check to branch worker 2021-04-14 22:58:06 +02:00
Rhys Arkins
064958908f refactor: simplify pr automerge function 2021-04-14 22:32:39 +02:00
Rhys Arkins
966e141de7 refactor: separate automerge function in pr 2021-04-14 22:18:57 +02:00
Rhys Arkins
27a35137f2
fix(git-submodules): don’t include token in lookupName (#9556) 2021-04-14 21:21:27 +02:00
Jamie Magee
7d4e7df87d
chore: more logging in git-submodules (#9542) 2021-04-14 15:43:09 +00:00
Sergei Zharinov
82fa5ce162
refactor(datasource): Enforce getName usage (#9524) 2021-04-14 17:28:20 +02:00
Luca Becker
34d6483257
feat(release-notes): running unemojify on release notes (#9535) 2021-04-14 11:03:08 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Sergei Zharinov
bab5346d09
refactor(manager): Enforce getName usage (#9523) 2021-04-13 12:07:57 +02:00
Rhys Arkins
6662db9765
fix: don’t disable repos if cannot fork (#9521) 2021-04-13 08:54:46 +02:00
Fredrik Blomqvist
f03c6843f9
fix(go): submodules behavior (#9519) 2021-04-13 05:57:14 +02:00
Rhys Arkins
0106d85284
fix(yarn): enableImmutableInstalls=false (#9515) 2021-04-12 20:04:58 +00:00
Sergei Zharinov
e5049e4904
feat(cake): Add support for Cake manager (#9512) 2021-04-12 21:51:48 +02:00
Rhys Arkins
893df627e4
feat(validation): language/manager top-level check (#9498) 2021-04-12 06:11:25 +02:00
Rhys Arkins
2973eb5d94 test: fix nested fileMatch test case 2021-04-11 19:26:46 +02:00
Rhys Arkins
4cf9c5028a
feat(validation): warn if packageRules contain all selectors (#9497) 2021-04-11 19:26:20 +02:00
Rhys Arkins
07abb3125a test: use valid packageRules 2021-04-11 18:43:22 +02:00
Rhys Arkins
6060911aef refactor: packageRules selector validation 2021-04-11 18:40:01 +02:00
Rhys Arkins
a55b5202e5 fix(validation): simplify packageRules validation message 2021-04-11 18:38:25 +02:00
Rhys Arkins
a4a151f458 refactor(presets): remove nested minor in groups 2021-04-11 18:30:12 +02:00
Rhys Arkins
1dad55586b
feat(config): migrate nested packageRules (#9496) 2021-04-11 18:00:29 +02:00
Jesse Rosenberger
60eba68eb3
fix(circleci): Expect whitespace/comments during CircleCI Orb parsing (#9486) 2021-04-11 08:04:42 +02:00
Rhys Arkins
74fcb41df4
fix(yarn): avoid yarn v2 rollback (#9487)
Closes #9483
2021-04-10 19:42:11 +02:00
Rhys Arkins
254d08fcbd
fix(config): migrate nested config (#9489)
Adds an extra migration step after resolving config in order to migrate nested presets.

Closes #8579
2021-04-10 19:41:39 +02:00
Rhys Arkins
c4f22fa389
fix(hex): short range replace (#9488) 2021-04-10 18:30:29 +02:00
Rhys Arkins
69a7b37c6b
fix(yarn): use major range for v2 constraint (#9482) 2021-04-10 06:13:08 +02:00
Sergei Zharinov
d1c8917a26
refactor(workers): Extract common file matching configuration logic (#9471) 2021-04-09 17:05:05 +02:00
Sebastian Poxhofer
c3bf66ee16
feat(ansible-galaxy): implement galaxy-collection DS and extend manager for collections (#9387) 2021-04-09 17:02:57 +02:00
Rhys Arkins
1914c187a6
fix: unhandledRejection (#9472)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-09 16:16:00 +02:00
Marco de Jongh
6afbcf8d18
feat: Add branch option for postUpgradeCommands (#8725)
* Add branch option for postUpgradeCommands

* Put the for loop back for async

* Fix tests & add documentation

* Change execution mode dependency to update

* Move postUpgradeCommand execution to seperate file

* Fix return time of upgradeTaskExecuter

* Fix test

* Finished new mode and added test

* Remove .only

* Remove defensive coding to make codecov happy

* Give inconfig a proper type

* Another missing type

* Fix typo in allowPostUpgradeCommandTemplating option description

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Move to 1 postUpgradeCommandExecutor call

* Appease the import order rule gods

* Refactor more

* Okay now it should be done

* Fix bug

* Import order rule

* Change import to a type import

* Also return artifacterrors

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Move checking if postUpgradeCommands can run

* remove unused import

* Fix prettier error

* Call getAdminConfig once

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Change type name to EnsurePrResult

* Update lib/workers/branch/index.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Fix enum imports

Co-authored-by: Carlin St Pierre <cstpierre@atlassian.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-09 05:51:03 +02:00
Timm Drevensek
8f3f3663b1
implement regex (#9407) 2021-04-08 19:16:15 +00:00
Sergei Zharinov
b160644db7
feat(preset): Support Azure local presets (#9458) 2021-04-08 19:49:46 +02:00
Sergei Zharinov
fa6d1e32a9
fix(azure): Fix additional argument for getRawFile (#9450)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-08 16:13:29 +00:00
Fredrik Blomqvist
a2aa5ce6fb
feat(gitlab): Allow descriptions longer than 25K characters (#9452) 2021-04-08 18:01:59 +02:00
Nils Plaschke
63b6cf66ac
feat: introduce dockerChildPrefix option (#8613)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-08 10:10:25 +00:00
Sergei Zharinov
e6537da51e
refactor(azure): Extract more utils from platform helper (#9443) 2021-04-08 11:53:03 +02:00
Fredrik Blomqvist
4262d4048b
feat(gitlab): Implement GitLab addReviewers (#9345)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-08 04:52:19 +00:00
chgl
a0e21e390e
fix: support the latest docker-compose 1.27 spec (#9424)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-04-08 06:38:57 +02:00
Sergei Zharinov
55ccf03144
fix(azure): Fix util function streamToString (#9430) 2021-04-07 22:16:28 +02:00
Sergei Zharinov
0a68e19d73
feat(presets): Support Bitbucket Cloud local presets (#9422) 2021-04-07 11:14:45 +02:00
Sergei Zharinov
612be5e449
refactor(presets): Reorder code and fix mocks (#9421) 2021-04-07 09:50:55 +02:00
Sergei Zharinov
36f8d1df0e
refactor(platform): getRawFile and getJsonFile throw instead of null (#9413)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2021-04-07 04:23:11 +00:00
Rhys Arkins
d1a74c838e
fix(lerna): swallow lerna info failure (#9416) 2021-04-06 18:04:19 +02:00
Rhys Arkins
6443902da9 chore: remove unused customPrFooter 2021-04-06 16:06:26 +02:00
Rhys Arkins
98f17c31a7 fix: defensive config check in cleanup 2021-04-06 15:55:41 +02:00
Sergei Zharinov
df0ac4a78e
refactor(presets): Reuse PRESET_INVALID_JSON variable (#9412)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-04-06 15:49:06 +02:00
Sebastian Poxhofer
0462860468
fix(terraform): skip interpretation of nested blocks (#9411) 2021-04-06 13:09:09 +02:00
Rhys Arkins
486f5747f6
refactor(github): vulnerability alerts warning (#9398) 2021-04-05 13:49:33 +02:00
Rhys Arkins
88ae12a65d
feat(config): validate config parent (#9350) 2021-04-05 10:41:31 +00:00
Sergei Zharinov
147304785e
refactor(platform): Extract getRawFile method (#9404) 2021-04-05 10:24:00 +00:00
Rhys Arkins
430249d626
refactor: Renovate configuration -> Configuration (#9399) 2021-04-05 10:09:41 +00:00
Rhys Arkins
0cb45ddbf3
feat: ENV_PREFIX (#9397) 2021-04-05 09:19:08 +00:00
Rhys Arkins
553bd99650 fix(npm): Revert "feat(npm): transitiveRemediation for v2 lockfiles (#9402)"
This reverts commit cec56faf52.
2021-04-05 10:56:08 +02:00