Commit graph

8431 commits

Author SHA1 Message Date
Zachary Leighton
a40d1f721d
feat(azure): implemented azure branch status checks for automerge (#7398)
* feat(azure): implemented azure branch status checks for automerge

Implemented checks for branch statuses for azure, using the latest branch gitStatusState to determine if it's pending, failing or successful. This is required to properly automerge, as it was always pending prior.
Added tests for scenarios with various results and updated relevant existing tests.

fixes #7392

* feat(azure): finished implementing status checks and also setting of a branch status

Finished implementation according to how the other platforms work as much as possible.
Implemented the setting of a branch status, using the createCommitStatus api from azure.
Created util classes to handle the way azure translates named contexts with slashes to objects and reverse.
Tests for above changes.

Closes #7392

* test(azure): add test for uncovered lines to bring coverage back to 100

* chore(azure): fix the log message to be accurate and in the right spot and add a trace log to the end of the set status call

* Update lib/platform/azure/index.ts

Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>

* Update lib/platform/azure/index.ts

Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-04 08:34:21 +02:00
Sergio Zharinov
f9788bb815
fix(composer): Read locked deps from dev packages (#7409) 2020-10-03 22:35:39 +02:00
renovate[bot]
37f5b7149f
chore(deps): update mcr.microsoft.com/vscode/devcontainers/typescript-node docker tag to v0.145.0 (#7407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 22:01:33 +00:00
Rhys Arkins
0d9aa04d93 feat(git): getBranchParentSha 2020-10-02 13:22:24 +02:00
renovate[bot]
5fdac61665
chore(deps): update dependency type-fest to v0.17.0 (#7399)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 11:58:21 +02: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
renovate[bot]
765786a81a
chore(deps): update mcr.microsoft.com/vscode/devcontainers/typescript-node docker tag to v0.144.0 (#7395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-01 17:27:51 +00:00
Michael Kriese
939f3d6a8b
feat(git-submodules): fetch default branch (#7391) 2020-10-01 16:32:07 +02:00
Rich DiCroce
78a3f6043d
docs: fix default timezone (#7236)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-01 16:31:25 +02:00
Sergio Zharinov
2a890dc5c9
fix(gitea): Fix "getJsonFile" implementation (#7393) 2020-10-01 15:46:57 +02:00
Michael Kriese
fcdb226ab8
feat(logger): dump http version (#7390) 2020-10-01 10:21:17 +02:00
renovate[bot]
5701164b9f
build(deps): update dependency hasha to v5.2.1 (#7384)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-30 21:03:10 +00:00
Sergio Zharinov
5fc7bea230
fix(limits): Count branches for prCreation having "non-pending" value (#7388) 2020-09-30 21:06:03 +02:00
Rhys Arkins
75737805c8
refactor: rename compatibility -> constraints (#7308) 2020-09-30 11:02:25 +02:00
Sebastian Poxhofer
85be57f6fe
feat(terraform): add releaseTimestamp to latest release (#7381)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-30 10:02:02 +02:00
Sergio Zharinov
8ab6d6076a
refactor(workers): Extract 'getFileList' call outside of match loop (#7349) 2020-09-30 08:40:19 +02:00
renovate[bot]
651f4fb51d
chore(deps): update dependency eslint-config-airbnb-typescript to v11 (#7380)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-30 08:07:42 +02:00
renovate[bot]
da6e3da17c
chore(deps): update linters (#7245)
* chore(deps): update linters

* chore: fix lint

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-30 07:35:12 +02:00
renovate[bot]
96e68c7b6c
chore(deps): update mcr.microsoft.com/vscode/devcontainers/typescript-node docker tag to v0.143.0 (#7377)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-29 11:00:56 +00:00
Rhys Arkins
3c99ab0108
docs: update security email in readme 2020-09-28 15:43:45 +02:00
Rhys Arkins
cf79f136e7
docs: update SECURITY.md contact email 2020-09-28 15:42:48 +02:00
renovate[bot]
b60521d8f2
chore(deps): update mcr.microsoft.com/vscode/devcontainers/typescript-node docker tag to v0.142.0 (#7370)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-27 19:00:46 +00:00
renovate[bot]
611106340b
chore(deps): update dependency @types/eslint to v7.2.3 (#7369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-26 22:01:06 +00:00
renovate[bot]
efb582ef0c
build(deps): update dependency moment to v2.29.0 (#7365)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-25 16:09:34 +02:00
Filipe Roque
d0dd7e26ae
fix(docs): documentation for postUpgradeTasks (#7366) 2020-09-25 14:19:45 +02:00
Sergio Zharinov
7cec2f6f70
refactor(lint): Fix some unsafe returns for datasources (#7363) 2020-09-25 08:59:05 +02:00
renovate[bot]
38cc929490
build(deps): update dependency @actions/core to v1.2.6 (#7360)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-24 20:41:30 +02:00
renovate[bot]
6d7d696084
build(deps): update dependency aws-sdk to v2.759.0 (#7362)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-24 13:43:39 +02:00
Sergio Zharinov
5c6442ba97
refactor(lint): Restrict non-null assertion operator (#7359) 2020-09-24 09:13:31 +02:00
Dominykas Blyžė
27a280ff81
feat: kustomize: support newName in image (#7356) 2020-09-23 21:24:40 +02:00
renovate[bot]
9fe6b99d9c
build(deps): update dependency aws-sdk to v2.758.0 (#7353)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-23 13:26:11 +02:00
Lucas Cimon
86f1b44117
fix(pip_setup): Allow setup.py to import stuff from their own package (#6545) 2020-09-23 11:00:13 +02:00
Rhys Arkins
2ac6c392c2 fix(github): don’t filter PRs if in fork mode 2020-09-23 05:14:11 +02:00
Rhys Arkins
aa959240b4 docs: improve registryUrls extended description 2020-09-22 18:49:43 +02:00
Matt Stevens
2932e88598
feat(go): add support for github enterprise in go datasource (#7252) 2020-09-22 17:18:35 +02:00
henrysachs
edc201653c
feat(rubygems): fallback to info when version fails (#7323)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 13:58:37 +02:00
Rhys Arkins
9f99c5e073 feat(internal): write branches cache 2020-09-22 13:10:07 +02:00
Rhys Arkins
36e279227b fix(git): add branchExists safety check to isBranchModified 2020-09-22 13:07:19 +02:00
Rhys Arkins
f0ba97b6c2 fix: Revert "refactor: write branches cache"
This reverts commit 266534eb72.
2020-09-22 12:20:15 +02:00
Sergio Zharinov
feadc1417d
fix(github): Add "sourceRepo" field for created PRs (#7347) 2020-09-22 11:35:11 +02:00
Rhys Arkins
4e5a94c9d8 chore: update snapshot 2020-09-22 08:01:02 +02:00
Rhys Arkins
908694b78e chore: fix lint 2020-09-22 08:00:54 +02:00
Sergio Zharinov
2299485afd
refactor(http): Prepare "util/http" for queues (#7119)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 06:16:21 +02:00
Rhys Arkins
266534eb72 refactor: write branches cache 2020-09-22 06:11:17 +02:00
Sergio Zharinov
b2ffabcf73
fix(bitbucket): Return only PRs created by Renovate (#7244)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 06:10:11 +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
renovate[bot]
de5de8e097
build(deps): update dependency aws-sdk to v2.757.0 (#7341)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-22 05:33:10 +02:00
Rhys Arkins
d863036a1f
refactor: packageJsonVersion -> packageFileVersion (#7338) 2020-09-22 05:32:42 +02:00
renovate[bot]
a946c19ee1
chore(deps): update dependency @types/luxon to v1.25.0 (#7343)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-22 03:00:43 +00:00
renovate[bot]
6df1d82a27
build(deps): update dependency got to v11.7.0 (#7342)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-22 00:49:26 +00:00