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

Add support for OCI engine #914

Merged
merged 45 commits into from
Jan 22, 2025
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
ebc1c00
revert "temp: remove docker image processor"
ezekg Nov 7, 2024
3b80495
add tests for docker image worker
ezekg Nov 8, 2024
573e1db
add enumeratorio to improve memory efficiency
ezekg Nov 8, 2024
9de0639
refactor npm worker to use enumeratorio
ezekg Nov 8, 2024
1d8014d
update naming
ezekg Nov 11, 2024
afcbf80
fix typo
ezekg Nov 11, 2024
49cabe8
update image processor to use index.json
ezekg Nov 11, 2024
7548ded
adjust tarball min/max sizes
ezekg Nov 11, 2024
91207ec
s/docker/oci/
ezekg Nov 11, 2024
82c343b
add regex support to upload matcher
ezekg Nov 11, 2024
19c6359
add base for oci routes
ezekg Nov 11, 2024
8775471
refactor oci image processing to store media types
ezekg Nov 13, 2024
c1051ab
remove unsupported chunked writes
ezekg Nov 14, 2024
da5fa6b
add support for multiple manifests per artifact
ezekg Nov 14, 2024
144c0d6
add unique index on manifest content path
ezekg Nov 15, 2024
c4cfaa5
s/fixme/todo/
ezekg Nov 15, 2024
803b4e7
add tests for oci spec conformance
ezekg Nov 15, 2024
8094f2d
fix manifest and descriptor authz
ezekg Nov 15, 2024
1053303
refactor manifest and descriptor authz into policies
ezekg Nov 15, 2024
3094047
add tests for oci manifest api
ezekg Nov 15, 2024
56ec1e7
s/docker/oci spec/
ezekg Nov 15, 2024
6242f5a
add note on octal encoding
ezekg Nov 15, 2024
3a349f6
remove json minification
ezekg Nov 15, 2024
519ea2f
fix format
ezekg Nov 15, 2024
a470198
fix typo
ezekg Nov 15, 2024
a9ca675
remove superfluous requires
ezekg Nov 15, 2024
1c6fd30
fix max size mismatch between factory and worker
ezekg Nov 15, 2024
2f00098
rename filename to path
ezekg Nov 21, 2024
e8763e1
fix indexes
ezekg Nov 21, 2024
1ed1470
add tests for blobs
ezekg Nov 27, 2024
b36d6cb
fix content type indexes
ezekg Dec 5, 2024
d964f9a
add tests for vanity urls
ezekg Dec 21, 2024
af06760
temp: update max tarball size
ezekg Dec 21, 2024
6e3ae9f
s/delete/yank/
ezekg Dec 21, 2024
eff5e84
add schema version to index
ezekg Dec 21, 2024
645c59b
refactor digestio into lib
ezekg Dec 21, 2024
6dc74cf
update oci engine to be ee-only
ezekg Jan 10, 2025
92bc4c7
refactor content-type/accept logic
ezekg Jan 12, 2025
c9ca307
refactor jsonapi/json content-type logic
ezekg Jan 13, 2025
89ec8bd
fix casing for as keyword
ezekg Jan 21, 2025
3747574
refactor and fix oci image layout parsing
ezekg Jan 17, 2025
51ae037
remove superfluous config/layer methods
ezekg Jan 21, 2025
88314e2
add oci tags endpoint
ezekg Jan 17, 2025
6cb97e2
add artifact/release assert to descriptors
ezekg Jan 22, 2025
91adef1
fix descriptor download keyword
ezekg Jan 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
s/delete/yank/
ezekg committed Jan 22, 2025
commit 6e3ae9f5d20410503ae434e9c90666efbab4e651
4 changes: 2 additions & 2 deletions features/api/v1/engines/oci/conformance.feature
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ Feature: OCI spec conformance
Then the response status should be "405"

@mp
Scenario: Endpoint should fail delete
Scenario: Endpoint should fail yank
Given I am an admin of account "linux"
And I use an authentication token
When I send a DELETE request to "//oci.pkg.keygen.sh/v2/linux/alpine/manifests/3.20.2"
@@ -73,7 +73,7 @@ Feature: OCI spec conformance
Then the response status should be "405"

@sp
Scenario: Endpoint should fail delete
Scenario: Endpoint should fail yank
Given I am an admin of account "linux"
And I use an authentication token
When I send a DELETE request to "//oci.pkg.keygen.sh/v2/alpine/manifests/3.20.2"