Commit graph

59 commits

Author SHA1 Message Date
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
Gord Lea
25f9401987 fix(docker): Fixes issue with private docker registry on amazon s3 (#3878) 2019-06-03 22:05:16 +02:00
Rhys Arkins
289275031b refactor: drop unnecessary got timeouts 2019-05-25 22:50:10 +02:00
Rhys Arkins
092bdf1684 fix(docker): delete username/password before sending 2019-05-25 10:09:54 +02:00
Rhys Arkins
c5a015df65 refactor: Authorization -> authorization 2019-05-25 10:09:30 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite (#3801)
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`

Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Michael Kriese
5f213255d0 test: fix coverage (#3794) 2019-05-24 15:01:07 +02:00
Rhys Arkins
d501790965
fix(docker): default hostRule (#3792) 2019-05-21 20:56:09 +02:00
Rhys Arkins
87f2b04f4e
feat(host-rules): remove overrides option (#3785) 2019-05-21 15:12:53 +02:00
Rhys Arkins
c02abf0976
feat: rename hostRules.platform to hostRules.hostType (#3768)
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Rhys Arkins
f68414fb2f fix: less debug logging, more trace 2019-04-28 22:08:06 +02:00
Rhys Arkins
6837556e10 logs: info not warn for manifest failure 2019-03-14 10:00:11 +01:00
Rhys Arkins
c3af5b1875 refactor: don’t log docker registry incorrectly 2019-03-12 07:44:21 +01:00
Rhys Arkins
b434a2fb3d refactor: try/catch docker v1 labels 2019-03-07 15:05:18 +01:00
Rhys Arkins
69fb4c3d26 fix(docker): labels check 2019-03-07 09:35:47 +01:00
Mike Bryant
34d270fd79 feat(docker): Use opencontainers labels to find repository source (#2907)
Closes #2395
2019-03-07 08:44:38 +01:00
Rhys Arkins
6dbcb65247 refactor(docker): graceful 403 handling 2019-02-26 07:37:55 +01:00
Rhys Arkins
1d9167b081 refactor(docker): include dockerRegistry, dockerRepository in results 2019-02-08 16:03:26 +01:00
Rhys Arkins
a9332a8db0
feat: replace purl with datasource (#3154)
This deprecates the (internal) use of package URLs and instead replaces with `datasource`/`lookupName`.

Closes #3005
2019-02-04 09:41:22 +01:00
Rhys Arkins
5b985b713e
feat: got wrapper (#3159)
Wraps the `got` library in our own wrapper to add:
- Renovate user agent
- Memory cache wrapper
2019-02-03 19:53:44 +01:00
Christian Köberl
0355b7558e feat(docker): add support for basic auth (#3137) 2019-02-01 06:54:13 +01:00
Rhys Arkins
70dc1c4292
feat(docker): preserve registry in depName (#3133) 2019-01-30 09:27:53 +01:00
Rhys Arkins
d0018cbd2d refactor: purl.fullname -> lookupName 2019-01-30 06:46:41 +01:00
Rhys Arkins
a09475d219 fix(docker): match https prefix 2019-01-29 19:20:36 +01:00
TKappatsch
cbb8190755 fix(docker): don't send manifest header when fetching tag list (#3124)
fixes #3078
2019-01-28 03:16:32 +01:00