Commit Graph

404 Commits

Author SHA1 Message Date
Oleg Krivtsov 29dde2f694 test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
Florian Greinacher 42fd18d101 refactor: encapsulate hostRulesFromEnv (#12277) 2021-10-23 06:38:23 +00:00
Sergei Zharinov 6f649eb661 feat(platform): Use uniform platformAutomerge option (#12069)
Existing `azureAutoComplete` and `gitLabAutomerge` options are now unified/renamed to `platformAutomerge`, and also defaulting to `true`.

BREAKING CHANGE: Azure autocomplete will now only be enabled when `automerge` is also enabled (to align with how GitLab automerge already worked). If you were using `azureAutoComplete` before without explicitly enabling Renovate `automerge` field then you will now need to do so. Platform automerge is now the default behavior whenever automerge is enabled.
2021-10-11 06:36:07 +00:00
Sergei Zharinov 1b6ea2447f refactor(config): Better prefix handling and enhanced coverage (#12083) 2021-10-09 09:08:00 +02:00
Maksim 1f86b71fd5 refactor: constants (#11690) 2021-10-06 07:43:32 +02:00
Rhys Arkins cd72cdf2ac feat(config): detectGlobalManagerConfig (#11951) 2021-09-29 19:58:42 +00:00
Sebastian Poxhofer b350a8c5fb feat: option to write discovered repositories to a json (#11806) 2021-09-22 07:21:22 +00:00
Rhys Arkins 7b3e14c5cc logs: global env hostRules 2021-09-17 11:19:27 +02:00
Rhys Arkins ee29fdcaf1 feat(config): scoped secrets using pgp/gpg (#11673) 2021-09-16 10:11:13 +00:00
Rhys Arkins cdc083f40f feat(config): privateKeyOld (#11653) 2021-09-10 12:47:33 +02:00
Michael Kriese 11aa3baf2e test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Rhys Arkins ea6863b367 test: fix config.js test for when it's present (#11466) 2021-08-29 21:57:34 +02:00
Wei Kang 5d9eeb030c feat: fatal error config not found (#11462)
* fatal error and exit when config not found

* update file.ts

* fix fatal error and exit only for custom config file

* update test name to be clearer for custom file only

* revert changes for no config file found

* update test name to be clearer

* add space between test as suggested

* fix test due to invalid file

* fix typo

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-29 11:23:49 +00:00
Sergei Zharinov 5f4b9f9a3a test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins 750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Sergei Zharinov 1392955a04 refactor: Identify tests relying on single snapshots (#11150)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00
Sergei Zharinov 31785b8742 fix(config): Replace '__' to '_' globally when decoding hostRules from env (#10939) 2021-07-23 10:09:30 +00:00
Michael Kriese 876c2f40a5 fix: update cli help (#10444) 2021-06-15 15:34:49 +02:00
Rhys Arkins 11694e9294 refactor: move config/parse into global worker (#10282) 2021-06-02 12:06:16 +02:00
Rhys Arkins d0434d5df1 chore: GlobalConfig -> AllConfig 2021-06-02 11:25:10 +02:00
Sergei Zharinov 1b6ecd87c0 refactor: move binarySource option to admin config (#10022) 2021-06-02 06:50:23 +00:00
Rhys Arkins 79592f848a fix: Revert "refactor: localDir -> cloneDir" (#10166)
This reverts commit 0b287c763d.
2021-05-26 11:22:16 +00:00
Rhys Arkins 0b287c763d refactor: localDir -> cloneDir (#10158) 2021-05-26 10:30:23 +02:00
Rhys Arkins 15fde37535 fix: Revert "feat: validate git version" (#10106)
This reverts commit 1304bc930e.
2021-05-22 09:34:51 +02:00
Rhys Arkins 1304bc930e feat: validate git version (#9979) 2021-05-21 19:51:03 +00:00
Sergei Zharinov fbbbce608e chore: Configure fs local dirs via admin config (#9990)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-17 13:21:28 +00:00
Rhys Arkins 61c648d20b chore: simplify global hostRules test 2021-05-01 23:17:38 +02:00
Rhys Arkins 915bd15ce9 chore: fix HostRule type 2021-05-01 22:52:10 +02:00
Sergei Zharinov ce51f05cef feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
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
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
Emanuel Bennici 45739cddfd feat: Allow multiple autodiscover filter (#9453) 2021-04-19 14:18:06 +00:00
Sergei Zharinov 72d97ec2f4 refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Rhys Arkins af1e4ee1a7 feat: secrets (#8070) 2021-03-22 15:51:38 +01:00
Michael Kriese b50e21646e feat: deprecate node v12 (#8956)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-03-05 09:59:07 +00:00
Michael Kriese 74d7691bef refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Rhys Arkins d203def3d0 refactor: baseDir to global config 2021-02-05 22:35:03 +01:00
Rhys Arkins 90db7e28a6 feat(config): delete after setting admin config (#8557) 2021-02-05 16:08:52 +00:00
Rhys Arkins 3756f2aec3 refactor: GlobalConfig type 2021-02-05 10:49:34 +01:00
Rhys Arkins 4e2c33f10e feat: admin config init (#8546) 2021-02-05 09:20:47 +01:00
Sergei Zharinov 746d170824 feat(limits): Add "branchConcurrentLimit" option (#8046)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-01-10 13:29:14 +01:00
Rhys Arkins 116693be64 fix: Revert "feat: secrets" (#8069)
This reverts commit ec1b3c386b.
2020-12-18 15:33:21 +01:00
Rhys Arkins ec1b3c386b feat: secrets (#6664) 2020-12-18 13:38:28 +01:00
Sergei Zharinov 62c68d07e3 refactor(workers): Use limiting API for PRs instead of in-place counters (#8031) 2020-12-16 09:13:52 +01:00
Sergei Zharinov c98a537f8b refactor(limits): Refactor global limits counter (#7931) 2020-12-11 09:26:47 +01:00
Michael Kriese 2f87b53c3e fix(worker): early exit if config can't parsed (#7884) 2020-12-04 09:21:57 +01:00
Rhys Arkins 5d99ff9862 refactor: convert all path to upath (#7712) 2020-11-12 21:46:08 +01:00
Florian Greinacher 71cf56eaf9 feat(dependency-dashboard): display logged repository problems (#6952)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-21 22:04:11 +02:00
Sergio Zharinov 831c45397f refactor(limits): Concise implementation for workers/global/limits.ts (#7140)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-01 14:47:12 +02:00