Commit Graph

176 Commits

Author SHA1 Message Date
Michael Kriese 82e89825ab chore: remove airbnb (#12557) 2021-11-08 13:03:55 +00:00
Sébastien CROCQUESEL 4b6270b981 docs: document how docker datasource resolve sourceUrl (#12468) 2021-11-08 08:30:23 +01:00
RahulGautamSingh 4b16903ff1 fix: modified regex to use RE2 (#12025)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-19 14:53:34 +02:00
Jamie Magee 41bafaccdf refactor(docker): replace www-authenticate with auth-header (#11942) 2021-10-01 19:50:27 +00:00
Florian Greinacher b4a84065a1 feat(docker): add support for authenticating at ECR with session tokens (#11967) 2021-10-01 06:07:33 +00:00
Michael Kriese 11aa3baf2e test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Michael Kriese 902ee02096 feat(manager:docker): use head requests (#11484) 2021-08-31 08:23:22 +00:00
Michael Kriese c8c8684ea3 fix(datasource): trim trailing slash in registry url (#11392)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-08-30 18:28:32 +02:00
Michael Kriese 60b3d6d933 fix(manager:docker): only pass auth header when required (#11449) 2021-08-30 15:55:16 +02:00
Sergei Zharinov 5f4b9f9a3a test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Sergei Zharinov 65eea75452 fix(docker): Allow ports usage for Quay deps (#11230) 2021-08-12 07:26:10 +02:00
Rhys Arkins 3d4d2529a1 refactor(docker): better url parsing (#10996) 2021-07-28 08:07:20 +02:00
Niels Basjes c077f15831 fix: Improve the default User-agent string. (#10606) 2021-06-26 07:02:35 +00:00
Rajat Agrawal 40c6cedd7b fix(docker): incorrect variable used during refactor (#10537) 2021-06-22 14:58:44 +00:00
Niels Basjes d4a22c7f3c feat(docker): Support for Bearer token to access the Docker registry (#10400) 2021-06-16 20:22:32 +00:00
Michael Kriese 10ca7b3efe fix(datasource): use greatest version for docker labels (#10464)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-06-16 14:29:33 +00:00
HonkingGoose f9c74638cf fix(docker): fix typo in manifest list for manifestV1 item (#10318) 2021-06-05 13:03:31 +02:00
Michael Kriese 3c7546f7cd test: simplify nock handling (#10170) 2021-05-27 14:13:31 +02:00
Rhys Arkins 9209fade5e fix(docker): exclude path from registry (#10144) 2021-05-26 10:19:22 +00:00
Rhys Arkins 611de25fd2 chore(docker): convert tests to inline snapshot 2021-05-25 16:13:07 +02:00
Rhys Arkins cd078e73bd refactor: docker getRegistryRepository (#10140) 2021-05-25 16:09:17 +02:00
Giorgos Karagounis c22b7f838f feat(docker): quay api v1 for tags (#10093)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-05-25 13:00:36 +02:00
Giorgos Karagounis e96a6f5d7d feat(docker): refactor for docker registries (#9891)
* quay registry v1 & add test

* separate quay tags function

* Update lib/datasource/docker/index.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/datasource/docker/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* remove link header quay

* refactor quay registry function

* remove quay changes

* apply reviewer comments

* refactor: cleanup

* apply reviewer comments

* Update lib/datasource/docker/common.ts

* split up tests

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-19 16:14:49 +00:00
renovate[bot] b8e36daa87 chore(deps): update dependency prettier to v2.3.0 (#10012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Michael Kriese 7daa93a78d refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Florian Greinacher ee724768e5 fix: pass ECR credentials properly (#9767)
* fix: pass ECR credentials properly

* Specify type for ECR client config

* Add assertion for trace
2021-04-28 16:07:10 +02:00
Sergei Zharinov 38620be343 refactor: Replace some TODO items with issue ids (#9596) 2021-04-26 20:19:30 +00:00
Sergei Zharinov ce51f05cef feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Rhys Arkins 247fa7b98d feat(docker): enable major updates by default (#9470)
Removes default settings which disabled docker major updates by default.

BREAKING CHANGE: Major updates for docker will now be enabled by default.
2021-04-22 08:47:58 +02:00
Rhys Arkins 13bbc5d6a2 feat(config): remove manager additionalBranchPrefix defaults (#9373)
Resets any language or manager` additionalBranchPrefix` values to empty string. Add the `compatibility:additionalBranchPrefix` prefix to restore previous behavior.

BREAKING CHANGE: Removal of default `additionalBranchPrefix` values will cause branch names to change for docker/helm/buildkite/cargo/homebrew.
2021-04-22 08:47:58 +02:00
Sergei Zharinov 2d04ae6bc3 refactor(http): Import proper OutgoingHttpHeaders on all http clients (#9653) 2021-04-20 18:31:43 +02:00
Sergei Zharinov 4f237ea680 refactor(http): Use default "accept-encoding" value (#9652) 2021-04-20 15:37:57 +02:00
Rhys Arkins 325447e7da fix(docker): defensive digest check 2021-04-05 09:15:57 +02:00
Rhys Arkins 58daaabb43 feat(internal): return registryUrl from datasources (#9177)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-17 13:34:47 +01:00
Rhys Arkins f1a4102dd9 refactor: customRegistrySupport (#9142) 2021-03-15 13:56:23 +01:00
Craig Andrews 243c25ff4d fix: registry returned by getRegistryRepository must be a URL (#8951)
The registry returned by getRegistryRepository must be a URL (including the scheme portion).

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-09 21:04:10 +01:00
Michael Kriese 74d7691bef refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Craig Andrews e136cd4424 fix: Only add / for lookup, not for returned registry (#8888)
When checking to see if lookupName starts with the registry, append a / (if not already present) to the registry.
Do not append the / when returning the registry.
2021-02-28 06:53:42 +00:00
Rhys Arkins 586a83ec8f refactor: dockerRepository 2021-02-18 08:21:22 +01:00
Rhys Arkins 01e1f38019 refactor: remove unused ReleaseResult fields (#8737) 2021-02-17 21:29:25 +01:00
Rhys Arkins 32440f26a4 refactor: toVersion -> newVersion (#8711) 2021-02-16 12:33:44 +01:00
Rhys Arkins 0869d6e8d7 refactor: remove newVersion usage (#8710) 2021-02-16 11:26:46 +01:00
Michael Kriese c90c506156 refactor(docker): use aws-sdk v3 (#8298) 2021-02-05 14:44:38 +01:00
Daniel Tschinder 4ab13cc77e fix(docker): Fix support for docker list manifests (#8540) 2021-02-04 12:32:47 +01:00
Rhys Arkins 3cb4f2f6b1 refactor: docker test use 403 2021-02-03 20:14:32 +01:00
Rhys Arkins e816637eb4 chore: fix test 2021-02-03 20:12:58 +01:00
Rhys Arkins 3cb25532a5 fix(docker): treat docker hub 401 as external host error 2021-02-03 20:08:21 +01:00
Rhys Arkins 7519b76956 fix: cache Docker tags 30 minutes 2021-02-03 20:04:48 +01:00
Michael Kriese 96dca43372 fix(docker): fix manifest list handling (#8474) 2021-02-01 06:22:15 +00:00
Michael Kriese 4eaa81ac56 fix(docker): support manifest list (#8450) 2021-01-28 19:54:19 +01:00