Commit Graph

3413 Commits

Author SHA1 Message Date
Rhys Arkins cbf8ea4e55 feat(config): delay preset resolution until after platform initialization (#9415)
Delay config preset resolution in admin config until after platform initialization. This will enable resolution of private “local>…” presets to work.

BREAKING CHANGE: Config presets will be resolved after platform initialization, so from now on platform credentials cannot be placed in presets.
2021-04-22 08:47:58 +02:00
Rhys Arkins 13ece707d4 feat(npm): remove ignoreNpmrcFile support (#9409)
Removes support for the ignoreNpmrcFile config option.

BREAKING CHANGE: ignoreNpmrcFile is no longer supported. Use an empty string for config.npmrc instead.
2021-04-22 08:47:58 +02:00
Rhys Arkins 59d728b16b refactor: skipInstalls -> artifactUpdateApproach (#9119)
Renames skipInstalls to artifactUpdateApproach and changes from boolean to enum.

BREAKING CHANGE: skipInstalls has been changed to artifactsUpdateApproach
2021-04-22 08:47:58 +02:00
Rhys Arkins 0500042d1d feat: updateType=patch (#9393)
Changes behavior so that patch updateType is not rewritten to minor by default.

Closes #2818

BREAKING CHANGE: patch updates are not considered updateType=minor by default.
2021-04-22 08:47:58 +02:00
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
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 f654f2d945 fix: Revert "feat: Allow multiple autodiscover filter (#9453)" (#9641)
This reverts commit 45739cddfd.
2021-04-20 06:59:42 +00: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 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
Rhys Arkins 6f54f09aa2 feat: don’t block updates due to pinning (#9600) 2021-04-18 17:27:41 +02:00
Rhys Arkins ccf1bc8264 refactor: rollback config (#9589) 2021-04-17 11:53:03 +00:00
Arkadiusz Kosmala b070646186 feat(config): validate enabledManagers 2021-04-15 09:18:51 +00:00
Sergei Zharinov 72d97ec2f4 refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00: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
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
Sergei Zharinov b160644db7 feat(preset): Support Azure local presets (#9458) 2021-04-08 19:49:46 +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 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
Rhys Arkins 6443902da9 chore: remove unused customPrFooter 2021-04-06 16:06:26 +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
Rhys Arkins 88ae12a65d feat(config): validate config parent (#9350) 2021-04-05 10:41:31 +00:00
Rhys Arkins 0cb45ddbf3 feat: ENV_PREFIX (#9397) 2021-04-05 09:19:08 +00:00
Rhys Arkins 3e22ad0ca3 feat(config): support RENOVATE_CONFIG (#9374) 2021-04-04 15:33:22 +02:00
Rhys Arkins 20147e30b9 feat: packageRules.matchPackagePrefixes (#9365) 2021-04-03 05:18:25 +00:00
Rhys Arkins 95bf948020 refactor: config warning/error fields (#9349) 2021-04-01 15:50:17 +02:00
Matt Palmer 49a3a8ab27 feat(gomod): Update source import paths on major upgrade (#9144) 2021-03-27 06:02:32 +00:00
Florian Greinacher c2dc36f0e5 feat: add System.IO.Abstractions monorepo (#9287) 2021-03-25 21:39:02 +01:00
Rafał Maciejewski 28ecac1960 fix: allow dash character in local preset path (#9284) 2021-03-25 16:48:54 +01:00
Rhys Arkins af1e4ee1a7 feat: secrets (#8070) 2021-03-22 15:51:38 +01:00
Nik Skoufis e7f90d50a6 fix: Add registryTemplateUrl field to allowed fields for regexManager (#9239) 2021-03-22 07:18:34 +01:00
Armaan Tobaccowalla e5c92e4cd9 feat(config): Support presets in subdirectories (#8724) 2021-03-20 23:03:10 +00:00
Rhys Arkins d65fd4a974 fix: deprecate yarnrc 2021-03-20 20:35:15 +01:00
Rhys Arkins 9d6e96ef75 refactor: npm preset lookup direct (#9225) 2021-03-20 08:27:33 +00:00
Rhys Arkins bca8931d53 fix(npm): datasource improvements (#9178) 2021-03-17 14:40:50 +01:00
renovate-testing ea0bcdd185 feat(git): Specify additional git authors to ignore (#9082) 2021-03-14 09:27:40 +01:00
Rhys Arkins edfac73a08 refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00