Skip to content

Commit

Permalink
A/B examples of manifests & references collection
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>
  • Loading branch information
SteveLasker committed Feb 4, 2021
1 parent 8760ac5 commit a56aaad
Show file tree
Hide file tree
Showing 31 changed files with 800 additions and 285 deletions.
41 changes: 0 additions & 41 deletions artifact-manifest/artifact-manifest-bicep.json

This file was deleted.

28 changes: 28 additions & 0 deletions artifact-manifest/artifact-manifest-mysql-image-sbom copy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"schemaVersion": 1,
"mediaType": "application/vnd.oci.artifact.manifest.v1+json",
"artifactType": "application/vnd.openssf.sbom.v1+json",
"config": {
"mediaType": "application/vnd.openssf.sbom.config.v1+json",
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
"size": 102
},
"blobs": [
{
"mediaType": "application/tar",
"digest": "sha256:9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0",
"size": 32654
}
],
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"size": 16724
}
],
"references": [],
"annotations": {
"openssf.sbom.author": "mysql"
}
}
28 changes: 28 additions & 0 deletions artifact-manifest/artifact-manifest-mysql-image-sbom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"schemaVersion": 1,
"mediaType": "application/vnd.oci.artifact.manifest.v1+json",
"artifactType": "application/vnd.openssf.sbom.v1",
"config": {
"mediaType": "application/vnd.openssf.sbom.config.v1+json",
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
"size": 102
},
"blobs": [
{
"mediaType": "application/tar",
"digest": "sha256:9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0",
"size": 32654
}
],
"manifests": [
{
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"size": 16724
}
],
"references": [],
"annotations": {
"openssf.sbom.author": "mysql"
}
}
26 changes: 14 additions & 12 deletions artifact-manifest/artifact-manifest-mysql-image-signature.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
{
"schemaVersion": 2,
"schemaVersion": 1,
"mediaType": "application/vnd.oci.artifact.manifest.v1+json",
"artifactType": "application/vnd.cncf.notary.v2",
"artifactType": "application/vnd.cncf.notary.v2+json",
"config": {
"mediaType": "application/vnd.cncf.notary.config.v2",
"mediaType": "application/vnd.cncf.notary.config.v2+json",
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
"size": 102
},
"blobs": [
{
"mediaType": "application/vnd.cncf.notary.v2.json",
"mediaType": "application/tar",
"digest": "sha256:9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0",
"size": 32654,
"reference": "registry.wabbitnetworks.io"
"size": 32654
}
],
"dependencies": [
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1",
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"size": 16724,
"artifact": "mysql:3.1"
"size": 16724
}
]
}
],
"references": [],
"annotations": {
"org.cncf.notary.v2.signature.subject": "docker.io"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"schemaVersion": 1,
"mediaType": "application/vnd.oci.artifact.manifest.v1+json",
"artifactType": "application/vnd.cncf.notary.v2+json",
"config": {
"mediaType": "application/vnd.cncf.notary.config.v2+json",
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
"size": 1303
},
"blobs": [
{
"mediaType": "application/tar",
"digest": "sha256:9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0",
"size": 32654
}
],
"manifests": [
{
"mediaType": "application/vnd.oci.image.index.v1.config+json",
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"size": 16724
}
],
"annotations": {
"org.cncf.notary.v2.signature.subject": "docker.io"
}
}
27 changes: 27 additions & 0 deletions artifact-manifest/artifact-manifest-wordpress-cnab-signature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"schemaVersion": 1,
"mediaType": "application/vnd.oci.artifact.manifest.v1+json",
"artifactType": "application/vnd.cncf.notary.v2+json",
"config": {
"mediaType": "application/vnd.cncf.notary.config.v2+json",
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
"size": 1303
},
"blobs": [
{
"mediaType": "application/tar",
"digest": "sha256:9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0",
"size": 32654
}
],
"manifests": [
{
"mediaType": "application/vnd.oci.image.index.v1.config+json",
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"size": 16724
}
],
"annotations": {
"org.cncf.notary.v2.signature.subject": "docker.io"
}
}
37 changes: 19 additions & 18 deletions artifact-manifest/artifact-manifest-wordpress-cnab..json
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
{
"schemaVersion": 2,
"schemaVersion": 1,
"mediaType": "application/vnd.oci.artifact.manifest.v1+json",
"artifactType": "application/vnd.cncf.cnab.v1",
"artifactType": "application/vnd.cncf.cnab.v1+json.",
"config": {
"mediaType": "application/vnd.cncf.cnab.config.v1+json",
"size": 0,
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7"
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
"size": 134
},
"blobs": [
{
"mediaType": "application/vnd.cncf.cnab.v1.tar",
"mediaType": "application/tar",
"digest": "sha256:9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0",
"size": 32654
},
{
"mediaType": "application/vnd.cncf.cnab.params.v1.json",
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"size": 16724
}
],
"manifests": [],
"references": [
{
"reference": "wordpress-chart:v5",
"mediaType": "application/vnd.cncf.helm.v1.config.json",
"digest": "sha256:5c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c82",
"size": 1510
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:8c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c31",
"size": 1578,
"annotations": {
"oci.distribution.artifact": "helm-cli:3"
}
},
{
"reference": "helm-cli:3",
"mediaType": "application/vnd.oci.image.manifest.v1.config.json",
"digest": "sha256:8c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c31",
"size": 1578
"mediaType": "application/vnd.oci.artifact.manifest.v1+json",
"digest": "sha256:5c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c82",
"size": 1510,
"annotations": {
"oci.distribution.artifact": "wordpress-chart:v5"
}

}
]
}
27 changes: 0 additions & 27 deletions artifact-manifest/artifact-manifest-wordpress-helm-signature.json

This file was deleted.

32 changes: 16 additions & 16 deletions artifact-manifest/artifact-manifest-wordpress-helm.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"schemaVersion": 2,
"schemaVersion": 1,
"mediaType": "application/vnd.oci.artifact.manifest.v1+json",
"artifactType": "application/vnd.cncf.helm.v3",
"artifactType": "application/vnd.cncf.helm.v3+json",
"config": {
"mediaType": "application/vnd.cncf.helm.config.v1+json",
"size": 0,
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7"
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
"size": 0
},
"blobs": [
{
"mediaType": "application/vnd.cncf.helm.chart.v1.tar",
"mediaType": "application/tar",
"digest": "sha256:9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0",
"size": 32654
},
{
"mediaType": "application/vnd.cncf.helm.values.v1.yaml",
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"size": 16724
}
],
"manifests": [],
"references": [
{
"reference": "wordpress:5.7",
"mediaType": "application/vnd.oci.image.manifest.v1.config.json",
"mediaType": "application/vnd.oci.image.manifest.config.v1+json",
"digest": "sha256:5c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c82",
"size": 1510
"size": 1510,
"annotations": {
"oci.distribution.artifact": "wordpress:5.7"
}
},
{
"reference": "mysql:8",
"mediaType": "application/vnd.oci.image.manifest.v1.config.json",
"mediaType": "application/vnd.oci.image.manifest.config.v1+json",
"digest": "sha256:8c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c31",
"size": 1578
"size": 1578,
"annotations": {
"oci.distribution.artifact": "mysql:8"
}
}
]
}
43 changes: 19 additions & 24 deletions artifact-manifest/artifact-manifest-wordpress-image-signature.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
{
"schemaVersion": 2,
"schemaVersion": 1,
"mediaType": "application/vnd.oci.artifact.collection.v1+json",
"artifactType": "application/vnd.cncf.notary.v2",
"artifactType": "application/vnd.cncf.notary.v2+json",
"config": {
"mediaType": "application/vnd.cncf.notary.config.v2",
"mediaType": "application/vnd.cncf.notary.config.v2+json",
"digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
"size": 0
"size": 120
},
"dependencies": [
"blobs": [
{
"mediaType": "application/vnd.cncf.notary.v2.json",
"refType": "blob",
"mediaType": "application/tar",
"digest": "sha256:9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0",
"size": 32654,
"reference": "registry.wabbitnetworks.io"
},
"size": 32654
}
],
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1",
"digest": "wordpress@sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"size": 16724,
"linkType": "hard|soft",
"linkType": "parent|child",
"reference": "/wordpress:5.7"
},
"links": [
{
"mediaType": "application/vnd.oci.image.index.v1.config.json",
"refType": "manifest",
"reference": "/wordpress:5.7"
}
]
"mediaType": "application/vnd.oci.image.index.v1.config+json",
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"size": 16724
}
],
"references": [],
"annotations": {
"org.cncf.notary.v2.signature.subject": "docker.io"
}
}
Loading

0 comments on commit a56aaad

Please sign in to comment.