Commit graph

378 commits

Author SHA1 Message Date
Rhys Arkins
53abbc064a refactor: lessen npmrc logging 2018-05-15 06:07:10 +02:00
Rhys Arkins
9db821682c refactor: debug token when npm lookup fails 2018-05-14 13:33:36 +02:00
Marco Massarotto
4b5efca7a7 feat: improve compatibility with nexus private npm repo (#1965)
as nexus hosted npm repository does not automatically 'extracts' any value from the published versions we have to manually pick the repository and namepage fields from the latest version if not already defined in the reponse root
2018-05-13 21:39:30 +02:00
Rhys Arkins
32fc33eedc fix(npm): don’t warn for ENOTFOUND lookup 2018-05-12 05:45:21 +02:00
Rhys Arkins
6cf4faeedf fix: use npm Basic authorization if massaging _auth 2018-05-11 21:01:36 +02:00
Rhys Arkins
2b2fbe97f1 fix(npm): massage _auth to _authToken 2018-05-11 20:10:07 +02:00
Rhys Arkins
a60940497e fix: log redacted auth details if npm lookup fails 2018-05-11 18:44:56 +02:00
Rhys Arkins
b07b49fa99 fix: use amd64/x instead of library/x for Docker Hub digest lookups 2018-05-08 19:15:12 +02:00
Rhys Arkins
1564150d9f refactor: streamline debug logging 2018-04-18 21:19:00 +02:00
Rhys Arkins
523b02fbc8
refactor: npm and semver (#1817) 2018-04-10 05:20:46 +02:00
Rhys Arkins
1ad05442e4 fixl handle npm registry 403 2018-04-02 20:18:26 +02:00
Rhys Arkins
13ca5d66f7 fix: actively handle 401 auth deny from docker registries 2018-03-29 12:45:22 +02:00
Rhys Arkins
20cdd20f18 refactor: downgrade docker warn to info 2018-03-29 10:49:00 +02:00
Rhys Arkins
6623047177 fix: add npm retries for null versions or parseError 2018-03-27 20:57:11 +02:00
Rhys Arkins
09c7980566 fix: improve debugging of npmrc 2018-03-25 22:14:40 +02:00
Rhys Arkins
cc4df96fe2 fix: return early if docker token acquisition fails 2018-03-23 15:56:44 +01:00
Rhys Arkins
a302b11a26
feat: custom docker registries (#1707)
Adds support for custom docker registries. To work (for now), registries must support anonymous public access to their v2 API. Tested against quay.io and gcr.io, including tags pagination for quay. Also needed to add a 10s timeout for registry queries to catch private/firewalled registries that we can't access.

Closes #797
2018-03-23 14:48:36 +01:00
Rhys Arkins
aa56c049b4 chore: remove err from dep not found info log 2018-03-22 10:21:19 +01:00
Rhys Arkins
9bc232d960 fix: log 401/404 responses from Docker Hub 2018-03-21 05:51:55 +01:00
Rhys Arkins
db1c33bb00 fix: throw registry-failure exception if docker has internal errors 2018-03-20 17:12:11 +01:00
Rhys Arkins
b02e170b11 fix: export semverSort from github datasource 2018-03-20 15:51:12 +01:00
Rhys Arkins
0cfba9d014 chore: lessen debugging - move to trace 2018-03-20 06:39:37 +01:00
Rhys Arkins
3d491797dc fix: retry npmjs 408
npmjs’s CDN is (erroneously) returning 408 Timeout responses sometimes, so these should be retried.
2018-02-27 14:31:36 +01:00
Rhys Arkins
f95058d66b refactor: move npm registry to datasource 2018-02-27 10:49:24 +01:00
Rhys Arkins
5d73738dde refactor: move docker registry to datasource 2018-02-27 10:28:31 +01:00
Rhys Arkins
49cedb15d8 fix: filter tags in getRepoTags request 2018-02-22 08:21:27 +01:00
Rhys Arkins
612ee76e0c fix: add try/catch to github datasource functions 2018-02-20 21:35:04 +01:00
Rhys Arkins
16a8d15e33 refactor: move bazel github operations to datasource 2018-02-16 16:32:48 +01:00