Created
February 2, 2016 15:34
-
-
Save twaugh/cbb920475ace8450de1d to your computer and use it in GitHub Desktop.
This is the example Content Generator metadata for a v1+v2 import from running the test_koji_promote test (`py.test -k koji_promote -s`)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"build": { | |
"end_time": 1454339091, | |
"extra": { | |
"image": {} | |
}, | |
"name": "name", | |
"release": "1", | |
"source": "git://hostname/path#123456", | |
"start_time": 1437985440, | |
"version": "1.0" | |
}, | |
"buildroots": [ | |
{ | |
"components": [ | |
{ | |
"arch": "x86_64", | |
"epoch": 0, | |
"name": "name1", | |
"release": "1", | |
"sigmd5": "00000000000000000000000000000000", | |
"signature": "abcdef01234567", | |
"type": "rpm", | |
"version": "1.0" | |
}, | |
{ | |
"arch": "noarch", | |
"epoch": null, | |
"name": "gpg-pubkey-doc", | |
"release": "01234567", | |
"sigmd5": "00000000000000000000000000000000", | |
"signature": null, | |
"type": "rpm", | |
"version": "01234567" | |
}, | |
{ | |
"arch": "x86_64", | |
"epoch": 0, | |
"name": "name2", | |
"release": "2", | |
"sigmd5": "00000000000000000000000000000000", | |
"signature": "bcdef012345678", | |
"type": "rpm", | |
"version": "2.0" | |
} | |
], | |
"container": { | |
"arch": "x86_64", | |
"type": "docker" | |
}, | |
"content_generator": { | |
"name": "atomic-reactor", | |
"version": "1.6.1" | |
}, | |
"extra": { | |
"osbs": { | |
"build_id": "build-1", | |
"builder_image_id": "0123456" | |
} | |
}, | |
"host": { | |
"arch": "x86_64", | |
"os": "Fedora 24 (Rawhide) (containerized)" | |
}, | |
"id": 1, | |
"tools": [ | |
{ | |
"name": "docker-py", | |
"version": "1.5.0" | |
}, | |
{ | |
"name": "atomic_reactor", | |
"version": "1.6.1" | |
}, | |
{ | |
"name": "osbs-client", | |
"version": "0.15" | |
}, | |
{ | |
"name": "docker", | |
"version": "1.9.0-dev-fc24" | |
} | |
] | |
} | |
], | |
"metadata_version": 0, | |
"output": [ | |
{ | |
"arch": "noarch", | |
"buildroot_id": 1, | |
"checksum": "5075e1d8e3ba4db21ca3f927a30a95b2", | |
"checksum_type": "md5", | |
"filename": "build.log", | |
"filesize": 17, | |
"type": "log" | |
}, | |
{ | |
"arch": "noarch", | |
"buildroot_id": 1, | |
"checksum": "6caa228ac58d3f2ef2d74908a03395de", | |
"checksum_type": "md5", | |
"filename": "openshift-final.log", | |
"filesize": 10, | |
"type": "log" | |
}, | |
{ | |
"arch": "x86_64", | |
"buildroot_id": 1, | |
"checksum": "20439f79e4e9dc95be34b21029221f80", | |
"checksum_type": "md5", | |
"components": [ | |
{ | |
"arch": "x86_64", | |
"epoch": 0, | |
"name": "name1", | |
"release": "1", | |
"sigmd5": "00000000000000000000000000000000", | |
"signature": null, | |
"type": "rpm", | |
"version": "1.0" | |
}, | |
{ | |
"arch": "x86_64", | |
"epoch": 0, | |
"name": "name2", | |
"release": "1", | |
"sigmd5": "00000000000000000000000000000000", | |
"signature": null, | |
"type": "rpm", | |
"version": "2.0" | |
} | |
], | |
"extra": { | |
"docker": { | |
"id": "123456imageid", | |
"parent_id": "123456parent-id", | |
"repositories": [ | |
"pulp.example.com/ns/name:1.0-1", | |
"pulp.example.com/ns/name@sha256:0000000000000000000000000000000d" | |
] | |
}, | |
"image": { | |
"arch": "x86_64" | |
} | |
}, | |
"filename": "docker-v1-image-123456imageid.x86_64.tar.xz", | |
"filesize": 4096, | |
"type": "docker-image" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment