Commit graph

75 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
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
Maksim
7801ae7c16
feat(config): migrate requiredStatusChecks to ignoreTests (#11355)
* feat(config): migrate requiredStatusChecks to ignoreTests

* fix(config): restore order of props

* feat(config): add applyMigrations function

* feat(platform): check ignoreTests param in worker

* feat(config): rename getBranchStatus to resolveBranchStatus

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-12 15:23:18 +00:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Michael Kriese
ec549af1c4
feat(gitlab): allow override gitAuthor (#11408) 2021-08-24 19:07:06 +02:00
Maximilian Brandau
1788e1367d
test: add test for missing line of #11221 (#11353) 2021-08-20 15:08:31 +02:00
Maximilian Brandau
7e425e6045
feat: gitUrl global option (#11221) 2021-08-20 11:30:56 +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
Michael Kriese
394f0bb741
test: fix http mocks (#11191) 2021-08-09 19:37:28 +02:00
Maksim
1bb004db4e
refactor(platform): mergePr args to object (#11155) 2021-08-08 03:35:35 +00:00
Matt Palmer
0952ff511a
feat(gitlab): Auto-detect squash settings (#11029) 2021-08-04 11:40:27 +02:00
Sergei Zharinov
9d580e091f
feat(gitlab): Add gitLabIgnoreApprovals option (#10981) 2021-08-04 09:49:42 +02:00
Connor Meredith
3749df2853
fix(gitlab): only fetch MRs opened by renovate (#10985)
* fix(gitlab): only fetch MRs opened by renovate

* Explicitly check for authorId before using it.

* Use scope instead of author_id for Gitlab fetch MR and issue requests.

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-07-29 22:30:15 +02:00
Bob van de Vijver
ac4f4a3f6d
feat: Add dependency dashboard label configuration (#10601)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-09 07:41:43 +00:00
Michael Kriese
5546d60e18
test: fix nock usage (#10451) 2021-06-16 09:13:33 +02:00
David
56299fe581
fix: GITLAB_IGNORE_REPO_URL with relative URL (#9969)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-27 14:54:05 +02:00
Michael Kriese
3c7546f7cd
test: simplify nock handling (#10170) 2021-05-27 14:13:31 +02: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
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Florian Greinacher
2cc751a0a1
feat: ignore unavailable users (#9406) 2021-04-22 21:16:58 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Fredrik Blomqvist
a2aa5ce6fb
feat(gitlab): Allow descriptions longer than 25K characters (#9452) 2021-04-08 18:01:59 +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
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
Sergei Zharinov
147304785e
refactor(platform): Extract getRawFile method (#9404) 2021-04-05 10:24:00 +00:00
Sergei Zharinov
3915fa6512
refactor(gitlab): Platform-wide getJsonFile (#9384) 2021-04-03 14:46:18 +02:00
Alex Kvak
c9e147fcba
fix(gitlab): skipped jobs are ignored (#9247)
If GitLab pipeline has only skipped jobs — the result is yellow.
Otherwise standard rules are applied.
2021-03-25 11:20:49 +00:00
Rhys Arkins
399d7ea73e
refactor: platform.getPrBody -> massageMarkdown (#8787) 2021-02-28 18:19:35 +00:00
Rhys Arkins
4d349b4608
test: add missing httpMock.reset (#8836) 2021-02-24 11:31:59 +01:00
Michael Kriese
bc9d35d704
fix(gitlab): getBranchPr returned cached results (#8028)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-16 15:55:09 +01:00
Clément MATHIEU
031823197b
fix(gitlab): getJsonFile must URL encode filename (#8034) 2020-12-16 09:15:51 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
Rhys Arkins
54c8f2e588
feat: ignorePrAuthor (#7853)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-02 15:01:48 +01:00
Rhys Arkins
5118ae9956 fix(gitlab): catch bad initRepo project reponse 2020-11-11 13:52:27 +01:00
Rich DiCroce
4fb8df0953
feat(gitlab): Implement draftPR for GitLab (#7357)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-29 10:25:55 +01:00
Sergio Zharinov
517f5ecfb9
refactor(platform): move optimizeForDisabled, isFork logic to worker layer (#7379)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-02 11:57:52 +02:00
Sergio Zharinov
0ea1413e57
refactor(platform): Rename "branchName" to "sourceBranch" (#7284)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 06:09:59 +02:00
Rhys Arkins
012561f69a
feat(git): get branch commit without cloning (#7130)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-30 22:03:58 +02:00
Rhys Arkins
80b691c807
refactor: remove platform.setBaseBranch (#7137) 2020-08-30 21:27:02 +02:00
Sergio Zharinov
0701419d6e
fix: remove statusCheckVerify option (#7094)
Closes #7057

BREAKING CHANGE: statusCheckVerify config option is no longer supported and will be ignored
2020-08-25 13:11:24 +02:00
Sergio Zharinov
45b9b4ebc4
refactor(platform): Decomplect branch deletion from PR state (#6988) 2020-08-18 20:38:53 +02:00
Sergio Zharinov
6f7cced72f
refactor(gitlab): Support state changes for updatePr (#7013) 2020-08-18 14:30:53 +02:00
Sergio Zharinov
cd064db4eb
refactor(platform): Change signature types for "updatePr" method (#7002)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-18 12:19:19 +02:00
Rhys Arkins
91be1678ac
refactor: targetBranch mandatory in platform.createPr (#6829) 2020-07-23 12:43:06 +02:00
Rhys Arkins
1449e8324b
feat(internal): use git to determine branch modification status (#6697)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-22 20:05:42 +02:00
Rhys Arkins
008f781d42 refactor: mandatory branchName in setBaseBranch 2020-07-22 11:14:22 +02:00
Rhys Arkins
20e57a1f6c
refactor: createPr useDefaultBranch -> targetBranch (#6813) 2020-07-22 11:08:08 +02:00
Rhys Arkins
0571eb37e8
fix: don’t assign if MR already has assignees or reviewers (#6386)
* fix(gitlab): don’t assign if MR already has assignees

Closes #6375

* add more platforms

* fix github

* simplify gitlab

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-16 15:45:50 +02:00
Rhys Arkins
4665dbff6f
refactor: remove commitFiles from platforms (#6701)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-08 14:14:13 +02:00
Rhys Arkins
c3f8d0067e
fix(gitlab): use global.gitAuthor to compare commit authors (#6696) 2020-07-07 14:12:31 +02:00