Commit graph

83 commits

Author SHA1 Message Date
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Rhys Arkins
a942b421d5
feat(internal): datasource defaultConfig (#5929)
Adds an optional new object `defaultConfig` to datasources. This object will be merged into config during the update flattening process, and before the last applyPackageRules. i.e. it can still be overridden by packageRules.
2020-04-09 15:44:23 +02:00
Rhys Arkins
1d4f747192 fix(orb): fix http post JSON 2020-04-06 09:15:29 +02:00
Rhys Arkins
f9c8cb46e2
refactor(datasource): getPkgReleases -> getReleases (#5867) 2020-04-04 08:53:52 +02:00
Rhys Arkins
4e4bfe9256
feat(internal): http util wrapper (#5841)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-04-03 13:45:55 +02:00
Rhys Arkins
c60737a285 fix: revert datasource error handling changes 2020-03-12 12:48:57 +01:00
Rhys Arkins
bce6036a8e
fix: move datasource error handling into index (#5662) 2020-03-07 12:13:31 +01:00
Michael Kriese
6c4892b593
chore(types): fix more typescript types (#5615) 2020-03-02 12:06:16 +01:00
Rhys Arkins
6293edc19a
feat: replace datasource constants with IDs (#5595)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-03-01 08:01:12 +01:00
Rhys Arkins
74f24d5b0c fix: Revert "fix: Remove authorization header from core.windows.net requests… (#5274)"
This reverts commit 4c258e27b6.

# Conflicts:
#	lib/datasource/docker/index.ts
2020-02-28 17:47:57 +01:00
Rhys Arkins
8571108d71 refactor: narrow datasource config types 2020-02-27 23:43:13 +01:00
Rhys Arkins
57cbe3a42c chore: lgtm ignore 2020-02-24 20:23:46 +01:00
Rhys Arkins
c68ca2e930
chore: lgtm ignores (#5566) 2020-02-24 16:57:41 +01:00
Rhys Arkins
f1d0b7b5fe refactor: lower some levels from info to debug
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
8b6c5aa30f chore: lgtm lint 2020-02-22 07:13:12 +01:00
Rhys Arkins
64de057cc1 fix(docker): better ignore quay.io 2020-02-15 21:53:34 +01:00
Rhys Arkins
52527794c0 fix(docker): ignore quay.io errors 2020-02-15 17:49:57 +01:00
Rhys Arkins
b080d1ed7e logs: don’t log docker manifest 2020-02-15 17:49:41 +01:00
Rhys Arkins
6a6d646dd5 fix(docker): log dockerRepository 2020-02-14 13:41:34 +01:00
Rhys Arkins
090a6232af fix(docker): log extra when erroring getting labels 2020-02-14 10:35:45 +01:00
Rhys Arkins
b5e344b449
feat: DatasourceError (#5475)
Adds centralized handling and logging of datasource failures.
2020-02-13 13:29:55 +01:00
Michael Kriese
26c03731a4
chore(datasource): move test files to lib (#5426) 2020-02-11 05:08:10 +00:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types (#5171) 2020-02-06 12:15:54 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Joe
4c258e27b6
fix: Remove authorization header from core.windows.net requests… (#5274) 2020-02-04 20:14:31 +01:00
Joe
17d744d48a
fix(docker): Unpack access_token correctly from auth header from docker registries that support it (#5264) 2020-01-31 09:02:13 +01:00
Sourav Das
ee153e560e feat: use error constants (#5088) (#5100)
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
5bcc9d0617
fix(docker): include hostType in lookup (#4964) 2019-12-11 10:08:22 +02:00
Michael Kriese
f0d4995fda fix(eslint): '@typescript-eslint/explicit-function-return-… (#4872) 2019-11-26 16:13:07 +01:00
Rhys Arkins
473b7e1f4b refactor(eslint): enable @typescript-eslint/no-use-before-define 2019-11-24 05:09:13 +01:00
Rhys Arkins
4c21322ada
fix(docker): detect local registries without FQDN (#4837)
Closes #4836
2019-11-21 08:18:30 +01:00
Zach Willard
b3a256700f fix(docker): added a workaround for ports not being set correctly during a redirect to S3 (#4733) 2019-11-03 08:38:17 +01:00
Rhys Arkins
1b548c7fb2 fix(docker): ECR logging 2019-10-10 18:15:37 +02:00
Zach Willard
9d9d7ec84e feat(docker): add insecureRegistry hostRule (#4590) 2019-10-08 09:19:11 +02:00
Ryan Murfitt
acb114a5c5 feat(docker): AWS ECR authentication support (#4497) 2019-09-22 11:34:51 +02:00
IKEDA Sho
9f22002b3c chore(datasource): add more type annotations (#4312) 2019-08-19 16:44:11 +02:00
Michael Kriese
4c485b727a feat(utils): convert to ts (#4237) 2019-08-15 08:26:21 +02:00
Michael Kriese
3ef90cca4e feat(datasource): convert to ts (#4183) 2019-08-15 06:30:16 +02:00
Rhys Arkins
cf1bec1e10 fix(docker): registry-failure for docker.io RequestError 2019-08-14 19:21:41 +02:00
Florian Greinacher
6de255e18d fix(docker): add support for querying tags from ECR (#4244)
Fixes #3800
2019-08-04 14:26:58 +03:00
Rhys Arkins
5d2ec22508 fix(docker): debug if schema version is not 2 2019-07-18 22:37:43 +02:00
Rhys Arkins
568fe49de8 fix(docker): info not warn for no labels 2019-07-18 22:26:50 +02:00
Rhys Arkins
5695026b18 fix(docker): reorder manifest check 2019-07-18 22:08:01 +02:00
Rhys Arkins
a7e24d51d1 fix(docker): throw error if no manifest config 2019-07-18 21:38:54 +02:00
Rhys Arkins
a5ac249b95 fix(docker): pass registry-failure up 2019-07-18 19:30:09 +02:00
Rhys Arkins
b2d581484e fix(docker): pass registry-failure up 2019-07-18 19:28:11 +02:00
Rhys Arkins
2aa0e3c765 logs: info not warn for docker registry 5xx 2019-07-18 19:25:35 +02:00
Michael Kriese
d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
Rhys Arkins
d046dc4e3c
feat: support docker v2 only (#4092)
Removes support for v1 docker registries.

Closes #3993

BREAKING CHANGE: Docker v1 registries are no longer supported
2019-07-15 09:40:10 +02:00