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

Artifact registry support #65

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 7 commits
Commits
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
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ You can subscribe and browse the mailing list on [Google Groups][mailing-list].

OCI discussion happens on #opencontainers on [Freenode][] ([logs][irc-logs]).

## Slack

In addition to IRC, https://opencontainers.slack.com/ provides discussions with markdown formatting, with several channels enabling focused discussions.

Gain access to OCI Slack here: https://chat.opencontainers.org/

## Git

### Security
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Following sections give context for aspects of this specification:

### Registry Administrators

### Registry Operators

### Client Side Image Tools

### Container Image Pipeline
Expand Down
68 changes: 68 additions & 0 deletions artifactTypes/artifactMappingSchema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"description": "OpenContainer Artifact Type Mapping Specification",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://opencontainers.org/schema/artifactMapping",
"type": "object",
"properties": {
"mediaType": {
"type": "string",
"description": "Uniquely identifies the artifact for computer consumption.",
"minLength": 35,
"maxLength": 50
},
"title": {
"type": "string",
"description": "Represents the name of the type displayed for human consumption.",
"minLength": 5,
"maxLength": 30
},
"description": {
"type": "string",
"description": "Provides a short description of the type for human consumption.",
"minLength": 10,
"maxLength": 255
},
"url": {
"type": "string",
"description": "Provides additional details, intended for consumers of the type.",
"format": "url"
},
"spec": {
"type": "string",
"description": "References a spec, providing additional details on the type.",
"format": "url"
},
"tools": {
"type": "object",
"description": "Provides a collection of tools that may be used with artifact type.",
"properties": {
"title": {
"type": "string",
"description": "Represents the name of the tool, displayed for human consumption.",
"minLength": 5,
"maxLength": 30
},
"url": {
"type": "string",
"description": "Links to a page where users can download the tool.",
"format": "url"
}
}
},
"configSchemaReference": {
"type": "string",
"description": "provides a schema reference for the artifact config object.",
"format": "url"
},
"layerMediaTypes": {
"type": "object",
"description": "Represents one or more layer mediaTypes, defined by the artifact.",
"properties": {
"mediaType": {
"type": "string",
"description": "Represents a valid layer `mediaTypes`for the artifact."
}
}
}
}
}
19 changes: 19 additions & 0 deletions artifactTypes/vnd.cncf.helm.chart.1/artifactMapping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"mediaType": "application/vnd.cncf.helm.config.v1+json",
"spec": "https://github.com/helm/helm/blob/master/oci-artifact-mediatypes",
"title": "Helm Chart",
"description": "The package manager for Kubernetes",
"url": "https://helm.sh/",
"tools": [
{
"title": "Helm",
"url": "https://github.com/helm/helm#install"
}
],
"configSchemaReference": "",
"layerMediaTypes": [
{
"mediaType": "application/vnd.cncf.helm.chart.layer.v1.tar"
}
]
}
153 changes: 153 additions & 0 deletions artifactTypes/vnd.cncf.helm.chart.1/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions artifactTypes/vnd.oci.image.1/artifactMapping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"mediaType": "application/vnd.oci.image.config.v1+json",
"spec": "https://github.com/opencontainers/image-spec/blob/master/layer.md#gzip-media-types",
"title": "OCI Image",
"description": "OCI Image",
"url": "https://www.opencontainers.org/",
"tools": [
{
"title": "OCI Tools",
"url": "https://github.com/opencontainers/runtime-tools"
}
],
"configSchemaReference": "https://raw.githubusercontent.com/opencontainers/image-spec/master/schema/config-schema.json",
"layerMediaTypes": [
{
"mediaType": "application/vnd.oci.image.layer.v1.tar"
}
]
}
22 changes: 22 additions & 0 deletions artifactTypes/vnd.oci.image.1/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions artifactTypes/vnd.sylabs.sif.1/artifactMapping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"mediaType": "application/vnd.sylabs.sif.config.v1+json",
"spec": "https://github.com/sylabs/singularity",
"title": "Singularity Image",
"description": "High Performance Computing Singularity Image",
"url": "https://www.sylabs.io/singularity/",
"tools": [
{
"title": "Singularity CRI",
"url": "https://github.com/sylabs/singularity-cri"
}
],
"configSchemaReference": "",
"layerMediaTypes": [
{
"mediaType": "application/vnd.sylabs.sif.layer.v1.tar"
}
]
}
12 changes: 12 additions & 0 deletions artifactTypes/vnd.sylabs.sif.1/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading