Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(datasource/docker): add support for architecture-specific image digests #16554

Merged
merged 39 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
a9aa851
feat(datasource/docker): add support for architecture-specific digests
Churro Jul 12, 2022
2987679
Update lib/modules/datasource/docker/index.ts
Churro Jul 13, 2022
6387626
added schema and mediaType check for manifest list
Churro Jul 13, 2022
e0a16ba
corrected tests to include schemaVersion and mediaType
Churro Jul 13, 2022
67e5b7c
optimize code flow to omit obsolete HEAD request for architecture-spe…
Churro Jul 13, 2022
8327411
adapted test to omit HEAD request for architecture-specific digests
Churro Jul 13, 2022
23c3d5e
add another test with architecture: null for full branch coverage
Churro Jul 13, 2022
414dd3a
added checks for OCI manifest lists
Churro Jul 14, 2022
4917060
added further tests for OCI manifest lists
Churro Jul 14, 2022
b02fbb3
added HEAD request before fetching full manifest body for current image
Churro Jul 16, 2022
452dbf5
adapted tests to include additional HEAD request
Churro Jul 16, 2022
a9c1f1c
add currentDigest to caching key
Churro Jul 16, 2022
f4448df
changed tests after review
Churro Jul 16, 2022
65fc228
changed getDigest() after review
Churro Jul 17, 2022
1e67faf
added debug log for failed manifest list retrieval
Churro Jul 17, 2022
1291dfb
change implementation to rely on image config instead of currentValue
Churro Jul 17, 2022
2fe7426
added cache for image config blobs
Churro Jul 17, 2022
ca45881
added missing test for failed image config blob retrieval
Churro Jul 17, 2022
0a05bf9
increase cache ttl from 30min to 24h
Churro Jul 18, 2022
a40be9e
increase cache ttl from 24h to 4w
Churro Jul 19, 2022
d6c5be1
return undefined for return values not to be cached
Churro Jul 19, 2022
b5ec947
remove handling error codes other than 404
Churro Jul 21, 2022
0778d61
Merge remote-tracking branch 'upstream/main' into docker-archdigests
Churro Jul 25, 2022
56be60e
Merge branch 'main' into docker-archdigests
viceice Jul 26, 2022
59fd451
add ImageConfig type
Churro Jul 26, 2022
026d5c6
address review items
Churro Jul 26, 2022
ec37c81
handle 404
Churro Jul 27, 2022
3026a57
remove useless spaces
Churro Jul 29, 2022
f01d5ed
return null instead of undefined
Churro Jul 29, 2022
de5aca2
Merge remote-tracking branch 'upstream/main' into docker-archdigests
Churro Jul 29, 2022
0f72481
less nesting
Churro Aug 7, 2022
930efb5
Merge remote-tracking branch 'upstream/main' into docker-archdigests
Churro Aug 7, 2022
1e299f2
error handling
Churro Aug 8, 2022
8a13394
Merge branch 'main' of github.com:Churro/renovate into docker-archdig…
Churro Aug 11, 2022
a6bb39b
logger.debug -> warn for 'No docker auth found - returning'
Churro Aug 11, 2022
97b7dbb
logger.debug -> trace for 'getImageConfig(...)'
Churro Aug 11, 2022
20cee30
use joinUrlParts
Churro Aug 16, 2022
86ecac8
Merge remote-tracking branch 'upstream/main' into docker-archdigests
Churro Aug 16, 2022
c447034
Merge branch 'main' into docker-archdigests
viceice Aug 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view